when to load indicators to chart

 

Something i don't understand is when do you load indicators to a chart, is there a reason for it? Is it to make the expert advisor less harder working than to load the indicators from the indicators folder? And is there a difference for loading indicators in the way the expert advisor is written?

Miraka.

 

I'm not quite sure I understand your question . . .

An EA will access data produced by an Indicator (held in it's buffers) using iCustom. There is no need to add the Indicators to the chart before putting the EA on a chart.

 

Indicators on chart are for the human.

EA's load their own via iMA, iRSI, iCustom, etc using the EA's parameters.

Only if the chart indicator and its parameters exactly match the EA's call will the two be shared.

 

Oke. I never use ' I…'.

i use, ' extern int dUseTrendfilter(x…)' in my expert advisor. How can i on a easy way change my settings in the expert advisor to the 'I…' settings?

 
miraka1210:
i use, ' extern int dUseTrendfilter(x…)' in my expert advisor.
No you don't. The syntax is extern type VARIABLENAME = value; Extern int whatever(x...) will not compile.
Reason: