OPEN-SOURCE SCRIPT
Telah dikemas kini Malaysian SnR [by DanielM]

The Malaysian SnR (Support and Resistance) levels are a popular trading concept that identifies specific price levels on charts which are considered significant for trading decisions. Here's a breakdown of the concepts:
A Levels and V Levels: These refer to specific types of SNR levels:
Fresh and Unfresh Levels:

Gaps:
A gap occurs when you have two bullish candles or two bearish candles. It is defined as the area between the close of the first candle and the open of the next one. It is marked by drawing a line at the closing price of the first candle, thus representing the level where the gap was initially observed. The indicator highlights these levels with a blue lines for bullish gaps and violet lines for bearish gaps.
Fresh vs. Unfresh Gaps:
Similar to A and V levels, gaps can be classified as fresh or unfresh. A fresh gap is one that hasn't been touched by a wick after it was created. These are often considered more significant because they may hold stronger as potential support or resistance. Unfresh gaps have been touched by a wick, and they may be considered less significant. A gap that has been tested can become fresh again if it's crossed by a candle body.

Inputs:
A Levels and V Levels: These refer to specific types of SNR levels:
- A Levels: These are formed at the highest points of price movements. The indicator highlights these levels with a red line.
- V Levels: These are formed at the lowest points of price movements, typically observed as valleys in chart patterns. The indicator highlights these levels with a green line.
Fresh and Unfresh Levels:
- Fresh Levels: These are price levels that have not been touched by a wick since their formation. They are considered more significant because they might provide a stronger reaction when the price touches these levels again.
- Unfresh Levels: These are levels that have been touched by a wick since their formation. Each time a level is tested, it is considered less significant because it might offer weaker resistance or support. A level that has been tested can become fresh again if it's crossed by a candle body.
Gaps:
A gap occurs when you have two bullish candles or two bearish candles. It is defined as the area between the close of the first candle and the open of the next one. It is marked by drawing a line at the closing price of the first candle, thus representing the level where the gap was initially observed. The indicator highlights these levels with a blue lines for bullish gaps and violet lines for bearish gaps.
Fresh vs. Unfresh Gaps:
Similar to A and V levels, gaps can be classified as fresh or unfresh. A fresh gap is one that hasn't been touched by a wick after it was created. These are often considered more significant because they may hold stronger as potential support or resistance. Unfresh gaps have been touched by a wick, and they may be considered less significant. A gap that has been tested can become fresh again if it's crossed by a candle body.
Inputs:
- Number of bars to look back to detect A levels, V levels, and Gaps.
- Allows users to toggle the visibility of only fresh A and V levels.
- Allows users to decide whether to display gap levels or not.
- Allows users to decide whether to display only fresh gaps.
- Allows the users to set the maximum number of A levels, V levels and gaps on the chart.
Nota Keluaran
Added Custom Alerts:Introduced four alert options to notify when:
- Fresh A/V levels are touched or crossed.
- Unfresh A/V levels are touched or crossed.
- Fresh gap levels are touched or crossed.
- Unfresh gap levels are touched or crossed.
Alerts can be easily enabled or disabled in the settings.
Fixed Premature Level Drawing:
Resolved an issue where A/V Levels and Gap Levels were drawn before the candle closed. Levels are now only created after the bar is fully confirmed, ensuring accuracy and preventing false alerts.
This update enhances alert reliability and improves the accuracy of level drawing for better trading decisions.
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.
🟢 FREE Trading Signals: t.me/danielmtrading
🔥 Best BROKER - Get 20% Deposit BONUS - bit.ly/41UtANI
🔥 Best Crypto Exchange - Get 45% Deposit BONUS bit.ly/43MybTA
🔥 Best BROKER - Get 20% Deposit BONUS - bit.ly/41UtANI
🔥 Best Crypto Exchange - Get 45% Deposit BONUS bit.ly/43MybTA
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.
🟢 FREE Trading Signals: t.me/danielmtrading
🔥 Best BROKER - Get 20% Deposit BONUS - bit.ly/41UtANI
🔥 Best Crypto Exchange - Get 45% Deposit BONUS bit.ly/43MybTA
🔥 Best BROKER - Get 20% Deposit BONUS - bit.ly/41UtANI
🔥 Best Crypto Exchange - Get 45% Deposit BONUS bit.ly/43MybTA
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.