Download MetaTrader 5
To add comments, please log in or register
Having troubles understanding the code? Articles can help you!
James Roberts
1257
James Roberts 2016.08.02 18:19 

I am trying to use this Indicator in an EA, but it appears that it fills one buffer with each color depending on whether the indicator is ascending or descending. I need it to change between two buffers when it ascends or descends like every indicator I have ever seen written in MQL4. any help is greatly appreciated.

 

James 

Files:
colorhma.mq5 7 kb
Alain Verleyen
Moderator
28701
Alain Verleyen 2016.08.06 12:42  
James Roberts:

I am trying to use this Indicator in an EA, but it appears that it fills one buffer with each color depending on whether the indicator is ascending or descending. I need it to change between two buffers when it ascends or descends like every indicator I have ever seen written in MQL4. any help is greatly appreciated.

 

James 

Why do you need 2 buffers for values ?

By the way, you already have 2, one for values, one for colors.

/
To add comments, please log in or register