Tick by Tick backtest mode available in beta 10.3!
Forums › ProRealTime English forum › ProRealTime platform support › Tick by Tick backtest mode available in beta 10.3!
- This topic has 68 replies, 22 voices, and was last updated 7 years ago by absent1980.
-
-
12/08/2016 at 8:38 PM #18097
What do you guys suggest testing a strategy on when i us the PRT 10.3? Say if i want to test a strategy on the CAC40, should i use the index or the future? What should i do about spread? Add 2 points, since thats what will be the spread when I trade it on the IG account?
12/08/2016 at 11:00 PM #18104Here is 2 strategies I would like someone to test in tick mode.
They are both for Brent Crude oil E1.
One is a breakout strategy I found here that is for 5 min chart.
Second one is Moving avrage and new indicator Nicolas made for me ( stochastic rsi) in 15 min chart.
To check the last strategy you will need The stochRsi I also put out this for the ones that dosent have it.
If the tick mode check is good or if its a value for someboe else to build upon, please put if out in the Liberay.
12/08/2016 at 11:03 PM #18109Yngve: du må bruke det spreadet så IG har som kostnad for instrumentet du handler i.
You need too use the Spread cost of what IG provides in the diffrent instruments your trading on.
12/09/2016 at 6:25 AM #1811612/09/2016 at 9:10 AM #18122Sorry I cant edit,
but StochRsi indicator settings are rsi10, stoch10, K10, D2 for the only long trades 15min BrentCrude E1 strategy
12/09/2016 at 9:53 AM #1812412/09/2016 at 10:03 AM #1812712/09/2016 at 10:05 AM #1812912/09/2016 at 11:34 AM #18146Can you test it with regular crude oil Nicolas?
12/09/2016 at 12:36 PM #1815612/13/2016 at 10:00 PM #18487Hi guys,
I was testing the ALEX AutoTradingBot INDEX with great succes on the Dax 30 min chart with the following code:
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859defparam cumulateorders=falsedefparam preloadbars=8defparam flatbefore=065500defparam flatafter=211450ema = Exponentialaverage[ts1](close)once uma=Highest[ts1](high)once umb=Lowest[ts1](low)objetivo=39*pipsizets1=11if High > ema and Low < ema then // Touching Ema8tb = BarIndexltp = emauma = emaumb = emaendifif low>ema then // New bullish movementn = BarIndex - tbuma=Highest[n](high)umb=emaendifif high<ema then // New bearish movementm = BarIndex - tbumb=Lowest[m](low)uma=emaendifif (uma-ltp)>objetivo and uma>ema then // buy conditionmycompra=1endifif (uma-ltp)<=objetivo thenmycompra=0endifif (ltp-umb)>objetivo and umb<ema then // short conditionmyventa=-1endifif (ltp-umb)<=objetivo thenmyventa=0endifadvance=abs(round(ema-ema[1]))mylot=(((Strategyprofit+3000)*0.02)/30)if not longonmarket and mycompra=1 thenBuyPrice = ema+advancebuy mylot contract at BuyPrice limitendifif not shortonmarket and myventa=-1 thenSellPrice = ema-advancesellshort mylot contract at sellprice limitendifset stop ploss 35set target pprofit 19I was curious about the result in prt 10.3 tick by tick.
If the results are good, I want to test it live.
Regards,
Alco
12/13/2016 at 10:14 PM #1849012/13/2016 at 10:15 PM #18491I think you all have not longer to wait to get an hand on 10.3 beta for IG…Santa told me.. 🙂
2 users thanked author for this post.
12/13/2016 at 10:33 PM #1849201/07/2017 at 8:30 PM #20135Hi traders
I read here that the t/t back test is included with years of data. However is this limited to PRT Premium? the IG demo version has very limited t/t data. I was trying to back test a strategy in DAX, and several times it send me an error messages. I think it was due to the fact that my time span was to large so I lowered it until the error disappeared. then I tried to optimize the strategy an I was presented with the info (see scrn dump) that the t/t is only available for 500 candles?
so is this because it’s demo?
has the Premium edition more historical t/t data?
@Alco please be careful with the ALEX AutoTradingBot INDEX. I was never able to make it profitable in demo trade for month so I stopped it.
All the Best Kasper
-
AuthorPosts