Flow EngineFlow Engine
Most indicators tell you which direction price is moving. Flow Engine tells you whether to trust it . It does this by combining momentum, volume, trend, and a higher timeframe check all into one pane, plus it draws divergence signals directly on your price chart so you never have to look away.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT'S ON THE SCREEN
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The Histogram (the bars)
This is the main thing. The height of each bar shows how strong the momentum is. The color tells you the direction — cyan for up, red for down.
The part that makes this different is the opacity . If a bar is bright and vivid, it means big volume is behind that move. If a bar looks faded or ghosted, the move happened on low volume and probably won't last. You can see this instantly without checking a separate volume pane.
Tall vivid cyan bar = strong upward move with real volume behind it
Tall faded cyan bar = price went up but nobody really showed up
Same logic applies on the red side
The OB/OS Line
This line tells you when things are getting stretched too far in one direction.
When it goes above +70 — the move is getting overdone on the upside.
When it drops below -70 — the selloff is getting overdone.
In between — cyan means leaning bullish, red means leaning bearish
The Trend Line
A slow moving line that tells you what the overall structure looks like on your current timeframe.
Lime green above zero — uptrend
Soft red below zero — downtrend
Think of it as the background context. When this line is green, you want to be looking for longs. When it's red, be careful going long or look for shorts instead.
The Background Tint (HTF Bias)
A very subtle color behind everything that comes from a higher timeframe — by default the Daily chart.
Cyan tint — the daily trend is bullish
Red tint — the daily trend is bearish
No tint — daily is mixed, no clear direction
This is the big picture check. If you are trading a 15 minute chart and the background is red, you know you are going against the daily trend. That doesn't mean you can't trade, but you should be more careful.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DIVERGENCE SIGNALS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Divergence is when price and momentum stop agreeing with each other. It usually means the current move is running out of steam.
Bearish divergence — price made a higher high but the histogram made a lower high. The rally is weakening. Orange triangle appears above the candle on your price chart.
Bullish divergence — price made a lower low but the histogram made a higher low. The selloff is weakening. Green triangle appears below the candle on your price chart.
You also get a dashed line drawn on the Flow Engine pane connecting the two points so you can see exactly where the divergence happened.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Momentum Length (14) — how many bars the momentum calculation looks back. Lower number reacts quicker but gives more false signals. Higher number is slower but cleaner.
Volume MA Length (20) — the average used to judge whether current volume is high or low. Leave this at default unless you have a reason to change it.
Overbought Level (70) — where the OB/OS line turns orange. Lower this if you want earlier warnings.
Oversold Level (-70) — where the OB/OS line turns green. Change this together with the overbought level.
Trend Length (50) — how slow the trend line moves. Higher number = smoother line.
Pivot Lookback Left & Right (5) — controls how strict the divergence detection is. Raise both to 8 or 10 if you are getting too many signals. Lower to 3 if you want more.
HTF Timeframe (D) — the higher timeframe for the background tint. Set this one step above whatever chart you are on. D = Daily, W = Weekly, 240 = 4 Hour.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE IT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Every time you look at the indicator, go through it top to bottom:
Check the background tint — what is the daily (or higher TF) saying?
Check the trend line — is the current chart agreeing with that?
Check the OB/OS line — are we stretched? If yes, don't chase.
Check the histogram — is momentum vivid (real) or faded (weak)?
The best setup looks like this:
Background is cyan + trend line above zero + OB/OS line near oversold + bullish divergence triangle on the chart + histogram bars turning bright cyan
When all of that lines up, the move has multiple things confirming it at the same time. That's when you pay attention.
A quick tip on the faded bars: Don't get excited about a tall bar if it's faded. Price can move fast on thin volume and snap right back. The vivid bars are the ones that tend to follow through.
Which timeframe to set HTF to:
Trading 1m or 5m → set HTF to 1H or 4H
Trading 15m or 1H → keep HTF on Daily
Trading 4H or Daily → set HTF to Weekly
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
GOOD TO KNOW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Does not repaint — signals are based on confirmed bars only
Divergence signals show up a few bars after the actual pivot
Looks best on a dark theme
אינדיקטור Pine Script®






















