Optimizing a Strategy On Different Timeframes
Posted: Jul 15 2024
Hello Everyone! I'm new to MultiCharts, having recently transitioned over from TS. I like to optimize my strategies on different bar sizes - e.g., 1 hour, 2 hour, 4 hour, and daily. Some of my strategies perform well on the 1 hour bar, but not so well on the daily bar. While other strategies perform well on the daily bar, but not so well on the 1 hour bar. Is there a way to set the bar size as a variable in PowerLanguage so that I can Optimize not just the strategy, but the timeframe on which the strategy trades? I can do this manually by optimizing on different bar sizes, and comparing the results. But I am hoping that there's a way to optimize not just the strategy, but the bar size on which the strategy trades without having to manually re-optimize on every bar size I am testing. Thanks in advance for any advice you can offer.
Jeff R.
Jeff R.