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

NRTR_Revers - MetaTrader 5 Expert | Forex Indicators Download - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

Idea comes from: screenwriter

Code mq5: Barabashkakon

The EA only works when a new bar appears (except for tracking which is active on every price move). Trading signals are formed based on the analysis of the highest and lowest prices within a range based on the indicator iATR (Average True Range, ATR).

First, the volatility range ( different ) is calculated by multiplying the indicator ATR value on bar #1 by the "volatility coefficient". We then perform calculations based on current trends.

If the current trend is buy:

  • We find the minimum value in the interval from bar #2 to the ATR average period minus 1. Assume "ATR: Average Period" is 9. Then we will search for the minimum value in the interval from bar #2 to bar #8
  • If the closing price of bar #1 is different than the lowest price found - this is a signal to close the buy position and open the sell position.
  • The current trend is set to "Sell":

The same is true for sell positions.


Attachment download

📎 nrtr_revers.mq5 (46.41 KB)

Source: MQL5 #22718

Verification code Refresh