Is it possible to color the candles in program?

Back to topics list To post a new topic, please log in or register
avatar
43
asuralm 2015.04.05 17:36
 

Hi:

 

Is it possible to color the candles in program? for example, if the candle close is above 20 Moving Average, I want to color the filled bull bar in blue and bear bar in a blank blue bar. If the price is above 20 MA, color it into a filled red bar for a bear bar and blank red bar for a bull bar. 

 

I see how Heiken Ashi does it but it's not quite what I wanted. 

 

Any ideas please?

 

Thanks 

avatar
12985
WHRoeder 2015.04.05 19:57 #
 
asuralm: Is it possible to color the candles in program? for example, if the candle close is above 20 Moving Average, I want to color the filled bull bar in blue and bear bar in a blank blue bar. If the price is above 20 MA, color it into a filled red bar for a bear bar and blank red bar for a bull bar.
Raghee Horner's Grab indicator does exactly that. Three colors above MA, Below MA, crossing.
avatar
43
asuralm 2015.04.06 03:48 #
 
WHRoeder:
Raghee Horner's Grab indicator does exactly that. Three colors above MA, Below MA, crossing.
thanks. The indicator is very good. However, it seems just a histogram overlap the candle. Is it possible to program the candle color directly?
avatar
12985
WHRoeder 2015.04.06 14:22 #
 
not in mt4
avatar
34
nerd-fold_12 2015.04.15 12:24 #
 
yeah it is possible ... and i think some indicators will help you in this .
avatar
12985
WHRoeder 2015.04.15 19:27 #
 
nerd-fold_12: yeah it is possible ... and i think some indicators will help you in this .
What function do you think exists, to color individual candles, in mt4? Alphabetic Index of MQL4 Functions (600+) - MQL4 forum
Back to topics list  

To add comments, please log in or register