MDSParticipant
Junior
Hi All,
I put on work a TS 40 days ago on a IG demo account .
It get +30% in these days.
I tried to backtest this TS on the same period of Time and I got different results… Only +10%
Is It normal?
The PRT versione is the 10.2 .
Regards
Ciao a tutti.
40 giorni fa ho messo in demo un TS che ha guadagnato +30% in questo periodo. Poi ho provato a fare il backtest sul periodo appena passato, ottenendo risultati molto doversi.
È normale?
Sto usando la versione 10.2 di PRT
The simple answer is yes, there will be differences between demo and live.
May also depend upon spread you put in your backtests and the real live one.
MDSParticipant
Junior
THX at all.
Nicolas It is not the case.
I put 1.5 pips on eurusd in backtest and usually at the real case it’s 0.6 pips. But the operation were 13.
The performance difference is 100 pip profit in backtest and 300 in real case…
THX a lot
There must be reasons to have this huge difference. Does the leverage the same between live and backtest? Did you get less orders in backtest maybe?
MDSParticipant
Junior
Hi all,
excuse me for answering in late.
I’ve attached the performance of the same code in backtest and in real mode.
The backtest mode gained only 10 pips, in the real mode 300 pips.
I’m using the 10.2 version of prt.
EURUSD tf 1h
I’ve seen that the close of positions in the backtest mode are on the close of the hour.
In the real mode the position are closed in different way.
I’ve put the TP and SL.
Only I’ve put inside the trailing stop made by Nicolas that works moving the stop loss at the closing of the candle.
Any clue?
The 10.3 version is free from this huge bug?
Regards,
Mauro
Ps: Nicolas, I’ve said about pips, not dollars or euros… I think that leverage is not so important in this case
Make sure you are truly testing over the same periods?
It is yet another annoying feature of PRT that sometimes you have to close down everything and then open and start again to make sure the test period you have selected is what you think it is.
You may be thinking … what is he going on about? 🙂 Please read below for clarification …
http://www.prorealcode.com/topic/run-bots-last-night-different-results-today/
Cheers
GraHal
MDSParticipant
Junior
Sure GraHal.
I’ve checked it before writing here…
The backtest started only 3 hours before I see.
Take a look at the screenshots, please.
Regards,
Mauro
Hi MDS and All
I’ve taken a look and my guess is:
Why are there missing trades, you have limited the code to 1 trade per day. The trades are missing as you are already on market, but why are you on market, the trades should match. Some of the trades closure times differ by 13 and 17mins or 1m40, were the charts on different timeframes when the code was set to run?
That’s my best guess, will need more info for more guesses
Cheers
Jason
Orders history of the real account to see if orders may have been rejected, please. Do you have 0 bar trades in backtests?
I’d like to help more but quite difficult without the code.
Actually the best I can do is to make suppositions 🙂
MDSParticipant
Junior
Hi Jason.
I’ve called the prt support and they said to me that the problem is solved for 10.3 version.
The tf is h1 for backtest and for the real mode.
The code is the same.
The trade is one per time.
There are no limitation per day. The only one limitation is no trade if sunday (to avoid high spreads)…. but it’s the same for the backtest.
I’ve put 1.5 pts of fixed spread in backtest… in real, usually, is about 0.6…. anyway 20 trade means maximum 20 pips of difference.
In backtest I don’t have zero candles trades.
Thx,
Mauro
MDSParticipant
Junior
Nicolas I can’t see, if the order was rejected… I have 22 Ts running in demo account … I can’t see that.
I’m using IG. If you know how to select the positions that a particular Ts produced, please tell me.
Hi Mauro
Try this … go Trading, Order List then use the spanner / wrench to select System name and version then you will have the display as attached …
MDSParticipant
Junior
Hi all,
GraHal, Nicolas… thank you.
I’ll do as GraHal said.
Regards,
Mauro