Why the backtest result is different with real trading?

Forums ProRealTime English forum ProOrder support Why the backtest result is different with real trading?

  • This topic has 1 reply, 2 voices, and was last updated 7 years ago by avatarEric.
Viewing 2 posts - 1 through 2 (of 2 total)
  • #25754

    Hi all:

    I am a client of IG, recently I wrote my own strategy and backtest, then put on-line

    but today it shows sth. odd…

    For forex CAD/JPY today (20/FEB) it shouldn’t have any trade at 01:00 bar by backtest,

    but in real auto-trading it sells 1 contract @86.128, and finally get stoploss

    does any one know why? Is that an bug?

    I attach code here, DSTU_RSI is my own indicator:

     

    #25801

    have you checked the spread at the time of the order?

    when using stop to open position its the bid and ask that do the job

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