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:
- 3073
- Derecelendirme:
- Yayınlandı:
- 2017.11.03 12:21
- Güncellendi:
- 2018.02.27 15:25
-
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git
Author of the idea: Yuri, mq5 code author: barabashkakvn.
Description of generation of position open signals:
- Stoh_main_1 - the value of Stochastic Oscillator on bar #1.
- InpStochasticLevel - input for Stochastic level.
- AC_1 - the value of Accelerator Oscillator on bar #1.
- ACPrev_2 - the value of Accelerator Oscillator on bar #2.
BUY signal - when Stochastic Oscillator on bar #1 is greater than the Stochastic level input and Accelerator Oscillator on bar #1 is greater than Accelerator Oscillator on bar #2. In this case, Accelerator Oscillator on bar #1 should be above zero, and Accelerator Oscillator on #2 should be below zero:
if(Stoh_main_1>InpStochasticLevel && AC_1>ACPrev_2 && AC_1>0 && ACPrev_2<0 && count_buys==0) ...
SELL signal - when Stochastic Oscillator on bar #1 is less than the Stochastic level input and Accelerator Oscillator on bar #1 is less than Accelerator Oscillator on bar #2. In this case, Accelerator Oscillator on bar #1 should be below zero, and Accelerator Oscillator on #2 should be above zero:
if(Stoh_main_1<InpStochasticLevel && AC_1<ACPrev_2 && AC_1<0 && ACPrev_2>0 && count_sells==0) ...
An example of a SELL signal:
When a signal is received, we open five positions with the same lot. The first position has Stop Loss and Take Profit equal to zero. All subsequent positions have equal Stop Loss and each one has an increasing Take Profit with the step of the input Take Profit (in pips).
Testing results on all symbols on PERIOD_D1:
MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/18827
![Trade in Channel](https://c.mql5.com/i/code/expert.png)
The Price Channel trading system.
![Mikahekin_System](https://c.mql5.com/i/code/indicator.png)
The indicator implements a breakout system using the Mikahekin indicator channel.
![Nevalyashka](https://c.mql5.com/i/code/expert.png)
We open a new position opposite to the previous one. Inputs only contain Stop loss, Take Profit and the minimum lot.
![KoliErBands](https://c.mql5.com/i/code/indicator.png)
Another version of Bollinger Bands using as the middle line the average of the High and Low over a selected period.