OPEN-SOURCE SCRIPT
Atualizado 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.
Notas de Lançamento
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
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.