I would like to know, whether it is planned to build in some sort of state-caching mechanism of indicators? I see no reason to recalculate whole loads of indicator output everytime i change a timeframe. With as much optimisation i could do on my indicator changing from 5 mins to 1 min timeframe takes 20 seconds on a c2d processor with 2 gigs of memory everytime. All state information (indicator variables) is known to you, all previously calculated indicator output also known to you, so it would be sufficient to store these for each timeframe. In a perfect solution a cache would be considered dirty if any dependent indicators were recalculated. But it would be very much satisfactory if there was at least a switch for turning on/off caching for certain indicators and a refresh button for manual cache update.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I would like to know, whether it is planned to build in some sort of state-caching mechanism of indicators? I see no reason to recalculate whole loads of indicator output everytime i change a timeframe. With as much optimisation i could do on my indicator changing from 5 mins to 1 min timeframe takes 20 seconds on a c2d processor with 2 gigs of memory everytime. All state information (indicator variables) is known to you, all previously calculated indicator output also known to you, so it would be sufficient to store these for each timeframe. In a perfect solution a cache would be considered dirty if any dependent indicators were recalculated. But it would be very much satisfactory if there was at least a switch for turning on/off caching for certain indicators and a refresh button for manual cache update.
Thanks,
Adam