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:

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!
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:

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!
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.