probacktest and real trading difference!! why?!
Forums › ProRealTime English forum › ProBuilder support › probacktest and real trading difference!! why?!
- This topic has 10 replies, 3 voices, and was last updated 7 years ago by Nicolas.
-
-
10/12/2017 at 12:40 PM #49127
hi everyone
my result of probacktest tick by tick moded and real working system as per attached. why there is difference between real automated system trading and probacktest. how can we trust reliability of our trading system?!
actually in my system i look for small pips as TP. entry at my preferred buy limit and sell limit orders every 1h candle. and position will close after 1h candle finished.
my code as per below.
1234567891011121314Defparam Cumulateorders=falseprice=close-(0.5*AverageTrueRange[10](close))buy 1 contracts at price limitprice=close+(0.5*AverageTrueRange[10](close))sellshort 1 contracts at price limitif barindex-tradeindex=0 thenexitshort at marketsell at marketendifset target pprofit 3set stop ploss 15010/12/2017 at 12:42 PM #49130sorry. the code actually traded after 10th October time 11 am as per charts attached.
10/12/2017 at 5:47 PM #49170If you use limit/stop orders in your code the backtest will always differ to some extend from live results. The reason for this is that in backtest you will receive a fill for your limit/stop order “when touched”. This rarely happens in live trading. Price usually has to trade through your limited for your order to be filled.
10/12/2017 at 8:42 PM #4920710/13/2017 at 2:36 AM #49222actually, not with spread in backtest. but some entry is not taken in real. how? is what despair said technically true?
10/13/2017 at 2:37 AM #49223how if i use this system for 5 different markets at the same time can disrupt the system action?
10/13/2017 at 9:41 AM #4923910/13/2017 at 9:49 AM #49242Please see the file attached. why there is no buy limit order at the same time?
10/13/2017 at 9:51 AM #49244- this on i alrdy knew! 😉 just want to know his idea. anyway, shld i forget this system then as not as good as backtest to me?!
10/13/2017 at 10:03 AM #4924610/16/2017 at 7:23 AM #49465actually, not with spread in backtest
This is where you should start from to understand why there are differences between your backtests and the real time trading. The spread between Ask and Bid should always be set in your backtest, find what is the average spread for the instrument at your broker website.
-
AuthorPosts
Find exclusive trading pro-tools on