OPEN-SOURCE SCRIPT

Power Line

A flexible combination of price and volume rate of change. Signals (sources) can be combined to create familiar indicators like On Balance Volume (OBV), or creativity inspired indicators.

The default settings multiply the change in price (flow) by volume (pressure) which is “money” or “power” (like in an electrical circuit). But, any combination of signals can be multiplied/divided... which might be “power", or something else.

See script comments for full details.

This indicator complements the “Multi Oscillator” indicator:
Multi Oscillator

There are many similarities, but “Power Line” plots one line over price: either as an oscillation type signal or it’s integral, which tracks price in some relationship. The Left Axis is used for scaling.

While this indicator is handy for trading decisions, it's highly educational. It has allowed me to get a feel for other well known indicators, like On Balance Volume (OBV), Chaikin Money Flow (CMF), Accumulation/Distribution Lines (ADL), Money Flow Index (MFI)... and others. And in this process, other composite signals unfold quickly. Let your creativity go!
powerVolume

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer