accounting for and adjusting for slippage POSITIONPRICE vs expectedPositionPrice

Forums ProRealTime English forum ProOrder support accounting for and adjusting for slippage POSITIONPRICE vs expectedPositionPrice

Viewing 2 posts - 1 through 2 (of 2 total)
  • #128532

    Hi team

    I’m trying to adjust future stop entry orders based on past slippage lets say for FX.

    I’m thinking a WHILE loop is the way to address this but struggling to get my head around it and also adding discount factor.

    Thanks for your help.

     

    #128546

    I think this will work for the expectedPositionPrice calculation?

    and would this be the correct WHILE LOOP?

     

     

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

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