if (Close[0] >= Position.AvgPrice + 4 * TickSize)
Is the close referring to the bar close?
What I am trying to do is create a stoploss that updates once there is 4 ticks of profit. I am not wanting to wait until the bar closes to do it though, I want the event to trigger instantly.
If it is referring to the bar closing, is there anything to replace close with last or something to make it trigger right away?
Thank you.
Comment