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:
- 29014
- Derecelendirme:
- Yayınlandı:
- 2014.05.13 10:06
- Güncellendi:
- 2016.11.22 07:32
-
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git
A trading system that uses the XD-RangeSwitch semaphore, signal indicator.
Trade decisions are made when colored arrow appear, if their direction is the same as the direction of deals or opposite to it.
input Mode Direct=FalshDirect; // Trade direction
Note that the TradeAlgorithms.mqh library file allows using Expert Advisors with brokers who offer nonzero spread and the option of setting Stop Loss and Take Profit together with position opening. You can download more variants of the library at the following link: TradeAlgorithms.
The Expert Advisor requires the compiled file of the indicator XD-RangeSwitch.ex5. Place it to terminal_data_folder\MQL5\Indicators.
Figure 1 The instances of history of deals on the chart.
Testing results for 2013 at EURUSD H4:
Figure 2. Chart of testing results
MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/2274

Like period Separator each new day will gets its vertical line at starting. With several options how to display

The XD-RangeSwitch indicator with the timeframe selection option available in input parameters.

The indicator draws candlesticks of a larger timeframe as color filled rectangles in accordance with the values of the XD-RangeSwitch indicator.

The trend indicator made as NRTR (Nick Rypock Trailing Reverse).