OPEN-SOURCE SCRIPT

SPY Position Helper v1

555
adjusted chart view to show more data on 1m timeframeSPY Position Helper v1

SPY Position Helper v1 is a multi-timeframe technical analysis indicator that combines trend, market structure, momentum, and volatility measurements into a rules-based confluence model.

The indicator continuously calculates:

4-hour trend direction using the 200-period Exponential Moving Average (EMA)
1-hour structural highs and lows
Previous day's High, Low, and Close
Average True Range (ATR)
200 EMA
VWAP
Relative Strength Index (RSI)
MACD
Directional Movement Index (+DI / -DI)
Average Directional Index (ADX)
Confirmed swing highs and swing lows using pivot detection

Support and resistance are dynamically derived from the nearest confirmed structural references, including swing pivots, higher-timeframe levels, previous-day levels, VWAP, and the 200 EMA. These levels are converted into adaptive zones whose width is based on current ATR, allowing the zones to expand and contract with changing market volatility.

The indicator evaluates completed candles for breakout and rejection behavior, directional momentum, candle body strength, trend participation, and available structural room relative to calculated risk. ATR-adjusted stop distances and structural targets are calculated to estimate available reward versus risk for each qualifying setup.

Each potential setup is evaluated using a weighted 10-point confluence model consisting of:

Higher-timeframe trend alignment
Structural location
EMA/VWAP confluence
RSI position
MACD confirmation
ADX trend strength
Candle confirmation
Structural reward-to-risk evaluation

Signals are produced only when all required conditions are met and the calculated confluence score satisfies the user-defined minimum threshold.

When a signal is active, the indicator calculates reference entry, stop, and target levels, monitors predefined exit conditions, and displays market context through dynamic chart overlays and an informational dashboard.

Disclaimer

This indicator is intended solely as a technical analysis and decision-support tool. It does not predict future market movements, guarantee profitable trades, or provide certainty regarding market direction. All trading involves risk, and no indicator can eliminate uncertainty or secure profits. Users should exercise independent judgment and apply appropriate risk management before making any trading decisions.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.