거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
조회수:
5054
평가:
(27)
게시됨:
2016.09.19 12:45
\MQL5\Scripts\
slippage.mq5 (1.07 KB) 조회
\MQL5\Include\
backtest.mqh (1.26 KB) 조회
slippage.mqh (11.21 KB) 조회
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

During the execution, slippages induce non-system profit/loss.

This script outputs the values of these slippages in the account currency.

It is possible to evaluate the order execution of the trading system — contribution of slippages in its expected payoff.

In the "real ticks" mode, the tester executes both limit and TP orders with unrealistically high positive slippage. Solving the problem if imaginary (inflated) backtest results, caused by this peculiarity of the MT5 tester, is possible by calling the following OnTester and/or OnDeinit

#include <SlipPage.mqh>

// After the backtest completes, first the OnTester, then the OnDeinit are called
double OnTester( void )
{
  // Returns the backtest balance net of positive slippages of limit and TP orders in the tester (running instrument)
  return(SLIPPAGE::OnTesterBalance());
}

// After the backtest completes, first the OnTester, then the OnDeinit are called
void OnDeinit( const int Reason )
{
  // Subtracts the value of positive slippages of limit and TP orders (running instrument) from the backtest balance
  SLIPPAGE::CorrectBackTestBalance();

  return;
}

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

XPFE_HTF XPFE_HTF

The XPFE indicator with the timeframe selection option available in input parameters.

XTrendlessOS_HTF XTrendlessOS_HTF

The XTrendlessOS indicator with the timeframe selection option available in input parameters.

STLMCandle STLMCandle

The STLM digital filter implemented as a sequence of candlesticks.

JSatl JSatl

This indicator is a hybrid of the SATL (Slow Adaptive Trend Line) digital filter and the JMA analog adaptive averaging.