OPEN-SOURCE SCRIPT
EMA Bot Signals + VPoC

EMA Bot Signals + VPoC
A swing-trading toolkit built around a 9/21 EMA crossover, graded by trend slope and volume, with a Volume Point of Control (VPoC) used as a dynamic target. It visualizes a full entry → stop → target lifecycle on the chart, plus candlestick reversals and a higher-timeframe trend filter, so you can see why a setup qualifies — not just that the EMAs crossed.
What it does
- EMA cross signals (9/21): marks bullish crosses, and "anticipate" entries just before a cross when the fast EMA is already turning up inside a tight gap.
- Signal strength: every entry is graded Strong / Moderate / Weak from EMA slope (%/bar) and volume vs. its average, so weak crosses are visibly de-emphasized.
- VPoC: plots the heaviest-volume price level over a configurable lookback. When VPoC sits >=8% above the recent crossover average, it is used as the T1 target (otherwise targets are derived from EMA spread). Optional historical daily-session VPoC lines on intraday charts.
- Trade lifecycle: on a signal it tracks entry, stop, T1, T2, moves the stop to breakeven once T1 is hit, and marks the exit (T2, stop, breakeven-stop, or bear cross).
- Exit context: flags stalling (slope fading + below-average volume), momentum collapse, and T1-recovery (slope turning back up inside the T1 zone).
- Daily-trend filter: while the daily trend is up (daily EMA9 > EMA21 and rising), soft exits are held and the background tints green — hard stop/targets always fire.
- Candlestick reversals: marks Engulfing, Hammer/Shooting Star, Morning/Evening Star, Piercing/Dark Cloud, and Harami (bullish below the bar, bearish above).
- Corner table: live read of alignment, slope, volume ratio, signal strength, VPoC distance, pattern, and daily trend.
How to use it
Add to any symbol/timeframe (designed for swing timeframes like 1h-1D). Use the graded entry triangles with the corner table to filter for Strong/Moderate setups in the direction of the daily trend, and treat the plotted stop/T1/T2 and VPoC as a planning guide. Inputs let you tune EMA lengths, stop %, anticipate %, target lookback, VPoC bars/levels, and which overlays to show.
Notes
Hover any marker for a tooltip with the entry/stop/targets/VPoC/slope/volume detail behind it. Best on liquid markets where volume is meaningful for the VPoC calculation.
This is an analysis and education tool, not financial advice. It does not place orders and past behavior of any signal does not guarantee future results. Always do your own research and manage risk.
A swing-trading toolkit built around a 9/21 EMA crossover, graded by trend slope and volume, with a Volume Point of Control (VPoC) used as a dynamic target. It visualizes a full entry → stop → target lifecycle on the chart, plus candlestick reversals and a higher-timeframe trend filter, so you can see why a setup qualifies — not just that the EMAs crossed.
What it does
- EMA cross signals (9/21): marks bullish crosses, and "anticipate" entries just before a cross when the fast EMA is already turning up inside a tight gap.
- Signal strength: every entry is graded Strong / Moderate / Weak from EMA slope (%/bar) and volume vs. its average, so weak crosses are visibly de-emphasized.
- VPoC: plots the heaviest-volume price level over a configurable lookback. When VPoC sits >=8% above the recent crossover average, it is used as the T1 target (otherwise targets are derived from EMA spread). Optional historical daily-session VPoC lines on intraday charts.
- Trade lifecycle: on a signal it tracks entry, stop, T1, T2, moves the stop to breakeven once T1 is hit, and marks the exit (T2, stop, breakeven-stop, or bear cross).
- Exit context: flags stalling (slope fading + below-average volume), momentum collapse, and T1-recovery (slope turning back up inside the T1 zone).
- Daily-trend filter: while the daily trend is up (daily EMA9 > EMA21 and rising), soft exits are held and the background tints green — hard stop/targets always fire.
- Candlestick reversals: marks Engulfing, Hammer/Shooting Star, Morning/Evening Star, Piercing/Dark Cloud, and Harami (bullish below the bar, bearish above).
- Corner table: live read of alignment, slope, volume ratio, signal strength, VPoC distance, pattern, and daily trend.
How to use it
Add to any symbol/timeframe (designed for swing timeframes like 1h-1D). Use the graded entry triangles with the corner table to filter for Strong/Moderate setups in the direction of the daily trend, and treat the plotted stop/T1/T2 and VPoC as a planning guide. Inputs let you tune EMA lengths, stop %, anticipate %, target lookback, VPoC bars/levels, and which overlays to show.
Notes
Hover any marker for a tooltip with the entry/stop/targets/VPoC/slope/volume detail behind it. Best on liquid markets where volume is meaningful for the VPoC calculation.
This is an analysis and education tool, not financial advice. It does not place orders and past behavior of any signal does not guarantee future results. Always do your own research and manage risk.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。