You might remember this script Supertrend-Heatmap-Multi-timeframes/ ?
A follower, asked me in a comment to do a version where YOU guys can select the timeframes
Well... what follower asks, follower (sometimes) gets. I'm not Santa Claus but this is Christmas with a few months in advance (#oh #oh #oh)
- Accounted for the "Same as Symbol" case
- Added some comments for more clarity
I learned a few months after that lookahead=on is useful for historical bars when the source is like this close, high etc ... basically with an index
sharing is caring
Could be easily updated as it's open-source to do what you need :)