How can I create a buy stop order after my conditions for entering the market has been fulfilled? So instead of opening the position at the open of first candle I was a stop order to be placed 2 points down.
(I want to use the idea from the PRT manual p82 of using an order distance but can I do so if my signal is triggered on the last candle and not a predefined level? )
never mind I think I found the answer
spread = 2
orderdistance = 2
price=close-(oderdistance+(spread*pipsize))
buy 1 contract at price stop
EricParticipant
Master
Maybe you should use limit instead of stop?
But i want a buy order to be activated when the price is coming down. Isn’t limit when the price break through from below?
EricParticipant
Master
As i understand it (IG)
Limit = if you want to set a buyorder or sellorder at a better price than current price
Stop = if you want to set a buyorder or sellorder at a worse price than current price
I did something similar (stop instead of limit) and it worked fine in backtest but on demo it failed, so be careful
Thanks for your input Eric. I’m not going to spend any time on this. After having a closer look at it, the improvements on the result was not good enough.