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

Trading signals function. - MetaTrader 4용 라이브러리

조회수:
9854
평가:
(9)
게시됨:
2016.07.01 11:14
Signal.mq4 (2.48 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The trading signals function is based on the values of the OsMA indicator.


Add the function to the EA: #include <Signal.mqh>


Condition if(GetSignal()==1) is for buys


Condition if(GetSignal()==-1) is for sells


Test Example:



SymbolEURUSD (Euro vs US Dollar)
Period1 Minute (M1) 2009.01.19 00:00 - 2009.01.23 23:59 (2009.01.19 - 2009.01.24)
ModelEvery tick (the most accurate mode based on the shortest available time frames)
Parametersfast_ema_period=10; slow_ema_period=12; signal_period=11; applied_price=5; shift0=18; shift1=20; shift2=0; shift3=11; TakeProfit=66; SL=20; Lots=0.1;

Bars in test8073Ticks modelled96748Modelling quality25.00%
Mismatched chart errors0




Initial deposit1000.00



Net profit1018.12Gross profit1913.42Gross loss-895.30
Profit factor2.14Expected payoff14.54

Absolute drawdown50.00Maximum drawdown154.58 (8.63%)Relative drawdown8.63% (154.58)

Total trades70Short positions (won %)38 (44.74%)Long positions (won %)32 (37.50%)

Profit trades (% of total)29 (41.43%)Loss Trades (% of total)41 (58.57%)
Largestprofit trade66.28loss trade-24.58
Averageprofit trade65.98loss trade-21.84
Maximumconsecutive wins (profit in money)4 (264.28)consecutive losses (loss in money)6 (-134.58)
Maximalconsecutive profit (count of wins)264.28 (4)consecutive loss (count)-134.58 (6)
Averageconsecutive wins2consecutive losses2

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

Ma_Parabolic_st2 Ma_Parabolic_st2

Parabolic plotted based on Lows and Highs of a moving average. Efficiently displays the trends on smaller timeframes, and allows to mostly eliminate frequent switches, inherent to the "Parabolic SAR" indicator.

Grid Grid

Alternative grid

Errors function. In Russian. Errors function. In Russian.

Errors function. In Russian.

F2a_AO F2a_AO

Determination of the entry levels