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.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
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.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
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.