Set indicator color from EA?

 

Hi,

is it possible to set indicator color from EA?

Indicator is added to the the chart from EA by the ChartIndicatorAdd(0,0,indicatorHandle) method.

Thanks for help

Peter

Documentation on MQL5: Chart Operations / ChartIndicatorAdd
Documentation on MQL5: Chart Operations / ChartIndicatorAdd
  • www.mql5.com
Chart Operations / ChartIndicatorAdd - Documentation on MQL5
 
Did you also experience that iCustom indicators are not displayed in the chart after the Strategy tester run (all other iMA, iStoch are in it) ?

I use this method: 

customHandle      = iCustom(NULL,0,"Indicator",1,Dlouhy,false);

Petr

Documentation on MQL5: Technical Indicators / iCustom
Documentation on MQL5: Technical Indicators / iCustom
  • www.mql5.com
Technical Indicators / iCustom - Documentation on MQL5