Heavy EA in backtesting
-
I created an EA that is apparently working right, but when running backtesting in "every tick" it is too heavy and takes a long time. Am I perhaps put the blocks in the wrong place? What is the tabs (on init, on timer, on tick, on trade, onchart, on deinit)? I put all the blocks on the "on tick". Does this not let the EA too heavy? thank you.
-
This is a looooong story and the answer is "It depends". It's true that EA bulders, at least mine, produces big and slow code. I mean... compared to what a professional programmer can do if he code the same strategy manually. What blocks to use and how to connect them matters of course, but I can't tell you which blocks to connect where. It depends. In general, put lightweight blocks on the top... if you know what they are, because most of the time even I don' know. And whenever possible, use less blocks.
https://fxdreema.com/demo/mt4-events