The Veiled Sage - EWO Band Reentry

The Veiled Sage - EWO Band Reentry
WHAT IT DOES
The Elliott Wave Oscillator (EMA 5 minus EMA 35 of close) is plotted as a histogram. Bollinger-style deviation bands are calculated on the oscillator itself, not on price. The indicator marks the closed bar where the oscillator crosses back inside its bands:
- Re-entry up: the oscillator crosses back above the lower band.
- Re-entry down: the oscillator crosses back below the upper band.
These are descriptive momentum re-entry events, not predictions.
HOW IT WORKS
- Oscillator: EMA(close, 5) minus EMA(close, 35). Gold when above zero, purple when at or below zero.
- Bands: a basis average of the oscillator plus and minus a multiple of its standard deviation. Defaults: length 20, multiplier 2.0. The basis can be SMA, EMA, SMMA (RMA), WMA or VWMA.
- Basis tag: each event is tagged "Basis-rising" or "Basis-not-rising" depending on whether the basis is above its previous value. "Not rising" includes flat. It is a descriptive slope tag, not a quality or risk rating.
- VWMA needs real volume. If volume is missing, negative or zero in the window, the VWMA bands and signals are suppressed and an optional on-chart notice is shown. No substitute value is used.
- Background: an optional tint where close divided by its SMA (default 200 chart bars) is above or below two thresholds (defaults 2.4 and 1.0). It uses chart bars, not daily bars, and it is a ratio reference, not a valuation.
CONFIRMED-BAR LOGIC
Events, labels and alerts are evaluated on confirmed bars only. The histogram and bands can still move while a bar is developing; event markers do not appear intrabar and do not disappear after the close.
SETTINGS
- Every colour and its transparency can be changed in the settings, including the oscillator, bands, band fill, labels, background tint and the corner label.
- Band length, multiplier and basis type; label history (keep last N labels); background reference length and thresholds.
- The Veiled Sage corner label can be switched off.
ALERTS
- Four alert conditions: basis-rising or basis-not-rising, for re-entry up and for re-entry down. Choose "Once Per Bar Close" when creating them.
- One optional JSON alert: create an alert on this indicator with the condition "Any alert() function call". It sends a compact JSON message (schema vs_alert/3) on bars where an event confirms, or on every confirmed bar if you switch the JSON mode. The message contains the bar's OHLCV, the oscillator, basis and band values, the basis direction, the band settings and an events list. It is a state description, not an order instruction.
LIMITS
- This is an analysis tool. The events describe momentum moving back inside a statistical range; they do not say a move will continue or reverse.
- Settings, symbol and timeframe change what you see. Check behaviour on your own markets.
CREDITS
Elliott Wave Oscillator and Bollinger band construction are classic public techniques. This script is original Veiled Sage code and does not reuse third-party Pine source.
For education and chart analysis only. #NFA. Not financial advice. No result is promised, and past behaviour does not imply future results.
WHAT IT DOES
The Elliott Wave Oscillator (EMA 5 minus EMA 35 of close) is plotted as a histogram. Bollinger-style deviation bands are calculated on the oscillator itself, not on price. The indicator marks the closed bar where the oscillator crosses back inside its bands:
- Re-entry up: the oscillator crosses back above the lower band.
- Re-entry down: the oscillator crosses back below the upper band.
These are descriptive momentum re-entry events, not predictions.
HOW IT WORKS
- Oscillator: EMA(close, 5) minus EMA(close, 35). Gold when above zero, purple when at or below zero.
- Bands: a basis average of the oscillator plus and minus a multiple of its standard deviation. Defaults: length 20, multiplier 2.0. The basis can be SMA, EMA, SMMA (RMA), WMA or VWMA.
- Basis tag: each event is tagged "Basis-rising" or "Basis-not-rising" depending on whether the basis is above its previous value. "Not rising" includes flat. It is a descriptive slope tag, not a quality or risk rating.
- VWMA needs real volume. If volume is missing, negative or zero in the window, the VWMA bands and signals are suppressed and an optional on-chart notice is shown. No substitute value is used.
- Background: an optional tint where close divided by its SMA (default 200 chart bars) is above or below two thresholds (defaults 2.4 and 1.0). It uses chart bars, not daily bars, and it is a ratio reference, not a valuation.
CONFIRMED-BAR LOGIC
Events, labels and alerts are evaluated on confirmed bars only. The histogram and bands can still move while a bar is developing; event markers do not appear intrabar and do not disappear after the close.
SETTINGS
- Every colour and its transparency can be changed in the settings, including the oscillator, bands, band fill, labels, background tint and the corner label.
- Band length, multiplier and basis type; label history (keep last N labels); background reference length and thresholds.
- The Veiled Sage corner label can be switched off.
ALERTS
- Four alert conditions: basis-rising or basis-not-rising, for re-entry up and for re-entry down. Choose "Once Per Bar Close" when creating them.
- One optional JSON alert: create an alert on this indicator with the condition "Any alert() function call". It sends a compact JSON message (schema vs_alert/3) on bars where an event confirms, or on every confirmed bar if you switch the JSON mode. The message contains the bar's OHLCV, the oscillator, basis and band values, the basis direction, the band settings and an events list. It is a state description, not an order instruction.
LIMITS
- This is an analysis tool. The events describe momentum moving back inside a statistical range; they do not say a move will continue or reverse.
- Settings, symbol and timeframe change what you see. Check behaviour on your own markets.
CREDITS
Elliott Wave Oscillator and Bollinger band construction are classic public techniques. This script is original Veiled Sage code and does not reuse third-party Pine source.
For education and chart analysis only. #NFA. Not financial advice. No result is promised, and past behaviour does not imply future results.
I walk veiled in humility, yet carry the disciplined fire of self-mastery.
Through charts and the hidden laws of proportion I teach the Fire Chosen.
Your support sustains this flame of clarity.
TheVeiledSage.com
The Veiled Sage
Through charts and the hidden laws of proportion I teach the Fire Chosen.
Your support sustains this flame of clarity.
TheVeiledSage.com
The Veiled Sage
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
I walk veiled in humility, yet carry the disciplined fire of self-mastery.
Through charts and the hidden laws of proportion I teach the Fire Chosen.
Your support sustains this flame of clarity.
TheVeiledSage.com
The Veiled Sage
Through charts and the hidden laws of proportion I teach the Fire Chosen.
Your support sustains this flame of clarity.
TheVeiledSage.com
The Veiled Sage
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.