Ticaret robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Twitter ü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

Rollback system - MetaTrader 5 için Uzman Danışman

Yayınlayan:
Vladimir Karputov
Görüntülemeler:
3340
Derecelendirme:
(16)
Yayınlandı:
2018.10.25 18:38
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

The author of the idea - Scriptor

mq5 code author - barabashkakvn

Defining the channel width (Channel Open Close) for a previous day. If the channel width is sufficient, then the amount of roll-back is determined (Rollback AND Channel Rollback). Drawing OBJ_RECTANGLE objects.

The EA works on PERIOD_H1 timeframe - this parameter is registered within the code and is not included into the inputs. Disabled work on Monday abd Friday. If there are no positions, and the last known time of the trading server is from 00:00 to 00:03 - then you can check the channel and the roll-back.  

The channel width is calculated as a difference between Open of bar #24 and Close of bar #1.

If the position opening condition is met, the channel is displayed as the OBJ_RECTANGLE object:

Rollback system


Rollback system

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

Previous Candle Breakdown 3 Previous Candle Breakdown 3

"Previous Candle Breakdown" Expert Advisor.

Easy Canvas Easy Canvas

The library and iCanvas class simplify writing programs using Canvas.

EA Close EA Close

The Expert Advisor based on two oscillators: iCCI (Commodity Channel Index, CCI), iStochastic (Stochastic Oscillator) and one trend iMA (Moving Average, MA) indicator.

One Two Three One Two Three

The trading system defines flat/trend using iChaikin (Chaikin Oscillator, CHO) indicator.