Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

NRTR_Revers - expert for MetaTrader 5

Published by:
Vladimir Karputov
Views:
3895
Rating:
(18)
Published:
2018.12.28 13:08
Updated:
2019.01.17 11:29
NRTR_Revers.mq5 (46.41 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Idea by: Scriptor

Code mq5 by: barabashkakvn

The EA is only working at the moment when a new bar appears (except for trailing that is active at each tick). Trade signals are formed based on indicator iATR (Average True Range, ATR) on the analysis of the High and the Low of prices within the interval.

First, the volatility range (different) is found: The value of indicator ATR on bar #1 is multiplied by "Coefficient of volatility." Then we calculate depending on the current trend.

If the current trend is BUY:

  • We find the minimum within the interval from bar #2 to the ATR averaging period minus 1. Suppose "ATR: averaging period" is 9. Then we will search for the minimum within the interval from bar #2 to bar #8
  • If the Close price of bar #1 is below the found minimum by different - it is a signal to close BUY positions and open SELL positions. 
  • The current trend is set to "SELL:

The same is done for SELL positions.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/22718

CandleMidPoint CandleMidPoint

Indicator Candle's Middle Point

CandleColorMidPoint CandleColorMidPoint

Indicator Colored Middle Point of Candles

VZO VZO

Indicator VZO

RJTX_Matches_Smoothed_Alert_xx RJTX_Matches_Smoothed_Alert_xx

Indicator RJTX_Matches_Smoothed_Alert featuring alerts, emails and push notifications for smartphones. The input variables allow replacing the displayed indicator symbols