OPEN-SOURCE SCRIPT
已更新 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.
版本注释
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
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。