Fan sayfamıza katılın
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
- Yayınlayan:
- Vladimir Karputov
- Görüntülemeler:
- 6217
- Derecelendirme:
- Yayınlandı:
- 2018.06.16 10:29
-
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git
Idea by: Dmitry Tolmachev.
MQL5 code by: Vladimir Karputov.
Assistant EA: It moves the positions to a breakeven, after which trailing is enabled.
It only has three parameters
- Trailing Stop (in pips) - trailing;
- Trailing Step (in pips) - trailing step, which is also the level, to which the Stop Loss is moved to a breakeven;
- magic number - unique identifier for the EA.
Examples below shows how to work with default parameters:
MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/20636
![TwoBarsComparison](https://c.mql5.com/i/code/expert.png)
The EA compares the opening prices of the zeroth and the second bar. It moves positions to a breakeven and/or enables trailing.
![exp_Amstell](https://c.mql5.com/i/code/expert.png)
The EA uses a virtual Take Profit for closing gaining positions. Opening positions with a step. Catch the type of the last position and its price in OnTradeTransaction.
![e-News-Lucky](https://c.mql5.com/i/code/expert.png)
The Expert Advisor places pending Buy Stop and Sell Stop orders. If orders execute, the trailing stop is run for the positions.
![SSL2](https://c.mql5.com/i/code/indicator.png)
Two different-period indicators SSL, implemented as a colored cloud.