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

Dodgy Backtest Example - MetaTrader 4용 expert

조회수:
15008
평가:
(5)
게시됨:
2006.09.18 14:54
업데이트됨:
2014.04.21 14:54
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

You may get profitable experts in backtests if orders are filled and exited in the same bar. This is usually an error due to the limitations of backtesting on data with longer timeframes than the trading strategy.

Backtest results will always be unreliable if an order is filled and exited on the same bar unless the entry is on the open or the exit on the close. This is because it is impossible to tell the price action within the bar. A backtest will make an estimation of what happened during the bar. At times the estimation may result in a fill at a price that is estimated to occur before the exit but in realty occured after. This can result in fills at impossible prices, especially when the market moves quickly in one direction. Some strategies will inadvertently exploit these impossible prices to produce impossible results.

You can end up with an expert that appears to be extremely profitable in backtests but will lose a bundle in real trading (well I think it will), as the attached expert will. Try it on EURUSD 1H timeframe.

The only way to have reliable backtests off bar data is to either enter on the open or exit on the close. It is certain when these two points happened so the order of the price action will always be correct. It also makes it certain that the expert does not inadvertenlty open and close an order on the same bar (such as with a Stop Loss Exit)

As you can guess I wouldn't recommend this expert be used for real....




Trix Trix

Trix Indicator - oscillator based on a triple smoothed EMA.

Drive Drive

Drive is a comparision between total up & down movement of each bar. Identifies Trend.

MySystem MySystem

Expert Advisors MySystem using indicators BullsPower and BearsPower.

TDSGlobal TDSGlobal

The Expert Advisor TDSGlobal uses the indicators MACD, OsMA and WPR.