If anyone can give me answer?
thanks!
RSV is a buffer, if I set a element of it to a value, for example,
RSV[0] = 50,I print it, it displays 0, why?
RSV is a buffer, if I set a element of it to a value, for example,
RSV[0] = 50,I print it, it displays 0, why?
it is a global variable
double RSV[];
it is a global variable
double RSV[];
OK, if it's not a Indicator buffer you have to define how many elements are in the Array, otherwise it has 0 elements and then all it's values . . . all 0 of them, are 0.
You need to do this . . .
double RSV[1000]; <------ adjust to the number you need or use ArrayResize()
Do you know how to get the value of array element?
thanks!
Do you know how to get the value of array element?
thanks!
RSV is a buffer, if I set a element of it to a value, for example,
RSV[0] = 50,I print it, it displays 0, why?
thank your help, the value of RSV is correct.there is another question,please see the code.
double percentK[512];
double RSV[512];
limit=Bars-counted_bars;}
the percentK[i] value is -0,why?
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Dear expert:
I use history data of auto trade system to test the function,the value of RSV is zero,Please tell me why?
while(i>=0)thanks!