Compares current price action with previous bar's position
Works across all timezones and trading sessions
Three-Layer Trend Filter:
Requires 50 > 100 > 200 SMA for uptrends
Requires 50 < 100 < 200 SMA for downtrends
Adds inherent market structure confirmation
Responsive Exit System:
Closes longs when price breaks below 20 SMA
Closes shorts when price breaks above 20 SMA
Uses same tick-precise logic as entries
Universal Time Application:
No fixed time references
Pure price-based calculations
Works on any chart timeframe (1m - monthly)
Signal Logic Summary:
+ Long Entry: Tick cross above 50 SMA + Uptrend hierarchy - Long Exit: Price closes below 20 SMA + Short Entry: Tick cross below 50 SMA + Downtrend hierarchy - Short Exit: Price closes above 20 SMA
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.