Stop Loss when position is opened with more than one contract

Forums ProRealTime English forum ProBuilder support Stop Loss when position is opened with more than one contract

Viewing 8 posts - 1 through 8 (of 8 total)
  • #173987

    Hi everyone,

    Have programmed a system that I have backtested and that is now running via ProOrder Automatic Trading. The backtest results are different from the Automatic Trading results. One difference I noted was the behaviour of the Stop Loss in backtesting and automatic trading. When I define a stop loss of 60 points and I enter a position with 2 contracts then the behaviour is as follows:

    • in backtestesting the position is closed when a loss of 120 points is reached
    • in automatic trading  the position is closed when a loss of 30 points is reached

    Is this an error in the backtesting software or am I doing something wrong?

    Best regards,

    Dré

     

     

    #173998

    How did you set your SL?

     

    #174004

    Stop loss 60

    #174005

    If you are using your strategy with indices (Dax, SP, etc…) where Price-to-Pips ratio is 1:1 , then it’s fine and you shouldn’t have those differences.

    If you use it with other instruments with a different ratio, say FX pairs, where it’s usually 1:10000, 60 would be a price difference of 60.12345, which can be fine (well… a bit too large)  for Eur/Jpy, but it would be impossible to reach with Eur/Usd.

    You should use ploss 60, instead. “p” stands for Pips.

     

    #174015

    Thank you Roberto for your reply.
    I am using it on DOW. But the product I am using is of no importance. The results should be the same for backtesting and for automatic trading

    #174016

    Only checking the code while replicating trades may help finding out the reason.

     

    #174062

    When I define a stop loss of 60 points and I enter a position with 2 contracts then the behaviour is as follows:

    • in backtestesting the position is closed when a loss of 120 points is reached
    • in automatic trading  the position is closed when a loss of 30 points is reached

    What should be the right behaviour?

    #174065

    The SL is set for the whole position, it’s 60 pips, no matter how many contracts.

    It’s the number of contracts that work as a multiplier, 1 contract will lose 60 pips, the other contract will loose another 60 pips, but the number of pips cannot change!

    You should revert to:

    (the same for $PROFIT) where X is the money (just numbers, no currency symbol) you are willing to risk.

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

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