Hi,
Can someone explain how strategy.setStop() works/if it works.
In the documentation it says you go long at 900 then strategy.setStop(3) will put a stop 3 points below the market (897). However, when I backtest it just stops out every trade at 3 (even though, of course, the market never gets to 3). Does it just not work?
Also, if I am in a trade is there some way of telling at what price I traded? (So if I need to strategy.setStop(897), how will I actually get the number 897?)
Thanks for your help in advance.
Cheers
mmillar
p.s. I'm on build 579
Can someone explain how strategy.setStop() works/if it works.
In the documentation it says you go long at 900 then strategy.setStop(3) will put a stop 3 points below the market (897). However, when I backtest it just stops out every trade at 3 (even though, of course, the market never gets to 3). Does it just not work?
Also, if I am in a trade is there some way of telling at what price I traded? (So if I need to strategy.setStop(897), how will I actually get the number 897?)
Thanks for your help in advance.
Cheers
mmillar
p.s. I'm on build 579
Comment