I have Indicator named "KobiPAInd".
I created Indicator named "KobiPAStartegyInd" .
This Indicator call other indicator named "KobiPAInd" as follow:
protected override void OnBarUpdate()
{
m_PAInd = KobiPAInd(0.2,m_Strength,m_SwingTime);
if (!m_PAInd.Ready())
return;
}
The problem is that the OBU of KobiPAInd wasn't called.
I put a print in the OBU of KobiPAInd and also put a break point using a debugger but the OBU of KobiPAInd wasn't called.
but when I called m_PAInd.Update(); every thing was OK!
protected override void OnBarUpdate()
{
m_PAInd = KobiPAInd(0.2,m_Strength,m_SwingTime);
m_PAInd.Update();
if (!m_PAInd.Ready())
return;
}
it doesn't matter if COBC set to false or true.
calling Update() solve the problem . Why??
thanks
Comment