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
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
Thanks for the Info that really helps now I can work it out :)
Have a Great Day
EK
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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