help required to debug why indicator class is calculating only current chart values
Perhaps the problem is here. Try replacing this with pTimeFrame. I didn't run your code
CiVWMATx::CiVWMATx(string pSymbol,ENUM_TIMEFRAMES pTimeFrame,SParam_iVWMA_TX &pParam_iVWMA) : CBase(pSymbol,mTimeFrame) {
Vladislav Boyko #:
Perhaps the problem is here. Try replacing this with pTimeFrame. I didn't run your code
@Vladislav Boyko Thanks a lot man, yes that's the exact cause of problem.
I have tried to everywhere else, except this ... what a silly mistake :)
Hi
I have created a VWMA custom indicator, and using an OOP class to get VWMA_Tx (triple period values) for different timeframes.
The class is however returning _Sybmol + _Period data only, irrespective of initializing class with different time frames.
Please help me out, what is wrong in my code.
Zip file attached for all relevant code files (for one to run it for debug) and OOP class is as below:
Thanks in advance.