거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
라이브러리

Trade signal based on PullBack and Candle (for MQL5 Wizard) - MetaTrader 5용 라이브러리

조회수:
9927
평가:
(14)
게시됨:
2018.12.10 04:49
\MQL5\Include\Expert\Signal\MySignal\
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

This EA will make a trade based on "Pull Back and Candle Action".


Candle action part used "acandlepatterns.mqh" provided by MetaQuotes.

This program was very useful for improving the entry accuracy. Thank you.


I added the mq5 file that was automatically generated just in case, but you do not have to use it by force.

Because you can create mq5 file automatically customized as you like using MQL 5 wizard.


1. Open Position


[Open Long]

Open the Long position when all of the following conditions are satisfied.

  • Price is greater than MA
  • RSI is less than set value
  • Candle action is on the bear side


[Open Short]

Open the Short position when all of the following conditions are satisfied.

  • Price is lower than MA
  • RSI is larger than set value
  • Candle action is bull side



[Common condition]

  • Do not open the position if the spread is less than the set value. (If you set it to zero, this condition will be ignored.)



2. Close Position


The condition to close the position is simple.


[Close Long]

  • Close the position when RSI falls below the set value.


[Close Short]

  • Close the position when RSI exceeds the set value.


3. Image diagram of open / close


Long open and close.

Long open and close.


Short open and close.

Short open and close.


4. Create an expert advisor using the MQL 5 wizard


Once you compile SignalPullBackCandle.mqh you will be able to use it with the MQL5 wizard.

To generate a transaction robot based on this logic, select Signals of indicator 'PullBack And Candle' in the signal property of the MQL 5 wizard.


5. Test result

Let's backtest of EA.

The setting value is below.

EA Settings.


Test period: 01.12.2017 - 11.12.2018

Timeframe: M15 (even for others)


USDJPY(M15)

Result of USDJPY


GBPJPY(M15)

Result of GBPJPY


Attachment: The "SignalPullBackCandle.mqh and acandlepatterns.mqh" must be placed in terminal_data_folder \ MQL5 \ Include \ Expert \ Signal \ MySignal.

The ExpertsBands.mq5 file contains the expert advisor code that was created using the MQL 5 wizard.


Trend detection index Trend detection index

Trend detection index

Trend continuation factor (of average) Trend continuation factor (of average)

Trend continuation factor - averages pre-smoothed (filtered)

Trend intensity index Trend intensity index

Trend intensity index

Phase change index 2 Phase change index 2

Phase change index 2