I can't seem to figure this one out.
I want to add a set of buffers that are for output so I can turn the display on/off.
I also want to be able to turn the EASY TO READ DISPLAY on/off.
Can someone figure out why when I turn the chart off, the display values are set to 0?
I have the "z" buffers that I want to use as the output buffers. When I use them in the SetIndexBuffer ( 0 , zbuf0 );the display is 0!
But I am assigning them a value with: zbuf0 = buf0 ;
I know it has to be so dang simple it isn't funny.
Thanks.It's an age since I wrote an indicator, but I seem to recall that for indicators, Metaquotes, in their infinite wisdom, reset all variables (including arrays) whenever the user settings are changed. This does not happen with EA's - and it shouldn't happen with indicators either, but it does!
That's how I remember it, but I may be completely wrong
It's an age since I wrote an indicator, but I seem to recall that for indicators, Metaquotes, in their infinite wisdom, reset all variables (including arrays) whenever the user settings are changed. This does not happen with EA's - and it shouldn't happen with indicators either, but it does! That's how I remember it, but I may be completely wrong
Thanks.
But that's not the problem.
I know it's something simple.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I can't seem to figure this one out.
I want to add a set of buffers that are for output so I can turn the display on/off.
I also want to be able to turn the EASY TO READ DISPLAY on/off.
Can someone figure out why when I turn the chart off, the display values are set to 0?
I have the "z" buffers that I want to use as the output buffers. When I use them in the SetIndexBuffer ( 0 , zbuf0 );the display is 0!
But I am assigning them a value with: zbuf0 = buf0 ;
I know it has to be so dang simple it isn't funny.
Thanks.