TradeZoro
Notifications

Cookbook

Delta against price

Mark bars where price and delta disagree (Pro data).

//@zscript 1
indicator("Delta divergence", overlay=true)
newHigh = high >= ta.highest(high, 20)
weak = flow.delta < 0
plotshape(newHigh and weak, "High on negative delta", shape.xcross, location.abovebar, color.orange)
newLow = low <= ta.lowest(low, 20)
strong = flow.delta > 0
plotshape(newLow and strong, "Low on positive delta", shape.xcross, location.belowbar, color.orange)
50365042504850535059
Sample bars, not market data. Delta divergence.

How it works

A new 20-bar high that traded with negative delta (or a low with positive delta) is flagged. It is a thing to look at, not a signal.

Education only. Not financial advice. Examples are teaching samples, not trading results.

Zscript is coming soon

The manual opens when Zscript launches.

Back to home