inside the main indicator every 1 min I called the Update( ) of another indicator which containes 5 Min bar series.
I do it as follow.
m_PAInd = PAInd(BarsArray[(int)PA_BarPeriod_e.Bar5Min]);
m_PAInd.Update();
I added a print log inside the OnBarUpdate() of PAInd indicator .
the result was that the OBU of PAInd indicator has been called every 5 min and not every 1 min.
the COBC of PAInd indicator was set to false.
accoring to NT 7 help in order to force OBU it needs to call the Update() methods
"This method will force the OnBarUpdate() method to be called so that indicator values are
updated."
1. Does it work on historical data too?
2. whats the NT policy regarding Update() method ?
3. In real time if COBC= false does the call to update shold trig the OBU every time I call Update?
4. if COBC of the Main indicator set to true and I call another indicator update does it trig the OBU of the called indicator ?
Comment