SKYROCKET | CBDR Range

Overnight Range Support: Thanks to valuable feedback from Barnyard2106, the indicator now correctly handles ranges that span over midnight. Users can define a range starting late in one day and ending early in the next, such as from 21:00 to 04:00, and the indicator will accurately plot throughout the entire period.
Close to Close Calculation: The 'Close to Close' feature has been fixed. When selected, the indicator will consider the highest and lowest closing prices within the specified range to plot the levels. This is particularly useful for traders focusing on closing price dynamics.
Instructions for Use:
Set the start and end times for your desired range. If your range ends on the next day, simply set the end time to the appropriate value (e.g., Start: 23:00, End: 03:00), and the indicator will handle it seamlessly.
Adjust the time-zone difference based on your desired time-zone.
Select 'Close to Close' if you wish to calculate the range based on closing prices.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.