PROTECTED SOURCE SCRIPT
已更新 KING4R_swing

General
This script is called "KING4R_swing", designed to identify high-probability swing trading entries based on technical setups. It overlays the chart and uses conditions based on volume, EMAs, SPY index trend, and price structure.
Main Features
User Options:
Enable/disable SPY EMA conditions.
Show/hide checklist and final message.
Adjust label positions (vertical/horizontal).
Local EMAs:
Calculates 13-EMA and 48-EMA on the current symbol.
Flags whether EMA13 is above EMA48 and whether price is above EMA48.
Volume Spike Detection:
Searches for unusual volume spikes in the last 30 candles.
Then checks 60 candles after the spike for either:
Lateral movement (no new lows).
Higher lows (suggesting a change in structure).
Visual Tags:
When a volume spike is detected, it adds:
“📦 Post-volume Lateral” label if price goes sideways.
“📈 Structure Change” if higher lows are confirmed.
SPY Conditions:
Pulls EMAs from SPY on the daily timeframe.
Two optional conditions: EMA13 > EMA48 and EMA8 > EMA21.
Stopping Volume:
Checks if there's stopping volume in the last 30 candles (volume 1.5x above average).
Checklist + Scoring:
Assigns up to 6 points based on:
EMA13 > EMA48
Lateral structure after high volume
Price above EMA48
Stopping volume
SPY EMA13 > EMA48
SPY EMA8 > EMA21
Each condition adds 1 point.
Dynamic Labels:
Shows a red checklist, a final message with score, and a warning (“NO SETUP, NO TRADE”).
If score is 6/6, shows a 🚀 rocket icon above the bar.
Alert:
Triggers an alert when score = 6/6, indicating a possible high-probability entry.
This script is called "KING4R_swing", designed to identify high-probability swing trading entries based on technical setups. It overlays the chart and uses conditions based on volume, EMAs, SPY index trend, and price structure.
Main Features
User Options:
Enable/disable SPY EMA conditions.
Show/hide checklist and final message.
Adjust label positions (vertical/horizontal).
Local EMAs:
Calculates 13-EMA and 48-EMA on the current symbol.
Flags whether EMA13 is above EMA48 and whether price is above EMA48.
Volume Spike Detection:
Searches for unusual volume spikes in the last 30 candles.
Then checks 60 candles after the spike for either:
Lateral movement (no new lows).
Higher lows (suggesting a change in structure).
Visual Tags:
When a volume spike is detected, it adds:
“📦 Post-volume Lateral” label if price goes sideways.
“📈 Structure Change” if higher lows are confirmed.
SPY Conditions:
Pulls EMAs from SPY on the daily timeframe.
Two optional conditions: EMA13 > EMA48 and EMA8 > EMA21.
Stopping Volume:
Checks if there's stopping volume in the last 30 candles (volume 1.5x above average).
Checklist + Scoring:
Assigns up to 6 points based on:
EMA13 > EMA48
Lateral structure after high volume
Price above EMA48
Stopping volume
SPY EMA13 > EMA48
SPY EMA8 > EMA21
Each condition adds 1 point.
Dynamic Labels:
Shows a red checklist, a final message with score, and a warning (“NO SETUP, NO TRADE”).
If score is 6/6, shows a 🚀 rocket icon above the bar.
Alert:
Triggers an alert when score = 6/6, indicating a possible high-probability entry.
版本注释
GeneralThis script is called "KING4R_swing", designed to identify high-probability swing trading entries based on technical setups. It overlays the chart and uses conditions based on volume, EMAs, SPY index trend, and price structure.
Main Features
User Options:
Enable/disable SPY EMA conditions.
Show/hide checklist and final message.
Adjust label positions (vertical/horizontal).
Local EMAs:
Calculates 13-EMA and 48-EMA on the current symbol.
Flags whether EMA13 is above EMA48 and whether price is above EMA48.
Volume Spike Detection:
Searches for unusual volume spikes in the last 30 candles.
Then checks 60 candles after the spike for either:
Lateral movement (no new lows).
Higher lows (suggesting a change in structure).
Visual Tags:
When a volume spike is detected, it adds:
“📦 Post-volume Lateral” label if price goes sideways.
“📈 Structure Change” if higher lows are confirmed.
SPY Conditions:
Pulls EMAs from SPY on the daily timeframe.
Two optional conditions: EMA13 > EMA48 and EMA8 > EMA21.
Stopping Volume:
Checks if there's stopping volume in the last 30 candles (volume 1.5x above average).
Checklist + Scoring:
Assigns up to 6 points based on:
EMA13 > EMA48
Lateral structure after high volume
Price above EMA48
Stopping volume
SPY EMA13 > EMA48
SPY EMA8 > EMA21
Each condition adds 1 point.
Dynamic Labels:
Shows a red checklist, a final message with score, and a warning (“NO SETUP, NO TRADE”).
If score is 6/6, shows a 🚀 rocket icon above the bar.
Alert:
Triggers an alert when score = 6/6, indicating a possible high-probability entry.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。