Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Viral (over 1 million views) 4-hour range strategy coded and tested - MetaTrader 5 Expert

author EAcpu | 5 reads | 0 comments |

Viral (1M+ views) 4 Hour Range Strategy coded and tested - expert for MetaTrader 5

Viral (1M+ views) 4 Hour Range Strategy coded and tested - expert for MetaTrader 5

Provided for educational purposes; not trading advice. Backtesting EURUSD under my conditions is unprofitable.

The strategy follows the following logic:

This strategy does not follow one vague rule regarding order blocks. To avoid placing trades after the price has gone too far out of the range, a time filter has been introduced whereby if the price remains above the high or below the low for more than 75 minutes, the trade will be marked as invalid.

The most important thing is to specify your own broker's GMT offset time and the date to switch from daylight saving time to winter time (or vice versa). Since the strategy is based on local New York time, any error in it could negate the effect of the entire strategy.

The following are the input parameters for the strategy:

The following are the EURUSD backtest results:

Viral (1M+ views) 4 Hour Range Strategy coded and tested - expert for MetaTrader 5

Viral (1M+ views) 4 Hour Range Strategy coded and tested - expert for MetaTrader 5


Attachment download

📎 DataTraderH4Breakout.mq5 (10.96 KB)

Source: MQL5 #68082

Verification code Refresh