OPEN-SOURCE SCRIPT
SPY Position Helper v1

SPY Scalp Position Helper is a decision-support indicator designed for short-duration SPY trades on the one-minute chart. It combines higher-timeframe structure, momentum, trend strength, volatility, and nearby support or resistance to identify potential CALL and PUT setups.
Each setup receives a score based on:
* Confirmed four-hour market direction
* One-hour and intraday price structure
* VWAP and 200 EMA confluence
* RSI momentum
* MACD direction
* ADX trend strength
* Candle confirmation
* Available room before opposing structure
The indicator waits for the one-minute candle to close before producing a signal. When a qualifying setup appears, it displays a CALL or PUT marker with suggested SPY entry, invalidation, and target levels. It then monitors the position guide for structural failure, momentum deterioration, target completion, session expiration, or the maximum holding period.
Blue background shading indicates a developing setup that is close to qualifying but still requires confirmation. The dashboard displays the current market bias, CALL and PUT scores, nearby support and resistance, active stop and target levels, and time spent in the position guide.
This indicator does not execute trades or calculate option premiums. All entry, stop, and target values refer to SPY itself. Actual 0DTE option performance will also depend on strike selection, spread, liquidity, implied volatility, gamma, theta, and execution quality.
Designed for discretionary use, chart preparation, alerts, and process discipline. It should not replace independent judgment or risk management.
Each setup receives a score based on:
* Confirmed four-hour market direction
* One-hour and intraday price structure
* VWAP and 200 EMA confluence
* RSI momentum
* MACD direction
* ADX trend strength
* Candle confirmation
* Available room before opposing structure
The indicator waits for the one-minute candle to close before producing a signal. When a qualifying setup appears, it displays a CALL or PUT marker with suggested SPY entry, invalidation, and target levels. It then monitors the position guide for structural failure, momentum deterioration, target completion, session expiration, or the maximum holding period.
Blue background shading indicates a developing setup that is close to qualifying but still requires confirmation. The dashboard displays the current market bias, CALL and PUT scores, nearby support and resistance, active stop and target levels, and time spent in the position guide.
This indicator does not execute trades or calculate option premiums. All entry, stop, and target values refer to SPY itself. Actual 0DTE option performance will also depend on strike selection, spread, liquidity, implied volatility, gamma, theta, and execution quality.
Designed for discretionary use, chart preparation, alerts, and process discipline. It should not replace independent judgment or risk management.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.