It should work on other currency pairs quite simply, just use Symbol() in place of all your currency pair names.
Another difference between currency pairs might be the size of a point, so make sure to check that if you need to.
Similarly with timeframes you can use Period() in place of timeframes, although i'm not sure how to help you otherwise.
- Jay Tolar: Symbol() in place of all your currency pair names. Similarly with timeframes you can use Period() in place of timeframes,
You have it backwards. He wants other symbols/TF.
- maniun: but it only works on one currency pair. How can I make it work on different timefrimes and many other instruments ?You can't use any Predefined Variable for other symbols/TFs.
-
"Doesn't work" is meaningless — just like saying the car doesn't work. Doesn't start, won't go in gear, no electrical, missing the key, flat tires — meaningless.
How To Ask Questions The Smart Way. 2004
When asking about codeDo you really expect an answer? There are no mind readers here and our crystal balls are cracked.
Always post all relevant code.
How To Ask Questions The Smart Way. 2004
Be precise and informative about your problemWe can't see your broken code.
Fix your broken code.
-
On MT4: Unless the chart is that specific symbol(s)/TF(s) referenced, you must handle 4066/4073 errors before accessing candle/indicator values.
Download history in MQL4 EA - Forex Calendar - MQL4 programming forum - Page 3 #26 № 4 2019.05.20
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
the question may be funny to someone , but ...... I created an indicator but it only works on one currency pair. How can I make it work on different timefrimes and many other instruments ?
Anyone could help me ?
Thanks :)