Open-source scriptindicator/v1
Bull Bear Power
Compare bar highs and lows with an exponential trend baseline to show opposing market pressure.
#bull-bear-power#momentum#oscillator
Description
Bull Bear Power plots the distance from each high and low to an exponential moving average. The two series provide a direct view of how far buyers can push above the baseline and sellers can push below it.
Open-source script. Everyone can inspect the source code, use the script on a chart, and save an editable copy.
Release notes
Version history · 1 published version
Version 1CurrentChart updatedBull Bear Power · Aug 31, 2026
Source codempl-2.0View sourceHide source
indicator("Bull Bear Power", { overlay: false });
const length = input.int("Length", 13, { min: 1, max: 500 });
const basis = ema(close, length);
const bull = high.map((v, i) => v - basis[i]);
const bear = low.map((v, i) => v - basis[i]);
plot(bull, { title: "Bull Power", color: "#26a69a", type: "histogram" });
plot(bear, { title: "Bear Power", color: "#ef5350", type: "histogram" });
hline(0, { title: "Zero", color: "#78909c", style: "dotted" });
Community discussion
0 comments
No comments yet. Start the discussion.