- Is it possible to...(Script/Indicator question)
- initialize the EA Changing from timeframe to another
- Is it possible to make an EA switch the timeframe it trades on automatically? Or would this have to be manually done?
Hi,
You don't need that as you can get all the values of different timeframes by integrated functions, see: https://www.mql5.com/en/docs/function_indices.
E.g. CopyBuffer() for indicators and CopyRates() for the quotes.

- www.mql5.com
You don't need that as you can get all the values of different timeframes by integrated functions, see: https://www.mql5.com/en/docs/function_indices.
E.g. CopyBuffer() for indicators and CopyRates() for the quotes.
Thank you for the response. I will check the articles.
Not possible with US brokers, due to FIFO rules.
Since 2009, hedging is not permitted for US traders.
NFA Enforces FIFO Rule, Bans Forex Hedging in US Forex Accounts - Trading Heroes (2016)
FAQ: FIFO in the Forex Market - BabyPips.com (2011)
"Hedging" in Forex trading -Why do it? - Trading Systems - MQL5 programming forum (2017)

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use