A possible solution to optimize Bar Sizes (Timeframes, Barintervals)
Posted: Sep 10 2024
Hello there,
Though currently there is no standard optimization feature in MultiCharts to optimize bar size, here is a possible solution to utilize MultiCharts Portfolio Trader (MCPT) to do so.
* Create a portfolio in MCPT
* Insert the same instrument with multiple bar intervals.
* Insert your signals
* Under "Money management signal", insert "_MCPT_OptimizeBarSize_MMS"
* Set the data range
* Optimization ...
In the Optimizable Inputs table
Set Start Value, End Value, Step for your signal as well as BarSizeNum for _MCPT_OptimizeBarSize_MMS
* After the optimization is completed, review the results vs BarSizeNum to study what bar size work the best for your strategy.
Please import the attached _MCPT_OptimizeBarSize_MMS, load the sample test workspace, update to your strategy and symbol.
Hope you can make use of this to optimize bar size. You may even see a better solution.
Harrison
Though currently there is no standard optimization feature in MultiCharts to optimize bar size, here is a possible solution to utilize MultiCharts Portfolio Trader (MCPT) to do so.
* Create a portfolio in MCPT
* Insert the same instrument with multiple bar intervals.
* Insert your signals
* Under "Money management signal", insert "_MCPT_OptimizeBarSize_MMS"
* Set the data range
* Optimization ...
In the Optimizable Inputs table
Set Start Value, End Value, Step for your signal as well as BarSizeNum for _MCPT_OptimizeBarSize_MMS
* After the optimization is completed, review the results vs BarSizeNum to study what bar size work the best for your strategy.
Please import the attached _MCPT_OptimizeBarSize_MMS, load the sample test workspace, update to your strategy and symbol.
Hope you can make use of this to optimize bar size. You may even see a better solution.
Harrison