I have my custom strategy which is now using 9 time frames - M30, M60, M90, M120, M180, M240, M360, M480 and M1440. M30 is my primary time frame (BarsArray[0]).
This strategy for single instrument uses around 50-60 MB of RAM memory.
I have prepared next version of this strategy where I have added 3 more time frames and nothing more. This time memory uses jumped to almost 150 MB for single instrument.
I am giving "days to load" = 200 because I need such period for M1440 calculations.
Do you have any suchestions how can I make memory usage be not so big. For M1440 I need 200 days but for M15 or M60 I need not more than 2 or 5 days to load.
Please support.
Comment