Alım-satım robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Facebook üzerinde bulun!
Fan sayfamıza katılın
Komut dosyasını ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Komut dosyasını beğendiniz mi? MetaTrader 5 terminalinde deneyin
Uzman Danışmanlar

SupportResistTrade - MetaTrader 5 için Uzman Danışman

Yayınlayan:
Vladimir Karputov
Görüntülemeler:
10582
Derecelendirme:
(34)
Yayınlandı:
2017.03.22 16:00
Güncellendi:
2018.06.26 12:53
MQL5 Freelance Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

Author of the idea — Oleksandrauthor of the MQL5 code — barabashkakvn

Before opening\closing a position, a simple market analysis is performed, which determines the support\resistance levels, as well as the trend direction — bullish or bearish.

Support and resistance levels are calculated using the last numBars bars.

Trend is determined using the Moving Average indicator (its period is specified in the maPeriod parameter): if the price is below the MA, there is bearish trend, otherwise it is bullish.

If the trend is defined as bullish, a position is opened at a breakout of the resistance level.

If the trend is bearish, a position is opened at a breakout of the support level.

The position is closed by StopLoss, which is set at the support (for a long position) or resistance (for a short position) level. It is also possible to close a position at the breakout of the support (if a long position is open and it is in breakeven) or resistance (if a short position is open and it is in breakeven) level. The Expert Advisor uses a primitive TrailingStop with the levels at 10, 20, 30 points.

MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/17568

MomentumCandleKeltner MomentumCandleKeltner

Keltner Channel built relative to the average value of the MomentumCandle oscillator as a sequence of candlesticks

AutoFibAutoTrend_NRTR_extr_ZigZag AutoFibAutoTrend_NRTR_extr_ZigZag

The indicator plots price channel and Fibonacci levels based on the latest NRTR_extr_ZigZag peaks

HistorySelectByPosition HistorySelectByPosition

An example of using HistorySelectByPosition (based on the HistoryDealGetTicket use example).

OsMACandleKeltner OsMACandleKeltner

Keltner Channel built relative to the average value of the OsMACandle oscillator as a sequence of candlesticks