Rejoignez notre page de fans
- Publié par:
- Vladimir Karputov
- Vues:
- 3189
- Note:
- Publié:
- 2017.03.02 12:11
- Mise à jour:
- 2018.02.15 18:03
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur 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)))
Traduit du russe par MetaQuotes Ltd.
Code original : 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.