INVITE-ONLY SCRIPT

Trend Following with Dynamic Price Zones

ที่อัปเดต:
This script provides a complete framework for following trends, especially on those assets which are sufficiently liquid and don't go through random spikes.

Since it is a trend-following system, it works well during trends only. However, I cannot claim any numbers since the execution requires some discretion at the user's end. This framework can also be combined with other technical tools such as trend lines to increase its efficacy.

Features:

Dynamic Price Zones:
• The Dynamic Price Zones (DPZ) are determined using a proprietary logic that incorporates price movement and certain other factors.
• These zones change more rapidly than conventional support and resistance (S/R) zones, which is why I have named them "Dynamic".
• DPZs can serve as support and resistance zones and help with trend identification to some extent.
• The upper boundary of a zone is called Dynamic Price Zone High (DPZ-H), while the lower boundary is called Dynamic Price Zone Low (DPZ-L).


Colour Bars:
• Candle colours are based on another proprietary logic, independent of dynamic price zones.
• These are not traditional moving average-based coloured bars, which is evident from the presence of uncoloured bars in between.
• The uncoloured bars indicate periods of uncertain trends.
• Colour functionality helps in smoothening the trend and assists in riding it for as long as possible.


Stats Table:
• RSI
• VWAP
• % Change from the previous day's closing
• Dynamic Price Zone High (DPZ-H) value
• Dynamic Price Zone Low (DPZ-L) value


Settings:

สแนปชอต

DPZs are displayed as horizontal lines with background fill by default, but users can toggle lines and background fill on or off.
Bar colours can be customized according to user preferences.
• The table can be enabled or disabled based on user input.
• The position of the table can be changed based on 4 available options: Top Left, Top Right, Bottom Left, and Bottom Right.
Users can toggle individual table fields on or off. For example: If the user wants to hide "Vwap" and "%Change" values, he can turn them off. In that case, only 3 fields will be displayed on the table without occupying additional space.
Background and text colours for each field of the table can be customized based on user preferences.

สแนปชอต


How to Use the Dynamic Price Zones:
• When the price is above a DPZ, it indicates a bullish trend, suggesting the possibility of higher prices. These zones are termed Bullish DPZs.
สแนปชอต

• Conversely, if the price is below a DPZ, it signals a bearish trend, with an expectation of lower prices. These zones are termed Bearish DPZs.
สแนปชอต

• In a trending market, when the price returns to a previous DPZ, it can present a trading opportunity in the direction of the prior trend (e.g., if the market is falling and the price returns to a previous DPZ, it is likely to reject it).
สแนปชอต

Consecutive ascending DPZs indicate a shift in buyers from lower to higher levels and can provide buying opportunities. This also indicates a period of a strong bullish trend.
สแนปชอต

• Similarly, consecutive descending DPZs indicate a shift in sellers from higher to lower levels and can provide selling opportunities. This also indicates a period of a strong bearish trend.
สแนปชอต

• Please note that we must be flexible when determining the consecutive zones. For example: There may be a few smaller bearish DPZs in between the bullish DPZs but if the area is dominated by the bullish DPZs then we can consider the zones as consecutive. Similar is true for bearish consecutive zones.
สแนปชอต

Closely stacked or adjacent zones suggest that prices will likely remain within a range, moving sideways.
สแนปชอต

Wider zones act as big hurdles and, the price may struggle to cross them. They may also lead to a sideways movement.
สแนปชอต

Zones that remain clean and untested for several sessions are likely to act as strong support or resistance when the price revisits them.
สแนปชอต

สแนปชอต


Bullish Examples:
สแนปชอต
สแนปชอต


Bearish Examples:
สแนปชอต
สแนปชอต


Some Examples of the Complete System
สแนปชอต
สแนปชอต
สแนปชอต


Trend follower system combined with Trendlines
สแนปชอต
สแนปชอต


Special Thanks
I would like to extend my special thanks to all the experts whose lectures and blogs I have studied to gain a limited yet significant knowledge of the Pine language.

Best regards,
Rajat Kumar Singh (johntradingwick)
Community Manager (India), TradingView.
เอกสารเผยแพร่
Release Notes:
- Added titles to DPZ High/Low lines
- Added title to Background fill
Bands and ChannelsSupport and ResistanceTrend Analysistrendfollowingtrendtrading

สคริปต์เฉพาะผู้ได้รับเชิญเท่านั้น

การเข้าถึงสคริปต์นี้จำกัดเฉพาะผู้ใช้ที่ได้รับอนุญาตจากผู้เขียน และมักจะต้องชำระเงินก่อน คุณสามารถเพิ่มลงในรายการโปรดของคุณได้ แต่คุณจะสามารถใช้งานได้หลังจากขออนุญาตและขอรับจากผู้เขียนเท่านั้น ติดต่อ johntradingwick สำหรับข้อมูลเพิ่มเติม หรือทำตามคำแนะนำของผู้เขียนด้านล่าง

TradingView ไม่แนะนำให้ชำระเงินสำหรับการซื้อสคริปต์และไม่แนะนำให้ใช้งานสคริปต์นั้นๆ จนกว่าคุณจะเชื่อมั่นในผู้เขียนสคริปต์ 100% และเข้าใจว่าสคริปต์ทำงานอย่างไร ในกรณีอื่นๆ คุณสามารถหาทางเลือกโอเพนซอร์สที่ดีได้ฟรีใน สคริปต์ชุมชน ของเรา

คำแนะนำของผู้เขียน

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?

คำเตือน: กรุณาอ่าน ก่อนร้องขอการเข้าถึง

Rajat Kumar Singh,
B.Tech (Delhi Technological University)
Global Community Manager, TradingView

✅ Blog: tradingwick.in/
✅ Amorella: amorella.in/
และใน:

คำจำกัดสิทธิ์ความรับผิดชอบ