Found it:
ArrayFree(buffer);
I'm using strategy tester and was finishing job prematurely.
Cheers anyway.
The strategy tester goes through about a month then stops prematurely stating using about 640 meg of memory.
Is this normal or is there anything else I should be doing?
Despite this the strategy tester generates a balance of £27,000 in 2 weeks starting with £10,000, not bad so far :)
Thanks.
paulgriffiths:
Most probably a bug in your code. What the log is saying ?
The strategy tester goes through about a month then stops prematurely stating using about 640 meg of memory.
Is this normal or is there anything else I should be doing?
Despite this the strategy tester generates a balance of £27,000 in 2 weeks starting with £10,000, not bad so far :)
Thanks.
Alain Verleyen:
Most probably a bug in your code. What the log is saying ?
Most probably a bug in your code. What the log is saying ?
Not reporting any bug or divide by zero, just the amount of memory used.
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
I'm creating buffers using:
int copy=CopyBuffer(indicatorhandle,1,start_time,stop_time,HighsBuffer);
Do I have to delete them?
Thanks.