Indicator · Pine Script v4 · Own pane

Kal's MTF OBV HAAR

by chipmaker· code credited to NOV 2019 KAL GANDIKOTA

Kal's MTF OBV HAAR is an indicator that plots OBV EMAs with lengths 9 and 4 on a separate pane to highlight volume trends.

View on GitHub

Repaints

GitHub stars1on the repository
Pine versionv4older, still runs
Lines of code141
Settings9inputs
LicenceNone stated
Last update6 years ago28 Nov 2019

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

Kal's MTF OBV HAAR calculates CCI with length 10 and CMF with length 10, using crossovers and crossunders of the CCI line at zero for up and down signals. CMF extremes beyond 0.6 or -0.6 trigger corners conditions. Source can be close, hlc3 or hl2. The script applies Haar conditions for color selection based on OBV position relative to EMAs and signals. It operates across multiple timeframes including 10m, 1H, 4H, 1D, 1W and 1M to detect trending volume levels on stocks, indices and cryptocurrencies. Main settings adjust EMA lengths, CCI and CMF thresholds. It draws volume analysis tools on the chart pane.

Details

Published by

chipmaker on GitHub

Code credit

NOV 2019 KAL GANDIKOTA, as written in the script's header

Type

Indicator, Pine Script v4

Draws

Separate pane below the chart

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

  • Reads higher-timeframe data with lookahead on, so the history can show signals that were not there in real time

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Length of OBV EMA1 Signal Lineint9lengthema
Length of OBV EMA2 Signal Lineint4lengthema2
bar price type for OBV[close, hlc3, hl2, ....]sourceclosesrc
CCI1 Lengthint10cci1_length
CCI Overbought Thresholdint100cci_OBLevel
CCI Oversold Thresholdint-100cci_OSLevel
CMF Lengthint10CMF_length
CMF Overbought Cutofffloat0.6cmf_ob_threshold
CMF Oversold Cutofffloat-0.6cmf_os_threshold
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

9 stars

FlowBias calculates a composite market momentum metric using Chaikin Money Flow, volume delta, Stochastic, and the Ultimate Oscillator. Plotted in a separate pane, it identifies trend pullbacks and market exhaustion reversals through visual signals and labels.

Indicator v6 TrendOscillators & momentum
Updated 3 days ago · MIT GitHub repository of FlowBias [WavesUnchained]

Nexural Pressure Pro

by JasonTeixeira
9 stars

Nexural Pressure Pro is a composite pressure indicator that measures directional market momentum using volume-weighted directional movement, order flow delta, aggression, and efficiency ratio metrics. It filters out low-activity bars using configurable volume

Indicator v6 Oscillators & momentumVolume
Updated 2 weeks ago · Custom licence GitHub repository of Nexural Pressure Pro

PaperHands

by lunarticktrading
7 stars

PaperHands is an indicator that plots entry, re-entry, and exit signals for LONG and SHORT positions in a separate pane. It calculates signals using multiple confluence conditions such as real candle color, Heikin-Ashi candle color and flat bottoms or tops, He

Indicator v6 TrendOscillators & momentum
Updated 2 weeks ago · None stated GitHub repository of PaperHands
6 stars

Capital41 Fusion Oscillator v3 measures multi-condition market confluence in a separate pane with a smoothed composite score ranging from 0 to 100. It evaluates four criteria: EMA trend direction, RSI oversold or overbought turns, Williams %R thresholds, and A

Indicator v6 Oscillators & momentumTrend
Updated 2 months ago · MIT GitHub repository of Capital41 Fusion Oscillator v3
4 stars

This indicator combines five normalized oscillator channels: RSI, stochastic, MACD histogram, money flow index, and the ADX directional difference. It cross-subtracts channel pairs with a fixed or correlation-based weight meant to reduce shared overlap, then s

Indicator v5 Oscillators & momentumVolume
Updated 7 months ago · None stated GitHub repository of MVSU Decontamination
3 stars

The Directional Flow Oscillator combines momentum, cumulative volume delta, price range position, trend ratio, and relative volatility into a single bounded composite indicator. It fetches lower-timeframe volume data to calculate cumulative volume delta and no

Indicator v5 Oscillators & momentumVolume
Updated 2 years ago · GPL-3.0 GitHub repository of Directional Flow Oscillator

More Trend scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers