Wrapper for slow indicator for backtesting
If a technical indicator works very slow, and I wish to include it in an EA (using iCustom), is there a some "wrapper" that could cache the indicator results to a file based on the particular indicator inputs? This way I could get a better speed next time when I backtest it using the same set of parameters, since the "wrapper" could read the result from file rather than recalculate the result from the indicator.
- indicator inputs resulting in slow backtest
- Can an EA get a value from an indicator on the chart
- Backtests very slow when using iCustom
jackee1234: If a technical indicator works very slow, and I wish to include it in an EA (using iCustom), is
|
|
jackee1234:
If a technical indicator works very slow, and I wish to include it in an EA (using iCustom), is there a some "wrapper" that could cache the indicator results to a file based on the particular indicator inputs? This way I could get a better speed next time when I backtest it using the same set of parameters, since the "wrapper" could read the result from file rather than recalculate the result from the indicator.
If a technical indicator works very slow, and I wish to include it in an EA (using iCustom), is there a some "wrapper" that could cache the indicator results to a file based on the particular indicator inputs? This way I could get a better speed next time when I backtest it using the same set of parameters, since the "wrapper" could read the result from file rather than recalculate the result from the indicator.
First thing to do is to be sure your indicator code is optimized.
If yes and still slow, it may happens, you will have to write your "wrapper" or data cache yourself.