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

The class of a module of trade signals, on "inner bar breakthrough" in trend direction - MetaTrader 5용 라이브러리

조회수:
4771
평가:
(26)
게시됨:
2011.06.13 13:55
업데이트됨:
2016.11.22 07:32
\MQL5\Include\Expert\MySignals\ \MQL5\Experts\
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The MQL5 Wizard provides an opportunity to create a strategy using different modules. For example, the main module can be written by developer, the other modules (money management, trailing stop) can be developed by other programmers.

The strategy, implemented in this module is following: when outside bar appears, it checks the fact of the inner bar breakthrough in trend direction and generates a signal to open position. The outside (outer) bar is the bar with High price, greater than High of the previous bar and Low, lower than Low price of the previous bar. The "breakthrough" means the extremum crossover of the inner bar.

The trend direction depends on the color of the outer bar. Position is opened after completion of the bar with a signal.

Example of a signal to open a long position:


Description of signals

Description of signals

To use the module, copy innerbarsignal.mqh to the MQL5\Include\Expert\Signal\Mysignal.

After restart of the MetaEditor, the module will appear:

Module of trade signals in MQL5 Wizard

Module of trade signals in MQL5 Wizard

History backtesting results (EURUSD ,D1, 2010-2011):

Testing results

Testing results

Input parameters:

  • TakeProfit = 300;
  • StopLoss = 300;
  • Trailing Stop = 100.

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/358

STALIN STALIN

The Buy/Sell signals of the indicator are based on crossover of two moving averages with different periods.

Exposure Exposure

This script reads all opened position and calculates their exposure for each currency.

EA_OBJPROP_CHART_ID EA_OBJPROP_CHART_ID

This Expert Advisor is a demo of working with OBJ_CHART objects as conventional charts. You can set custom color settings, attach indicators etc.

Blau_Mtm Blau_Mtm

Momentum Indicator by William Blau.