Fan sayfamıza katılın
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
- Görüntülemeler:
- 4704
- Derecelendirme:
- Yayınlandı:
- 2013.01.07 15:45
- Güncellendi:
- 2023.03.29 13:42
-
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git
The Exp_VininI_Trend_LRMA trading system is based on changes of the trend direction displayed by the VininI_Trend_LRMA indicator.
The signal is formed when a bar is closing depending on the chosen algorithm of forming signals with the input parameter:
input AlgMode Mode=BREAKDOWN; //the algorithm to enter the market
Two variants of the algorithm are possible:
- The breakthrough of UpLevel and DnLevel levels of the indicator;
- Change of the indicator direction.
To eliminate triggering of the Expert Advisor on the flat the ChangeOfVolatility volatility indicator must be added into this Expert Advisor which level determines whether there is enough trend force to open position. Deals filtering performs by the input parameter of this indicator:
input uint MaxTrendLevel=60; // Trend level enough to make a deal (the range is 0/100)
The deals filtering carried out only by the entry, exits are without filtering.
Place VininI_Trend_LRMA.ex5 and ChangeOfVolatility.ex5 compiled files to the terminal_data_folder\MQL5\Indicators.
The Exp_VininI_Trend_LRMA_ Expert Advisor is the same Expert Advisor but without use of volatility indicator!
Default Expert Advisor's input parameters have been used during the tests shown below. Stop Loss and Take Profit have not been used during the tests.
Fig. 1. The instances of history of deals in the chart.
Testing results for 2011 at USDCHF H4:
Fig. 2. Chart of testing results
MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/1366
![ytg_Japan_Candles](https://c.mql5.com/i/code/indicator.png)
The indicator of the candlesticks combinations (Japanese candlesticks)
![The class for drawing the Stochastic using the ring buffer](https://c.mql5.com/i/code/indicator.png)
The class is designed for calculation the technical indicator Stochastic Oscillator (Stochastic Oscillator) using the algorithm of the ring buffer.
![Breakout Bars Trend v2](https://c.mql5.com/i/code/indicator.png)
The second (edited and added) version of the alternative indicator for trend definition based on the breakthrough bars and distance from extremums. The breakthrough levels and size of the previous trends are added.
![The simplified class of the CArrayRing256 ring buffer](https://c.mql5.com/i/code/library.png)
The class is the simplified version of the CArrayRing class: it has a predetermined fixed size of 256 elements, it is faster, and allows to organize the mini time series, indicator minibuffers, short sized buffers to store intermediate stream data inside the Expert Advisor or indicator.