Download MetaTrader 5

separating colors into two separate buffers

To add comments, please log in or register
Added support for the Spanish language. Come and check it out!
James Roberts
1252
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
30721
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