Would the following sample code accomplish this or am I missing something?
Note: The Indicators I use for the BuySignal do have CalculateOnBarClose = true; but I understood from a previous post that if I set strategy to CalculateOnBarClose = false; then that would have the indicators called on every tick, I am hoping the below code works around this.
protected override void Initialize()
{
CalculateOnBarClose = false;
}
protected override void OnBarUpdate()
{
if (Bars.PercentComplete == 1)
{
// Buy Signal processing code
}
// Order Management processing code
}

Comment