Quick question... I'm working on an Adopt Position strategy.
Basically, whatever the long position is that I have... when I enable the strategy, I just have it looking for an exit point.
When that exit point triggers, I start a SetTrailStop(CalculationMode.Percent, .01);
When I run the strategy, it gets the position and average position price just fine, that works great. It calculates the profit target properly so the only thing left is the SetTrailStop as above. When that SetTrailStop triggers, a real order isn't placed, I'm getting this message:
Entered internal SetStopTarget() method: Type=TrailStop FromEntrySignal='' Mode=Percent Value=0.01 IsSimulatedStop=False IsMarketIfTouched=False
Is there a way to trigger a trailstop on an order that has been placed prior to the strategy being enabled?
Thank you
Jeff
Comment