Rejoignez notre page de fans
- Publié par:
- Vladimir Karputov
- Vues:
- 5921
- Note:
- Publié:
- 2017.03.22 15:57
- Mise à jour:
- 2018.02.22 13:51
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Author of the idea — Yury Reshetov, author of the mq5 code — barabashkakvn.
This is another kind of Martingale, because the Expert Advisor tries to fight back, expecting that the losing series will be replaced by a winning series.
Expert Advisor Input Parameters:
- ma_period_DeMarker — DeMarker oscillator period. Optimized with the values from 3 to 100 with step of 1.
- TakeProfit — take profit in pips. Optimized with the values from 10 to 100 with step of 1.
- StopLoss — stop loss in pips. Optimized with the values from 10 to 100 with step of 1.
- lots — lot size of the first order and all orders opened after a losing trade. The parameter is not optimized.
- losseslimit — limit the number of losing trades in a row. The parameter is not optimized. In case the number of losses reaches a limit, the EA stops opening new trades and sends a message e-mail.
- fastoptimize — fast optimization. The parameter is not optimized. If this parameter is true, then the built-in trading system will be optimized fast without using money management. During fast optimization, optimization and testing results will be different.
The EA works only at newly formed bars and open prices. There is no need to optimize it using Every tick mode.
Testing in the "Every tick based on real ticks" mode
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/17564
![Get trend](https://c.mql5.com/i/code/expert.png)
Short-term trends. Two iMA indicators, one iStochastic.
![Precision trend (histo)](https://c.mql5.com/i/code/indicator.png)
Precision trend (histo).
![AutoFibAutoTrend_NRTR_ZigZag](https://c.mql5.com/i/code/indicator.png)
The indicator plots price channel and Fibonacci levels based on the latest NRTR_ZigZag peaks
![AutoFibAutoTrend_NRTR_extr_ZigZag](https://c.mql5.com/i/code/indicator.png)
The indicator plots price channel and Fibonacci levels based on the latest NRTR_extr_ZigZag peaks