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:
- 3940
- Derecelendirme:
- Yayınlandı:
- 2018.06.18 12:34
-
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git
Idea by: Scriptor.
MQL5 code by: Vladimir Karputov.
Working with pending orders Buy Stop and Sell Stop. A channel of two indicators iMA (Moving Average, MA).
Input parameters
- Take Profit - Take Profit;
- Trailing Stop - trailing;
- Trailing Step - trailing step;
- Lots - lot size is set manually (a NECESSARY CONDITION: Risk must be equal to zero!);
- Risk - lot size is calculated automatically, in risk percents per trade (a NECESSARY CONDITION: "Lots" must be equal to zero!);
- Difference - offsets from the channel borders;
- Expert Every Tick - enable/disable working on every tick;
- MA PRICE_HIGH and PRICE_LOW: averaging period - indicators averaging period;
- MA PRICE_HIGH and PRICE_LOW: horizontal shift - indicators horizontal shift;
- MA PRICE_HIGH: smoothing type - averaging type for indicator calculated by High prices;
- MA PRICE_LOW: smoothing type - averaging type for indicator calculated by Low prices;
- magic number - unique identifier for the EA.
Trading idea: Forming a channel of two indicators iMA (Moving Average, MA) - one based on prices PRICE_HIGH and another one on PRICE_LOW. Pending Buy Stop and Sell Stop orders are placed at the channel boarders. The calculation is on the break-through (catching a strong movement).
The EA can work in modes: On every tick and only when a new bar appears. The mode is defined by parameter Expert Every Tick. An example of how parameter Expert Every Tick affects the EA operation, exemplified by EURUSD,D1:
Please note that this strategy may have dead seasons, i.e., the times without any entrances, the period of no rollbacks for a currency pair:
MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/20844
![BrainTrend2Stop_HTF](https://c.mql5.com/i/code/indicator.png)
Indicator BrainTrend2Stop with the timeframe selection option available in input parameters.
![BrainTrend2_V2](https://c.mql5.com/i/code/indicator.png)
Indicator BrainTrend2 that generates alerts and sends e-mails and Push-messages when the indicator changes its color.
![Modified Moving Averages](https://c.mql5.com/i/code/expert.png)
A slightly modified EA from the standard delivery: MQL5\Experts\Examples\Moving Average\Moving Average
![DI](https://c.mql5.com/i/code/indicator.png)
Oscillator DI (Damping Index) is designed for identifying the damping of the directed market movement.