OPEN-SOURCE SCRIPT
Telah dikemas kini R-HL-PDW

This script doesn't give buy or sell signals. It gives a reference point to the previous day's high and low as well as the previous week's high/low. This will be helpful for intraday trading decisions.
Nota Keluaran
This script doesn't give buy or sell signals. It gives the following references to make intraday trading decisions,
PDH - Previous day high
PDL - Previous day Low
PWH - Previous week High - Only gets printed when the difference between PWH and PDH is 2%
PWL - Previous week Low - Only gets printed when the difference between PWL and PDL is 2%
PMH - Previous month High - Only gets printed when the difference between PMH and PDH is 4%
PML - Previous month Low - Only gets printed when the difference between PML and PDL is 4%
CWH - Current week High - Only gets printed when the difference between CWH and PDH is 2%
CWL - Current week Low - Only gets printed when the difference between CWL and PDL is 2%
CMH - Current Month High - Only gets printed when the difference between CMH and PDH is 4%
CML - Current Month Low - Only gets printed when the difference between CML and PDL is 4%
Strong Zone or High Probability Zone - This is the zone where multiple high/low matches and painted with a different color and it doesn't mark with any text.
Nota Keluaran
plotOnlyToday - If it is true then levels will be plotted for the current day. If not true then levels will be plotted for historical values.monthlyPercentage - Difference between PDH/L to monthly falls on the percentage value then respective monthly levels get printed
weeklyPercentage - Difference between PDH/L to weekly falls on the percentage value then respective weekly levels get printed
valuetoCalcStrongZone - We can use atr value of the stock but I prefer a constant value if the levels fall within the range then they will be marked as a strong zone.
strongZoneColor - Color for strong zone
sessRange - your trading session timing
Note - this script works well with default values for Indian indices.
Nota Keluaran
lookahead_on - Plot will not be printed in future areaNota Keluaran
Corrected few bugs introduced with barmerge.lookahead_onNota Keluaran
Risk Disclosure: This indicator does not provide buy/sell signals and relies on past data, which may not accurately reflect future outcomes. We are not liable for any profits or losses incurred. Please assess and trade at your own risk.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.