I have a question because of a strange behavior with my understanding.
In the script strategy I have only in "if(Position.MarketPosition == Flat)
{SetStopLoss...
SetProfitTarget...
}
But when I´m in a trade and I move the profit-target in chart trade in another chart then it snaps back to profittarget as here above. But why when not flat? There is no more line with SetProfitTarget in the code (I removed all)
Is it possible that the reason is because of using different dataseries? So as script is working COBCtrue and I have a 15 minute dataseries as well for this dataseries its still "flat". And therefore SetProfitTarget snaps back to default?
Thank you!
Tony
Comment