iRVI need help
Hi,
I am trying to use the Relative Vigor Index Indictaor in my EA
rviHandle=iRVI(NULL,0,10);
CopyBuffer(rviHandle,0,0,3,rviVal)<0
I only get the RVI main value in the array. How do i get the RVI signal value??
Thanks
//------------------------------------------------------------
You have an example on the "MQL5 Reference".
The number of the indicator buffer must be 1.
That is, if( CopyBuffer( rviHandle, 1, 0, 3, rviVal) > 0) { //that's good! you got the signal value... }
I am able to get the signal value using CopyBuffer( rviHandle, 1, 0, 3, rviVal)
Thanks JMRodsMartins
- www.mql5.com
Hi,
I am trying to use the Relative Vigor Index Indictaor in my EA
rviHandle=iRVI(NULL,0,10);
CopyBuffer(rviHandle,0,0,3,rviVal)<0
I only get the RVI main value in the array. How do i get the RVI signal value??
Thanks