Array won't update
I need the 10 last opened order prices in an array, however I'm starting by first gathering the Bid ticks as it seems easier.
The previous code does not allot the values correctly. I need it to update every array element with the previous ticks so there are the last 10 ticks in the array so I can then compare to another one. Super late tried everything. Any ideas ?
I would start with the following idea. Optionally look for ArrayCopy to make the coding easier.
for(int x=10; x>=1; x--)
I would start with the following idea. Optionally look for ArrayCopy to make the coding easier.
Thx. Anything else?
Thx. Anything else?
You may cycle the array without swapping its values. This is what I would do. But I would suggest to finish the simple idea first.
I need the 10 last opened order prices in an array, however I'm starting by first gathering the Bid ticks as it seems easier.
The previous code does not allot the values correctly. I need it to update every array element with the previous ticks so there are the last 10 ticks in the array so I can then compare to another one. Super late tried everything. Any ideas ?