OPEN-SOURCE SCRIPT
已更新

DeltaFlow Trend Navigator

627
DeltaFlow Trend Navigator

Author: drsamgeorge
License: Free to use, share, and distribute with attribution. Suggested license: Creative Commons Attribution 4.0 International (CC BY 4.0).

Use: primarily STOCKS, check with the win rate. Any time frame.
DeltaFlow Trend Navigator is a Pine Script v6 chart overlay designed to help traders read trend direction, pressure, entry location, risk, and target context in one place. It combines EMA trend zones, delta-style pressure logic, RSI, ADX/DI, Supertrend bias, automatic percentage targets, trade boxes, and a compact decision panel.

This tool is educational and intended for decision support. It does not guarantee profit and should not be treated as financial advice.

What The Indicator Tries To Show

The main idea is simple: a trade setup is stronger when several things agree at the same time.

The indicator looks for:

- Trend direction using fast and slow EMAs, with optional EMA 200 filtering.
- Buying or selling pressure using candle position, volume, and cumulative delta-style logic.
- RSI bias and optional RSI candle-color clues.
- ADX/DI trend strength and direction.
- Current and higher-timeframe Supertrend bias.
- Entry location around the EMA zone, such as pullback, continuation, or trend-side entries.
- Optional exception entries when both Supertrends align and RSI crosses 55 upward for bullish entries or 45 downward for bearish entries.

When enough conditions agree, the chart prints a BUY or SELL marker.

Understanding The EMA Zone

The colored band between the fast EMA and slow EMA is the main location guide.

Common entry-location modes:

- Pullback Only: looks for price to return into, touch, or stay close to the EMA zone.
- Pullback + Continuation: allows both EMA-zone pullbacks and strong continuation candles after price leaves the zone.
- Trend Direction Only: looser mode, allowing trades when price is on the correct side of the EMA midpoint.

The panel row called ENTRY LOC shows where the latest signal came from. This is important for optimization. If too many late entries appear, try Pullback Only. If too many moves are missed, try Pullback + Continuation.

Exception entries may show as RSI 55 cross + ST alignment or RSI 45 cross + ST alignment. These are designed for cases where current and higher-timeframe Supertrend agree and RSI crosses a key level in the trend direction. They can still draw a trade box, but should be reviewed with the same risk controls as any other signal.

Reading The Panel

The panel is designed to be read quickly:

- BIAS: latest BUY, SELL, or WAIT state, with confidence.
- ENTRY / SL: latest entry and stop-loss area.
- RR TARGETS: risk-reward targets based on the stop.
- Percentage target row: current percentage TP marker levels, either manual or auto-timeframe.
- ENTRY LOC: the entry mode and exact signal location.
- MOMENTUM: RSI plus Supertrend alignment between the current chart timeframe and the selected higher timeframe.
- FILTERS: RSI, ADX, and Supertrend filter status.
- CAUTION: advisory market-condition warning, such as low volatility, low volume, weak ADX, chop, or mixed Supertrend.
- WIN timeframe: live chart-history hit rate for TP1, TP2, and TP3 before stop.
- WHY: plain-language reason for the latest signal.

How To Use It As A Beginner

Start with the defaults first.

Look for a signal only when the panel agrees with the chart:

1. The EMA zone should support the direction.
2. The signal should appear near a sensible location, not after a huge exhausted candle.
3. Supertrend should ideally agree with the direction, especially on the higher timeframe.
4. ADX should show that the market has enough trend strength.
5. The CAUTION row should not be ignored. Low volatility, low volume, chop, weak ADX, or mixed Supertrend can reduce trade quality.
6. The stop and targets should make sense visually before taking the trade.

For BUY ideas, prefer price above the EMA zone or pulling back into it during a bullish structure.

For SELL ideas, prefer price below the EMA zone or pulling back into it during a bearish structure.

Avoid using any single signal blindly. The indicator is best used as a structured checklist.

Optimizing The Indicator

Useful settings to test:

- Entry Location Mode: controls whether signals are pullback-based, continuation-based, or broader trend-side entries.
- Min Score To Trade: higher values reduce signals and may improve selectivity.
- Signal Cool Off: helps reduce repeated signals in the same move.
- RSI Cross + Supertrend Alignment Entry: allows exception entries when RSI crosses 55 upward or 45 downward in the direction of aligned Supertrends.
- Use Supertrend As Filter: can make signals stricter by requiring current or higher-timeframe Supertrend agreement.
- Auto Higher TF Profile: changes which higher Supertrend timeframe is compared with the current chart Supertrend. Responsive uses a closer higher timeframe and gives more signals. Balanced is the default middle ground. Anchor uses a larger higher timeframe and gives stricter alignment.
- Trade Box Target Mode: Risk Reward is the default, with TP1 at 1:1R. Percent Targets can be selected if you prefer the trade box to use the percentage target levels.
- Profit % Mode: Auto Timeframe adapts the dotted percentage target markers to the chart timeframe; Manual lets you set your own.
- EMA Zone Tint Source: Supertrend Alignment is the default. EMA Trend colors the band from the EMA relationship only; RSI + RSI SMA and Supertrend modes fully control the zone color themselves.
- Session Markers / Caution: named global session markers are included for India, Tokyo, London, New York, and Sydney. Each session has its own colour, solid vertical lines mark the session open, dashed vertical lines mark the session close, and tiny labels show only the place name.
- Reference Candle: optional previous-day and today OHLC candles can be shown on the right side of the chart. The previous-day candle uses the last completed daily open, high, low, and close; the today candle updates with the developing daily OHLC. Tiny O/H/L/C labels provide quick context.

The WIN row in the panel can help compare settings on the current chart. It tracks whether TP1, TP2, or TP3 was reached before the stop after each confirmed signal. Treat it as a practical chart-history guide, not a full broker-grade backtest.

Suggested Trading Workflow

1. Choose your chart timeframe.
2. Confirm the higher-timeframe Supertrend bias.
3. Watch the EMA zone for pullback or continuation setups.
4. Wait for a BUY or SELL signal.
5. Read ENTRY LOC and WHY before acting.
6. Check Entry / SL and the percentage targets.
7. Skip trades where the stop is too wide, the signal is late, or the market is choppy.

## Final Note

DeltaFlow Trend Navigator is built to help traders slow down and read context before entering. It works best when used with risk management, position sizing, and patience.

版本注释
## Release Note

Session markers have been improved for regular-hours stock charts, especially 1-hour NYSE/NASDAQ charts where overnight candles may be absent. The marker engine is now gap-aware: the first available candle of a new local session day can mark the session start, and a dashed marker can be placed on the previous available candle to show the prior session close. This makes New York session markers more reliable on US stock charts while keeping the existing visual language: solid line for session open, dashed line for session close, and tiny place-name labels for India, Tokyo, London, New York, and Sydney.

An Opening Range Box has also been added. The default is New York ORB with a 30-minute range, but traders can choose India, Tokyo, London, New York, Sydney, or a custom session. The ORB box captures the opening high and low, with optional extended high, low, and midpoint lines for breakout and rejection context.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。