Unisciti alla nostra fan page
- Pubblicati da::
- Vladimir Karputov
- Visualizzazioni:
- 3227
- Valutazioni:
- Pubblicato:
- 2017.03.02 12:11
- Aggiornato:
- 2018.02.15 18:03
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
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:
if((iClose(3)>iClose(2)) && (iClose(1)<iClose(2)))
.
.
.
//--- SELL
if((iClose(3)>iClose(2)) && (iClose(2)<iClose(1)))
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/17475
![10pipsOnceADayOppositeLastNHourTrend](https://c.mql5.com/i/code/expert.png)
10 pips per day opposite to the "yesterday's trend".
![SmoothAlgorithms](https://c.mql5.com/i/code/library.png)
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](https://c.mql5.com/i/code/expert.png)
Modification of StopLoss of any positions. Trailing. Trailing.
![TriXCandleKeltner](https://c.mql5.com/i/code/indicator.png)
The TriX indicator in a candlestick form with the Keltner channel calculated relative to TriX averaging.