Buffers are not allocated for RSI_MA_Diff and MA_of_MA_Diff.
SetIndexBuffer (6 , gdaRSI) ; SetIndexBuffer (7 , RSI_MA_Diff) ; SetIndexBuffer (8 , MA_of_MA_Diff); //SetIndexStyle (6, DRAW_NONE) ; //SetIndexDrawBegin(6,RSI_Period) ; //SetIndexLabel (6,"RSI") ;
It worked! Thank you @Naguisa Unada
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
So I want to code the Moving Average of TDI's MA difference and I'm at my wit's end right now. This is my code
All other buffer is working fine and is showing in the MT4 seperated window except for the TDI_MA[i]
Normally I would print indicator value out to check if there is any error in the calculation but I don't know why the Print function doesn't print anything for me when I test it in MT4
Thanks in advance!