Nicolas Simulated Trading with fake orders

Forums ProRealTime English forum ProOrder support Nicolas Simulated Trading with fake orders

Viewing 3 posts - 1 through 3 (of 3 total)
  • #171993

    Hi guys, I tried to modify Nicolas’s code regarding simulated trading. I have included the functions written by Nicolas (https://www.prorealcode.com/blog/learning/how-to-improve-a-strategy-with-simulated-trades-1/) for the short as well, but I believe that I made some mistake. Can someone help me?

     

    #172076

    Your MAE/MFE calculation for short orders is wrong, it should be the inverse of the long orders! 🙂

    Lines 72 & 73:

    this is the first thing I spotted, I did not read all the code.

    #191383

    for the short as well,

    Hi have you managed to get this to work as yet? Ive also tried it, but not managing to get to work with SHORT positions. i fixed the Lines 72 & 73 as nicolas suggested above too.

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

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