PROTECTED SOURCE SCRIPT
SMA Strategy with Re-Entry Signal (v6 Style)

Uses 5 Simple Moving Averages: SMA 10, 20, 30, 60, and 250.
Uptrend Condition:
An uptrend is defined when the closing price is above the 30-day SMA (SMA30).
Re-entry Signal Condition:
A re-entry signal is triggered when, during an uptrend, the closing price crosses above the 20-day SMA (SMA20).
Background Color Logic:
Green: Indicates an active uptrend (potential holding zone).
Red: Indicates the price has fallen below SMA30 (uptrend may be broken, increased risk).
Signal Display:
Re-entry signals are marked with an “↑” symbol below the candlestick.
All 5 SMAs (SMA10, SMA20, SMA30, SMA60, SMA250) are plotted for visual reference.
Uptrend Condition:
An uptrend is defined when the closing price is above the 30-day SMA (SMA30).
Re-entry Signal Condition:
A re-entry signal is triggered when, during an uptrend, the closing price crosses above the 20-day SMA (SMA20).
Background Color Logic:
Green: Indicates an active uptrend (potential holding zone).
Red: Indicates the price has fallen below SMA30 (uptrend may be broken, increased risk).
Signal Display:
Re-entry signals are marked with an “↑” symbol below the candlestick.
All 5 SMAs (SMA10, SMA20, SMA30, SMA60, SMA250) are plotted for visual reference.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.