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

Candle shadows v1 - MetaTrader 5 için Uzman Danışman

Yayınlayan:
Vladimir Karputov
Görüntülemeler:
4380
Derecelendirme:
(10)
Yayınlandı:
2018.07.13 15:11
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

Idea by: Vlad.

MQL5 code bybarabashkakvn.

The EA waits for the candlestick size to become higher than or equal to "Candle size minimum" within "The position can be opened within N minutes" minutes. At the same time, the "Length opposite shadow max" can also be considered (the lower shadow is considered for position Sell, while the upper shadow is considered for position Buy).

Candle shadows v1 Sell

A rule also works here: Only one position can be opened on the current bar. If the last position was closed by Stop Loss (trade DEAL_ENTRY_OUT having property DEAL_REASON_SL is intercepted in OnTradeTransaction) and there was a loss, then the next position is opened with a "Factor of reduction of lot at SL" times smaller lot size.

There are two more interesting position-related parameters: "Position lives N bars" - position lifetime is set in bars, followed by closing the position forcedly, and "Close the profitable position on bar N" - closing a position on bar N, if such position is profitable.

Oh, I nearly forgot to mention that a position could only be opened within a time interval limited by "Start hour" and "End hour", and position size mamangement:

  • Position volume can be constant (parameter "Lots">0, and "Risk"==0)
  • Position volume is dynamic (parameter "Lots"==0, and "Risk">0)

Moroever, you can also disable Stop Loss and Take Profit levels and trailing.

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

Area MACD Area MACD

An unorthodox approach to indicator MACD: The EA calculates the indicator's area displayed above and below zero line.

Hangseng Trader Hangseng Trader

A trading system based on object Fibonacci Lines (OBJ_FIBO) and on indicator Resistance & Support

VR Atr pro Lite MT5 VR Atr pro Lite MT5

Indicator Atr Lite calculates the average price motion

Ang_Zad_C_Hist_Candle Ang_Zad_C_Hist_Candle

A candlestick-based chart based on histograms Ang_Zad_C_Hist calculated on the Open, High, Low, and Close timeseries of the price chart.