- Is this normal for MetaTester to completely fill my SSD
- Where can I download data/ticks for backtesting
- Please Help: MT5 Strategy Tester errors: "No History Data" after bars imported and Flat line on Graph results
I use "Every tick based on real ticks", with no difficulty even on multi-symbol — Intel Core i7-4790T @ 2.70GHz, 16GB RAM, 1TB SSD (Windows 10 Pro 64-bit) .
I do however, always try to make my code as efficient as possible, both in speed and memory usage.
There is no need to read iClose() on every tick (that would be the same as the current Bid price). I only read previous bar's OHLC data and indicator data on new bar only (and even then, only if needed).
I use "Every tick based on real ticks", with no difficulty even on multi-symbol — Intel Core i7-4790T @ 2.70GHz, 16GB RAM, 1TB SSD (Windows 10 Pro 64-bit) .
I do however, always try to make my code as efficient as possible, both in speed and memory usage.
There is no need to read iClose() on every tick (that would be the same as the current Bid price). I only read previous bar's OHLC data and indicator data on new bar only (and even then, only if needed).
Detecting the start of a new bar or candle
Fernando Carreiro, 2022.04.24 00:38
Detecting the start of a new bar or candle, in the OnTick() event handler of an expert advisor.my computer cpu 12900k ,128gb memory, 16TB harddisk, .....
Do not double post!!!!!!!
You already had replies here.
I have deleted your duplicated topic!
You need to improve your code. It is too "bulky" and using too many resources. Programming is not just about writing lines of code. It has to be "good" code if want it to work correctly and efficiently.
If I'm able to do, not only single back-tests, but also full optimisations on 16GB RAM / 1TB drive, then that just shows you how inefficient your code is if you can't even do a simple back-test with 128GB RAM / 16TB drive.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use