Algo tests well, but doesn’t run when live

Forums ProRealTime English forum ProOrder support Algo tests well, but doesn’t run when live

Viewing 6 posts - 1 through 6 (of 6 total)
  • #150944

    Hi All,

    First time post for me. I wouldn’t turn to this forum unless I had tried everything myself first. I have created an algo that reflects my current strategy. It’s not a ‘World Beating’ strategy by any means.

    As you will see by the code – I’m probably less than a rookie and have pieced this together with a base level code from the ‘builder’ and slowly added and tweaked it to fit my individual needs from others (JuanJ, Nicholas). But I guess that’s the point of the network! 😀

    It tests well, and hits my current personal targets when backtesting, but when I have unleashed it, it hasn’t yet made a trade. Of course, this could be due to the parameters not being met, but when I then backtest, it shows trades being made that were not reflected in real time when the algo was on.

    I wondered if I could have an eye cast to double check I hadn’t done anything silly. It seems to have not yet made a trade, since I added the breakeven addition (created by the infamous Nicholas). It’s likely due to me not including it properly.

    Hugely appreciate any guidance.

    Best Tom

     

     

    #150946

    What is AA period used please?

    How many maximum contracts do you allowed in ProOrder when launching the strategy?

    1 user thanked author for this post.
    #150949

    Hi Nicholas,

    Thanks for coming back so quickly – real pleasure to get your support.

    AA is the variable label I use for the bollinger band period – I run an optimisation from 1 to 100 to understand the best n period for that pair.

    I do a maximum of 2 contracts currently – I plucked it from the air tbh.

     

    I hope I explained that clearly.

     

    Tom

     

    #150951

    Your code is taking 5 Contracts so you need to set maximum when you start the Algo in ProOrder to at least 5  (I would set to 10 to allow for a switch in direction)

    1 user thanked author for this post.
    #150952

    Thanks GraHal – Seems so obvious in hindsight! 😀 I’ll give it a go….

    1 user thanked author for this post.
    #150963

    That’s why I asked in the first place 😉

    2 users thanked author for this post.
Viewing 6 posts - 1 through 6 (of 6 total)

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