Indicator Line

 
Hello,

How do I convert my custom indicator (MySignal) into iMySignal? just like the sample EA MACD uses the iMACD version of the MACD?

Thank you for your Time
EK
 
Emerald King,

double iCustom( string symbol, int timeframe, string name, ... , int mode, int shift)


Calculates the Custom indicator and returns it's value.

Parameters

symbol - Symbol on that data need to calculate indicator. NULL means current symbol.
timeframe - Time frame, by default used current chart period. It can be any one of Time frame enumeration values.
name - Custom indicator compiled program name.
... - Parameters set (if needed).
mode - Line index. Can be from 0 to 7.
shift - Shift relative to the current bar (number of periods back), where the data is to be taken from.

Sample

double val;
val = iCustom(NULL, 0, "SampleInd",13,1,0);


Cheers
Martin
 
Hello Martin,

Thanks for the Info that really helps now I can work it out :)

Have a Great Day
EK
Reason: