Need help with a code input

Discussion in 'Automated Trading' started by bennie83, May 7, 2009.

  1. bennie83


    Hi everyone, could you help?

    I am using Pro Backtester through IG Markets, which I think uses some kind of Easy Language or C#? Hopefully you will be familiar with this. So I really want to find out how to say two things and the user manual etc cannot help. How would you input:

    1. If ....(all my indicators are met, p.s. I have programmed this bit) then buy on a price pullback (e.g. 25 points)

    2. After opening a position.... If the price moves in my favour by 25 points, move the stop loss to break even.

    Any help would be much appreciated.