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.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.