molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming

AFTER YOU REGISTER SEND US AN EMAIL TO ACTIVATE YOUR ACCOUNT - Before posting:-1- Please read the user guide -2- Try the examples -3- Search in the forum
It is currently Fri May 03, 2024 6:54 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Difference between Bands on TIB
PostPosted: Thu Jun 27, 2013 8:16 am 
Offline

Joined: Wed Feb 29, 2012 5:53 pm
Posts: 31
i want to creat custom indicator on the TIB that based on the difference in pips between upper and lower bollinger bands for example: upper band - lower band) then i want to import this to SB and put a condition if the difference is higher than or equal 10 pips on usdyen pair for example.
so pls advice how can i create this equation on tib??
Thanks


Top
 Profile  
 
 Post subject: Re: Difference between Bands on TIB
PostPosted: Thu Jun 27, 2013 6:00 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
In the TIB use the indicator option to add indicator, select the bollinger one and:
Use mode = Mode_upper for the upper band, and mode_lower for the lower band.
Build an equation like iBands using mode_upper- iBands using mode_lower, if you only want the positive value you may want to add MathAbs as in MathAbs(iBands using mode_upper- iBands using mode_lower) - this will show the difference in price. To get pips value you need to divide accordingly i.e. 0.1234 is 12 pips for JPY pairs but 1234 for EURUSD
After that you go to the Strategy Builder and import the indicator using a TA or TA+ icon (use custom indicator option)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by Molanis © 2009