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

Trade signal based on simple Bollinger bands - MetaTrader 5용 라이브러리

조회수:
8008
평가:
(18)
게시됨:
2018.11.26 23:21
업데이트됨:
2018.11.29 01:41
\MQL5\Include\Expert\Signal\MySignal\
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

I created it because there is no Bollinger bands in the MQL 5 wizard for some reason.

It is not the purpose to make profit on this program alone.

It is a purpose to incorporate it into the MQL 5 Wizard.


The trade signal is very simple.

For basic usage of the MQL 5 wizard, see " Create your own trading robot in 6 steps ".


1. Trade signal

The trade signal consists of two patterns.


pattern 1

  • Buy signal: If the closing price before two is lower than the low bands two before and the close price before one is higher than the low bands one before ago
  • Selling signal: the closing price before two is higher than the upper bands in two front and the closing price in the previous one is lower than the closing price upper bands in the previous one






Pattern 2

  • Buy signal: If the closing price before two is lower than the upper bands in front two and the closing price in the previous one is higher than the one in front one
  • Selling signal: When the closing price before two is higher than the low bands two before and the closing price before two is lower than the low bands one before





2. Create an expert advisor using the MQL 5 wizard

Once you compile SignalBands.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 'Bollinger Bands' in the signal property of the MQL 5 wizard.

MQL5 Wizardのプロパティ画面


3. Test result

Let's examine back test of expert advisor's history data (USDJPY H4, test period: 01.01.2018 - 01.11.2018, PeriodBands = 120, Shift = 0, Deviation = 1.6, Applied = closing price, Weight = 1.0) .

Back test result


Attachment: The SignalBands.mqh of the SignalBands class 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.


    Momentum ratio oscillator Momentum ratio oscillator

    Momentum ratio oscillator

    Highest high & lowest low support resistance Highest high & lowest low support resistance

    Highest high & lowest low support resistance

    EMA variation EMA variation

    Exponential moving average variation

    EMA variation ribbon EMA variation ribbon

    EMA variation ribbon