B_A_Z:
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
Documentation on MQL5: Timeseries and Indicators Access / CopyBuffer
- www.mql5.com
Timeseries and Indicators Access / CopyBuffer - Documentation on MQL5
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 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