The intervals available in the dropdown menu of the resolution widget for scripts now include any custom intervals you have defined for your charts.
Let’s say you want to use an MA indicator on a custom 1234-minute interval. First, create the custom interval using the chart’s Time Interval icon:
Once you have added the custom interval, it will automatically become available in the resolution widget’s dropdown menu of any script using one. Say we want to use the Moving Average built-in on a 1234-minute interval. We bring up its Settings/Inputs tab, and we can now select that custom timeframe from the Resolution dropdown menu. Easy peasy:
See this previous blog post for more information on multi-timeframe analysis on TradingView.
For the Pine coders amongst you, these changes apply to any resolution widget dropdown menu, whether it is invoked through a `study()` call using the `resolution` parameter or through an `input()` call using the `input.resolution` type.
We hope you find this much-requested feature useful. Please continue sending us your feedback for improvement. We build TradingView for our users and love hearing from you.