OPEN-SOURCE SCRIPT
Telah dikemas kini Daily Range

Hey traders,
at first thanks to the one and only Master Educator Stefan Kassing for sharing his legendary system with us!
And also credit to Mortdiggiddy, RootDuk and PineCoders for helping me with the script =)
This script is calculating the daily range (in pips) of the current market you are in, in relation to the last 70 days (10 weeks).
It is used for a possible Take Profit in Stefan Kassing's System.
How to add the script to your chart:
1. Click "Add to Favorite Scripts"
-> i.imgur.com/DyGPaBz.png
2. Go in the Chart & click the little arrow in the upper bar and then click "Daily Range", then the Daily Range appears in the top left corner
-> i.imgur.com/fFl3W28.png
To avoid errors make sure to right-click the Y-Axis on the right side of the chart and then left-click "Scale Price Chart Only".
-> i.imgur.com/2UVA86u.png
Also be aware that the daily range is only showing up, if you are in the daily time interval or below and you are not hovering with the cursor over the past candles respectively above or below them.
If you are using this script in exotic currencypairs or uncommon other markets, the daily range can be incorrect or not showing up.
So don't hesitate contacting me, then I will try to add the markets that you want to.
To change the color or the decimal places of the number, you can click the gear in the upper left corner.
-> i.imgur.com/FA6Su7h.png
Happy Pips
at first thanks to the one and only Master Educator Stefan Kassing for sharing his legendary system with us!
And also credit to Mortdiggiddy, RootDuk and PineCoders for helping me with the script =)
This script is calculating the daily range (in pips) of the current market you are in, in relation to the last 70 days (10 weeks).
It is used for a possible Take Profit in Stefan Kassing's System.
How to add the script to your chart:
1. Click "Add to Favorite Scripts"
-> i.imgur.com/DyGPaBz.png
2. Go in the Chart & click the little arrow in the upper bar and then click "Daily Range", then the Daily Range appears in the top left corner
-> i.imgur.com/fFl3W28.png
To avoid errors make sure to right-click the Y-Axis on the right side of the chart and then left-click "Scale Price Chart Only".
-> i.imgur.com/2UVA86u.png
Also be aware that the daily range is only showing up, if you are in the daily time interval or below and you are not hovering with the cursor over the past candles respectively above or below them.
If you are using this script in exotic currencypairs or uncommon other markets, the daily range can be incorrect or not showing up.
So don't hesitate contacting me, then I will try to add the markets that you want to.
To change the color or the decimal places of the number, you can click the gear in the upper left corner.
-> i.imgur.com/FA6Su7h.png
Happy Pips
Nota Keluaran
The calculation is done in relation to the last 50 days, not 70 daysNota Keluaran
Fixed the calculation with crypto currenciesNota Keluaran
- Changed the script to PineScript version 5- Changed the calculation of the Daily Range
- Added an input field that allows the user to modify the number of days used in the calculation of the Daily Range (the default is 50)
If there are any issues with this version, and you have improvement suggestions, please let me know.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.