Tick by tick – again

Forums ProRealTime English forum ProOrder support Tick by tick – again

Viewing 15 posts - 1 through 15 (of 15 total)
  • #45078

    Sorry, I know we’ve been over this a thousand times, but I couldn’t find an answer to this when searching.

    Tick by tick is marked, and I’m going to optimizing some variables, but I get the same results in the Detailed Report as the Optimize Report. Normally, when clicking a row the tick by tick test is done – right? And this code has many inside candles.

    So either way, something is weird with this back-test, or I found the perfect code!

    Thanks!

    T

    #45080

    Sorry, the question is not obvious in the code, but I’m of course wondering how to fix this in order to perform tick by tick backtest while optimizing.

    Thanks!

    T

    #45081

    Getting tired now – “not obvious in the post” I mean…

    #45083

    naja without code or parts of the code is difficult to understand, you had the coden already on a demo account pushed some time run?

    #45208

    If you click in a row, you have to make once again a backtest with the found variables, with no optimisation, in tick-by-tick mode. Otherwise, you’ll have get the “old” version of the backtest (without inside bars checking).

    1 user thanked author for this post.
    #45329

    Exactly – but this time nothing happened when I clicked the rows. I got the same values in the Detailed Report as in the Optimize Report, as you can see in the picture. The tick-by-tick is done automatically when clicking the rows, right? I don’t have to do anything else?

    #45344

    I don’t think so. Just to be sure, uncheck optimization variables and make them fixed ones and launched again the backtest with tick mode enable.

    1 user thanked author for this post.
    #45353

    I have tried that. Then I get completly different result, even though using the same values as the row in the Optimize Report. So it must be that it won’t use the tick-by-tick when optimizing, dispite marking the rows.

    Ever heard of this issue before?

    #45397

    The optimizer don’t use tick-by-tick, even if the option is checked. That’s why there is a column named “Tick mode” that telling you how much bars are considered to be a ‘problem’ to the current backtest engine because of the famous “zero bar issue”.

    So with the optimisation reports, pick the strategy you are feeling enough good and then launch new backtests, one by one, this time with no optimisation (with fixed values). Hope I’m clear now 🙂

    1 user thanked author for this post.
    #45423

    Yes, that I know.

    But let me try again. On other optimizations, the tick-by-tick backtest was performed for each combination of optimized values by clicking on the rows. Then I get another result in the Detailed Report than in the Optimize Report, using the same values due to the tick-by-tick backtest.

    This time, the results of the backtest was the same in the Detailed Report as in the Optimize Report, even though clicking the rows. The backtest is not performed tick-by-tick by clicking the rows, like before. Which is also verified by using the same combination of values without optimizing (then is tick-by-tick performed).

    So, to conclude – I was hoping to be able to perform the tick-by-tick backtest by clicking the rows – like always before – instead of exiting and changing manually. I have not seen this “problem” before and hope there might be a solution.

    Sorry for repeating this – appreciate your help!

    #45649

    Nicolas, do you understand my question and have an answer?

    Thanks!

    #46079

    Sorry for late answer, been quite busy recently 🙁

    I think that you are lead into error because of the 0 zero bar phenomena that might happen during optimisations. Some strategies have none, or some have a lot and that’s why clicking on a row might change a lot the results of the backtest:

    If a strategy has no more than (for instance) 1 or 2% of its trade during only 1 bar: the result between no tick-by-tick or tick backtests would certainly be the same, or with such a small difference that you will not perceive it, so IMO that’s why you think the backtester has a different behavior now than before.

    #62692

    You seem to be completely correct in this. In my case there are no tick-by-tick test performed when clicking on a single row in the optimization window (even though tick-by-tick is selected). The only way to get a tick-by-tick test to be performed seem to be to transfer all the optimized values to fixed values.

    For my current strategy this makes it just 1/4 as profitable as when just clicking on a single row in the optimization window. I find this quite disturbing as it makes the optimization quite much harder to perform. IT-finance should really put down some more efforts on documentation as I can’t find this behavior documented anywhere.

    Anyone has some better idea of how to optimize tick-by-tick the easiest way?

    #62703

    It would be so much easier if you put your code on here then we can do same as you with your code  but on our Platform and report back with our results / findings.

    Only time I’ve got same result when clicking a row is if there were a zero / 1 or 2 in the tick mode column (as Nicolas said).

    Cheers
    GraHal

    #62793

    OK, here comes the code. It’s basicly the short part of the ALE tradings system “Smoothed Bollinger”, https://www.prorealcode.com/prorealtime-trading-strategies/smoothed-bollinger-strategy-daily/, with some small modifications. The optimization values are those behind comment marks.

    The optimization is done on USDJPY mini. Tested this morning with the same result – no tick by tick is performed until you set the values as constants.

    The strange thing is that I tested an completely different system and optimized that one too. I that case it worked as it should – tick by tick were performed when clicking on the different optimization window rows.

     

Viewing 15 posts - 1 through 15 (of 15 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login