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

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

Görüntülemeler:
2267
Derecelendirme:
(13)
Yayınlandı:
2018.06.18 16:18
\MQL5\Include\ \MQL5\Indicators\
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

The Exp_CandlesticksBW_Tm Expert Advisor is based on the color change of the CandlesticksBW candlesticks and allows strictly define the trading time interval.

A trade signal is formed when a bar is closing, if the indicator color has changed, providing evidence for changing the current trend.

It is possible to specify trading time in input parameters to trade in the specified time interval:

input bool   TimeTrade=true;      // Allow trading within the specified time intervals
input HOURS  StartH=ENUM_HOUR_0;  // Trading start (Hours)
input MINUTS StartM=ENUM_MINUT_0; // Trading start (Minutes)
input HOURS  EndH=ENUM_HOUR_23;   // Trading end (Hours)
input MINUTS EndM=ENUM_MINUT_59;  // Trading end (Minutes) 

Two variables for hours and minutes are provided for each of trading start and trading end times.

Default settings enable the Expert Advisor to trade the whole trading session from 0:00, while all positions are immediately closed at 23:59.

If the start time in the EA's settings is later than the specified trading end time, the EA will close the opened positions at the specified time next day.

For the EA to operate, the compiled CandlesticksBW.ex5 indicator file must be in the <terminal_data_directory>\MQL5\Indicators folder.

The EA default input parameters were used in tests below. Stop Loss and Take Profit were not used in testing.

Fig.1. Example trades on the chart

Fig.1. Example trades on the chart

Testing results for GBPUSD H4 over the year 2016:

Fig.2. Testing results chart

Fig.2. Testing results chart

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

CandlesticksBW_x10 CandlesticksBW_x10

Indicator CandlesticksBWx10 shows the color of the CandlesticksBW indicator candlesticks from ten different timeframes from the bar defined in the indicator input parameters.

MultiCandlesticksBW_x10 MultiCandlesticksBW_x10

Indicator MultiCandlesticksBW_x10 shows information on the current trends, using the colors of indicator CandlesticksBW from ten different timeframes.

CandleStop_Cloud CandleStop_Cloud

An indicator to pull trailing stops with the channel color background filling and showing the latest values as price labels.

CandleStop_Cloud_HTF CandleStop_Cloud_HTF

Indicator CandleStop_Cloud with the timeframe selection option available in input parameters.