OPEN-SOURCE SCRIPT
Cập nhật Auto S/R + MTF Bias

Auto S/R + MTF
perform a multi-timeframe analysis. Identify the dominant trend, key structure levels, any momentum shifts, and give me the highest-probability directional bias for a swing trade entry.
Scan the full price history and identify the 3 most significant resistance levels above and 3 support levels below the current price. Rank them by strength, explain why each matters, and tell me how to trade a reaction or breakout at each level.
perform a multi-timeframe analysis. Identify the dominant trend, key structure levels, any momentum shifts, and give me the highest-probability directional bias for a swing trade entry.
Scan the full price history and identify the 3 most significant resistance levels above and 3 support levels below the current price. Rank them by strength, explain why each matters, and tell me how to trade a reaction or breakout at each level.
Phát hành các Ghi chú
update:added
SMA 10 (yellow), 20 (orange), 50 (aqua), 200 (fuchsia) — plotted on chart, lengths tunable in settings
TRAMA (white, thick) — Trend Regularity Adaptive MA; adapts smoothing to how clean the trend is
Golden/Death Cross markers — triangles plotted directly on chart when SMA50 crosses SMA200
Each MA can be toggled on/off in the indicator settings
on every new pivot confirmation (detection lags by pivotLen bars since a pivot needs confirmation from both sides):
Pattern engine looks at the last 3/4/5 pivots from a unified time-ordered pivot array
Checks each pattern definition with configurable tolerance
If match: draws lines + label + fires the series flag for alerts
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.