Ticaret robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Telegram üzerinde bulun!
Fan sayfamıza katılın
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
Ö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
- Yayınlayan:
- Vladimir Karputov
- Görüntülemeler:
- 5154
- Derecelendirme:
- Yayınlandı:
- 2018.11.20 12:45
-
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 - Ilnaz
mq5 code author - barabashkakvn
The EA analyzes candles #1 and #2.
Example of opening and closing for SELL
Open conditions - there is no a single position on the market
//--- buy if((rates[1].open>rates[2].open) && (rates[1].close<rates[2].close)) { double lot=TradeSizeOptimized(); OpenBuy(lot,0.0,0.0); return; } //--- sell if((rates[1].open<rates[2].open) && (rates[1].close>rates[2].close)) { double lot=TradeSizeOptimized(); OpenSell(lot,0.0,0.0); return; }
If there is an open position, check the close condition
if(rates[1].open<rates[2].open && (rates[1].close<rates[2].close)) { ClosePositions(POSITION_TYPE_BUY); return; } if(rates[1].open>rates[2].open && (rates[1].close>rates[2].close)) { ClosePositions(POSITION_TYPE_SELL); return; }
MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/23090
![SR-RateIndicator_HTF](https://c.mql5.com/i/code/indicator.png)
SR-RateIndicator indicator with the timeframe selection option available in input parameters
![SR-RateIndicator_Alert](https://c.mql5.com/i/code/indicator.png)
SR-RateIndicator indicator provides alerts, sends email and push notifications when overbought/oversold levels are broken through by the histogram.
![Time_Bar_Custom_Monthly](https://c.mql5.com/i/code/indicator.png)
Brief description
![InvertBar_Plus](https://c.mql5.com/i/code/indicator.png)
The inverted chart of the current financial instrument, displaying Ask and Bid price levels in the form of colored bars in the additional window