I am having
an issue with arrays. I’m using this code as a part of my program
PreviousUpTick = CurrentUpTick;
CurrentUpTick = Ask;
PreviousDnTick = CurrentDnTick;
CurrentDnTick = Ask;
if (CurrentUpTick < PreviousUpTick )
if (CurrentDnTick > PreviousDnTick )
When using only
this simple code to bump up or down a histogram it works well. Every array
starts at value 0 and gets added or subtracted accordingly by 1 on every iteration.
When I use this in another script that plots objects instead on a histogram the
arrays are getting assigned EMPTY_VALUE, so it starts bumping up or down from
214783647 instead of 0 although I initialized all arrays with 0.
I would appreciate
any help or clue.
I'm talking abot buffers. Sorry for not being precise.
Yup, job done.
Thank you guys. U R awesome
To add comments, please log in or register