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 :)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.