is there a way to check the profit in ticks of the current strategy position for this instrument to update the stop price or ticks from entry ?
i currently have the Calculate set to Calculate.OnBarClose - i presume i would need to change this to OnEachTick.
I can move the enter logic to only Onfirsttickofbar - and the stop / profit updates in the oneachtick section in onbarupdate.
And do this without using the AtmStrategytemplate example?
I have looked through the sample of atmstrategy - is this created for each new order ? and so the conditional logic that determines to enter a trade is placed in the
AtmStrategyCreate section?
So the objective is to determine if i can handle updating and moving the stop depending on the current profit of the position without needing to use an atmstrategytemplate
If i need to do so i can
thanks
Comment