My question is: In code, how can I avoid entering any additional "FullTrades" when I have a "FullTrade" position on?
My trades are entered in OnBarUpdate(). My targets and stops are adjusted in OnPositionUpdate().
In Initialize() I have:
EntriesPerDirection = 3;
EntryHandling = EntryHandling.AllEntries;
Most "FullTrades" work fine, but whenever one "Leg" has hit it's target, I can find myself entering a new trade if the conditions are right.
IPosition doesn't seem to be available in OnBarUpdate() and OnPositionUpdate is too late. Will I need to track this on my own with additional variables? (Hopefully not, but possible.)
What are your thoughts?
Brian

Comment