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が提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。