Download MetaTrader 5
To add comments, please log in or register
Do you need a trading robot? Orderit via Freelance service!
sharehunk
8
sharehunk 2016.02.09 11:34 

Hi,

 

Appreciate if any of the great coding minds here can write a code to do the following simple moving average function

 

Change the bars color 

Green - SMA 5 > SMA 15    &    SMA 5 > SMA 30

Red  -   SMA 5< SMA 15     &    SMA 5 < SMA 30

Yellow - SMA 5 > SMA 15   &   SMA 5 < SMA 30 

 

 Thanks.

 

SH. 

Alain Verleyen
Moderator
30635
Alain Verleyen 2016.02.11 13:31  
/
To add comments, please log in or register