Is it possible to code an indicator that could change 1min to 1hr timeframe?

1 View
Ercwlff Bowell
Answered 3 months, 3 weeks ago
<p id="isPasted">Yes, it is possible to create an indicator that dynamically switches between 1-minute and 1-hour timeframes. This can be achieved by using the request.security() function in Pine Script to fetch data from the 1-hour timeframe while on a 1-minute chart.&nbsp;</p><p><br></p>