Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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);