The indicator has to be written so that the timeframe can be specified as an input parameter -- example extern int TimeFrame = 240;
Then you call that indicator from the EA using iCustom() and provide the desired higher timeframe as a parameter.
iCustom(NULL, timeFrame...) will do it. Indicator doesn't need to change.
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
If i want a indicator in a EA to read frome the higher timeframe how do i code that?
if (iCustom(NULL, 0, "TriggerLinesAlert", 1, 15, 3, 5, 5)