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 Sat May 11, 2024 1:18 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: BB Modes Support
PostPosted: Sun Sep 09, 2012 3:26 am 
Offline

Joined: Mon Dec 26, 2011 5:41 am
Posts: 46
Hi, I am trying to write a strategy that uses the middle band of BB. The strategy builder has 2 x modes only for BB. The indicator in MT4 draws 3 BB lines. How do I refer to the middle part of BB for a condition using Molanis :?: Thank You


Top
 Profile  
 
 Post subject: Re: BB Modes Support
PostPosted: Tue Sep 11, 2012 9:25 am 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
In mt4 bollinger only has 2 lines that can be use in eas:upper and lower value

-Indicator line identifiers used in iBands(), iEnvelopes(), iEnvelopesOnArray(), iFractals() and iGator() indicators.
Constant Value Description
MODE_UPPER 1 Upper line.
MODE_LOWER 2 Lower line.

The 3rd line is a moving average. Just add a ma indicator with the same period and use that one.


Top
 Profile  
 
 Post subject: Re: BB Modes Support
PostPosted: Wed Sep 12, 2012 3:46 am 
Offline

Joined: Mon Dec 26, 2011 5:41 am
Posts: 46
admin wrote:
The 3rd line is a moving average. Just add a ma indicator with the same period and use that one.


Just used the MA and it follows the middle line of BB on the dot. Can move forward using this strategy now. Thank you :)


Top
 Profile  
 
 Post subject: Re: BB Modes Support
PostPosted: Thu Dec 13, 2012 11:56 am 
Offline

Joined: Sat Dec 08, 2012 5:53 am
Posts: 1
hi I need help with my EA.

if close higher upper line of BB go short
if close lower lower line of BB go long

i try to create an indicator to get the upper and lower line.

upper line = SMA(20) + 2*SMA (20)
lower line = SMA(20) - 2*SMA (20)

but the indicator dosen´t work....could you help me please!


Top
 Profile  
 
 Post subject: Re: BB Modes Support
PostPosted: Fri Dec 21, 2012 7:44 pm 
Offline
Site Admin

Joined: Fri Oct 16, 2009 3:40 pm
Posts: 451
Please start a new thread and post your .moi file indicators. Also describe the issue in detail. It is really difficult to help if you only say it does not work - we need more info (what are you doing, what output you see, etc)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 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