okay:
protected override void OnBarUpdate ()
if (Position.MarketPosition == MarketPosition.Flat)
SetTrailStop ("", CalculationMode.Price, High [1], true);
When the condition occurs:
SetTrailStop ("", CalculationMode.Price, High [1], false);
Because the code never takes the exit?
Thank you.
Hello.
Roberto
Comment