Author of the idea — Skoch, author of the MQL5 code — barabashkakvn.
Opens a SELL position on each bar, if Close of the 1st bar > Close of the 3rd bar. Opens a BUY position on each bar, if Close of the 3rd bar > Close of the 1st bar.
If you want to change the order opening condition, it can be easily done by changing the condition in just one line:
Tradotto dal russo da MetaQuotes Ltd.
Codice originale /ru/code/17475
10pipsOnceADayOppositeLastNHourTrend
10 pips per day opposite to the "yesterday's trend".
SmoothAlgorithms
A library of averaging algorithms, the algorithms were described in details in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers"
e-Smart_Trailing
Modification of StopLoss of any positions. Trailing. Trailing.
TriXCandleKeltner
The TriX indicator in a candlestick form with the Keltner channel calculated relative to TriX averaging.