OPEN-SOURCE SCRIPT
Telah dikemas kini Session Ranges

This is session range indicator with CLEAN code and CLEAR data presentation. There are other range indicators available but when I looked I found them unreliable or making too much screen clutter. WIth mine you can have 3 ranges on screen, measure to bodies or wickes, customise the period, (set your timezone), colours, labels and all that good stuff...
I'm very happy to share it with everyone (and publishing is a great way to archive my code) but ultimately this indicator is by me, for me. Whilst i added a few bells and whistles for everyone this indicator is precisely designed to:
Show me EASILY see what happened in the Asia session and whether we are breaking out with MINIMAL screen clutter. I only use the 3, 15 and 60 - it won't work on the 1, 5, 120 etc because I dont need it to. How I use it is below.

I'm very happy to share it with everyone (and publishing is a great way to archive my code) but ultimately this indicator is by me, for me. Whilst i added a few bells and whistles for everyone this indicator is precisely designed to:
Show me EASILY see what happened in the Asia session and whether we are breaking out with MINIMAL screen clutter. I only use the 3, 15 and 60 - it won't work on the 1, 5, 120 etc because I dont need it to. How I use it is below.
Nota Keluaran
I used the original script last week and I found it really useful - for me, knowing that the London session has broken the Asia season is power information. However it meant I had to do more work by checking if the candle had crossed the line - and I hate work if I know a computer can do it for me so I automated it. THE SCRIPT NOW HIGHLIGHTS THE CANDLES THAT BREAK THE PREVIOS SESSION RANGE so I don't have to waste energy looking for where the line is and if the candle has crossed it.In addition, I was curious as to whether there is any relationship between yesterday's range and today's price so I added a function to extend, for example, yesterday's Asia range to today - no idea whether that has value yet.
See below, if you switch on ALL the features its too busy in my opinion. Decide what the question is you are trying to answer and only use the features that answer that question.
Good luck...
Nota Keluaran
bug fixNota Keluaran
This is a total rewrite - this version has none of the DNA of the old version. Its completely new and superior. Point of note -
This version only show one range - its too much work to maintain it with multiple ranges. You can just add multiple versions of the same script.
-You can increase time in 15 min intervals
-You can customise all colours elements separately now (main range, extended, expanded, filled
-The range will paint and grow whilst its being formed (it will not await the end of teh session to appear)
-There is an option to show an expanded range line which is a line above and below that is a multiple of the range
-You can shoe the range pips (I don't even remember coding that - I must have been drunk hen I was writing it)
-From my testing its totally accurate now (the old version had a bug here and there
Nota Keluaran
Added show mid rangeCan chose text size for labels
Nota Keluaran
added the function "use bodies instead of wicks" for rPudNota Keluaran
code maintenanceNota Keluaran
was a gap in the range line on dailyNota Keluaran
this is the latest version of this script. It has less features than previous versions. Its been a year or so and i understand now what is useful to me and what isn't so I've removed the unused features to make is easier to maintain.Nota Keluaran
I've completely re-written this script. Its now very efficient, easy to use and highly customisable.Nota Keluaran
Can extend previous key levels xxx into new session.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.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
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.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.