MyStrategy.Position
in OnBarUpdate() of an indicator which is created by the strategy in its "if (State == State.Configure)" section.
Is there a vay to do that?
I have tried the usual C# stuff, such as declaring:
public Strategy Strategy { get; set;}
In the Indicator and using:
MyIndicator.Strategy = this;
just after creating the indicator object.
Everything I try has not worked yet.
Is there a way to do it?
Comment