거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
2254
평가:
(13)
게시됨:
2018.06.18 16:18
\MQL5\Include\ \MQL5\Indicators\
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

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에서 러시아어로 번역함.
원본 코드: 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.