Download MetaTrader 5

Change ChartIndicatorAdd Chart Color

To add comments, please log in or register
Interested in Signals activity? Come and track!
choongay
10
choongay 2016.04.26 08:22 

Hi, any possibility to change the chart color displayed by function "ChartIndicatorAdd"?


Thank you.


int EMA_HIGH_20_Handle = iMA(_Symbol,_Period,20,MAShift,MODE_EMA,PRICE_HIGH);  <-- This should be Color of BLUE and the style as STYLE_DOT

ChartIndicatorAdd(ChartID(), 0, EMA_HIGH_20_Handle);

int EMA_LOW_20_Handle = iMA(_Symbol,_Period,20,MAShift,MODE_EMA,PRICE_LOW); <-- This should be Color of RED and the style as STYLE_DOT

ChartIndicatorAdd(ChartID(), 0, EMA_LOW_20_Handle);

Alain Verleyen
Moderator
30707
Alain Verleyen 2016.04.26 10:38  
It's not possible.
To add comments, please log in or register