Indicator · Pine Script v6 · Own pane

ZeroChart Parity Harness

by blackhebrewisraeli

The ZeroChart Parity Harness is a diagnostic tool designed for testing and verifying calculation parity between production indicator logic and candidate updates.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code336
Settings1inputs
LicenceMIT
Last update10 days ago14 Nov 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above, or the copy button on the code below.
  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

336 lines of Pine Script v6 from pine/diagnostics/zerochart_parity_selfcheck.pine, published under MIT. Keep the author's credit and licence lines when you reuse it.

zerochart_parity_selfcheck.pine
//@version=6
// ZeroChart parity harness - DIAGNOSTIC ONLY. Sends no alerts and is not a trading
// indicator. It plots, bar by bar, what the production HUD's built-ins compute
// (zc_prod_*) and what the window-200 candidate computes (zc_cand_*), on chart
// bars or on the deterministic fixtures in docs/pine-parity-fixtures.json.
// Export the chart ("Export chart data") and run:
//     npm run parity -- --pine-export FILE.csv [--case NAME]
// See docs/PINE_PARITY_ASSESSMENT.md. Not compiled or run by the change that added it.
indicator("ZeroChart Parity Harness", shorttitle = "ZC Parity", overlay = false, max_bars_back = 300, precision = 10)

barSource = input.string("Chart", "Bars", options = ["Chart", "rising", "falling", "flat", "irregular", "threshold"])

int MODEL_WINDOW = 200
int MIN_CANDLES = 34
float K12 = 2.0 / 13.0
float K26 = 2.0 / 27.0
float K9  = 2.0 / 10.0
// provenance.thresholdClose in docs/pine-parity-fixtures.json.
float THRESHOLD_CLOSE = 2309.467490240423

// ===== Fixture bars: scripts/generate-pine-parity-fixtures.py, bar for bar =====
var int lcgState = 1
var int lcgTicks = 8000
float fh = na
float fl = na
float fc = na
if barSource == "rising" and bar_index < 320
    fc := 100.0 + 0.5 * bar_index
    fh := fc + 0.25
    fl := fc - 0.25
else if barSource == "falling" and bar_index < 320
    fc := 300.0 + -0.5 * bar_index
    fh := fc + 0.25
    fl := fc - 0.25
else if barSource == "flat" and bar_index < 320
    fc := 100.0
    fh := 100.0
    fl := 100.0
else if (barSource == "irregular" and bar_index < 320) or (barSource == "threshold" and bar_index < 261)
    if bar_index > 0
        lcgState := (75 * lcgState + 74) % 65537
        int mult = barSource == "irregular" and bar_index >= 150 and bar_index < 200 ? 6 : 1
        lcgTicks += (lcgState % 257 - 128) * mult
    int half = 1 + lcgState % 16
    fh := (lcgTicks + half) / 4.0
    fl := (lcgTicks - half) / 4.0
    fc := lcgTicks / 4.0
    if barSource == "threshold" and bar_index == 260
        fc := THRESHOLD_CLOSE
        fh := THRESHOLD_CLOSE + 0.25
        fl := THRESHOLD_CLOSE - 0.25

bool fixture = barSource != "Chart"
float h = fixture ? fh : high
float l = fixture ? fl : low
float c = fixture ? fc : close

// ===== Shared factor math (pine/zerochart_quant_hud.pine) =====
rsiFactorScore(float r) =>
    float x = math.max(0.0, math.min(100.0, r))
    float s = 0.0
    if x <= 30.0
        s := 100.0 + (95.0 - 100.0) * (x / 30.0)
    else if x <= 50.0
        s := 95.0 + (55.0 - 95.0) * ((x - 30.0) / 20.0)
    else if x <= 70.0
        s := 55.0 + (15.0 - 55.0) * ((x - 50.0) / 20.0)
    else
        s := 15.0 + (0.0 - 15.0) * ((x - 70.0) / 30.0)
    s

momentumFactorScore(float m) =>
    math.max(0.0, math.min(100.0, 50.0 + 50.0 * (m / 0.01)))

volatilityFactorScore(float v) =>
    math.max(0.0, math.min(100.0, 100.0 * (1.0 - (v - 0.005) / (0.055 - 0.005))))

// The production composite, including its renormalization over factors that have
// data. Regime codes: 0 NEUTRAL, 1 TRENDING, 2 MEAN_REVERTING, 3 HIGH_VOLATILITY.
composite(float r, float m, float v) =>
    bool hasR = not na(r)
    bool hasM = not na(m)
    bool hasV = not na(v)
    int regime = 0
    float wR = 0.4
    float wM = 0.4
    float wV = 0.2
    if hasV and v >= 0.04
        regime := 3
        wR := 0.35
        wM := 0.35
        wV := 0.3
    else if hasM and math.abs(m) >= 0.005
        regime := 1
        wR := 0.3
        wM := 0.5
    else if hasR and (r <= 30.0 or r >= 70.0)
        regime := 2
        wR := 0.5
        wM := 0.3
    float active = (hasR ? wR : 0.0) + (hasM ? wM : 0.0) + (hasV ? wV : 0.0)
    float total = (hasR ? wR * rsiFactorScore(r) : 0.0) + (hasM ? wM * momentumFactorScore(m) : 0.0) + (hasV ? wV * volatilityFactorScore(v) : 0.0)
    float weighted = active == 0.0 ? 0.0 : total / active
    [math.round(math.max(0.0, math.min(100.0, weighted))), regime]

// ===== Window indicators: copied from pine/candidates/zerochart_quant_hud_w200.pine =====
zcRsi(float src, int n) =>
    float result = na
    if n >= MIN_CANDLES
        float avgGain = 0.0
        float avgLoss = 0.0
        for i = 1 to 14
            float change = src[n - 1 - i] - src[n - i]
            if change >= 0
                avgGain += change
            else
                avgLoss -= change
        avgGain /= 14
        avgLoss /= 14
        for i = 15 to n - 1
            float change = src[n - 1 - i] - src[n - i]
            float gain = change > 0 ? change : 0.0
            float loss = change < 0 ? -change : 0.0
            avgGain := (avgGain * 13 + gain) / 14
            avgLoss := (avgLoss * 13 + loss) / 14
        result := avgLoss == 0 ? (avgGain == 0 ? 50.0 : 100.0) : avgGain == 0 ? 0.0 : 100 - 100 / (1 + avgGain / avgLoss)
    result

zcMacdHist(float src, int n) =>
    float result = na
    if n >= MIN_CANDLES
        float fast = 0.0
        float slow = 0.0
        for i = 0 to 11
            fast += src[n - 1 - i]
        fast /= 12
        for i = 12 to 25
            fast += K12 * (src[n - 1 - i] - fast)
        for i = 0 to 25
            slow += src[n - 1 - i]
        slow /= 26
        float line = fast - slow
        float signal = line
        for i = 26 to 33
            float v = src[n - 1 - i]
            fast += K12 * (v - fast)
            slow += K26 * (v - slow)
            line := fast - slow
            signal += line
        signal /= 9
        if n > 34
            for i = 34 to n - 1
                float v = src[n - 1 - i]
                fast += K12 * (v - fast)
                slow += K26 * (v - slow)
                line := fast - slow
                signal += K9 * (line - signal)
        result := line - signal
    result

zcAtr(float hi, float lo, float cl, int n) =>
    float result = na
    if n >= MIN_CANDLES
        float seed = hi[n - 1] - lo[n - 1]
        for i = 1 to 13
            float prevClose = cl[n - i]
            seed += math.max(hi[n - 1 - i] - lo[n - 1 - i], math.abs(hi[n - 1 - i] - prevClose), math.abs(lo[n - 1 - i] - prevClose))
        float previous = seed / 14
        for i = 14 to n - 1
            float prevClose = cl[n - i]
            float trueRange = math.max(hi[n - 1 - i] - lo[n - 1 - i], math.abs(hi[n - 1 - i] - prevClose), math.abs(lo[n - 1 - i] - prevClose))
            previous := (previous * 13 + trueRange) / 14
        result := previous
    result

// ===== Production semantics: the HUD's built-ins, ATR Period 14 =====
float prodRsi = ta.rsi(c, 14)
[prodLine, prodSignal, prodHist] = ta.macd(c, 12, 26, 9)
// ta.atr reads the chart's bars, so fixtures use its documented equivalent, ta.rma(ta.tr(true)).
float trueRangeValue = na(c[1]) ? h - l : math.max(h - l, math.abs(h - c[1]), math.abs(l - c[1]))
float fixtureAtr = ta.rma(trueRangeValue, 14)
float chartAtr = ta.atr(14)
float prodAtr = fixture ? fixtureAtr : chartAtr
bool prodReady = not na(prodRsi) and not na(prodHist / c) and not na(prodAtr / c)
[prodScore, prodRegime] = composite(prodRsi, prodHist / c, prodAtr / c)

// ===== Candidate: last min(200, bars) bars, re-seeded every bar =====
int windowLength = math.min(bar_index + 1, MODEL_WINDOW)
float candRsi = zcRsi(c, windowLength)
float candHist = zcMacdHist(c, windowLength)
float candAtr = zcAtr(h, l, c, windowLength)
bool candReady = windowLength >= MIN_CANDLES and not na(candRsi) and not na(candHist) and not na(candAtr) and c > 0
[candScore, candRegime] = composite(candRsi, candHist / c, candAtr / c)

// ===== Export columns: scripts/pine-parity.ts reads these titles =====
plot(bar_index, "zc_bar", display = display.data_window)
plot(barstate.isconfirmed ? 1 : 0, "zc_confirmed", display = display.data_window)
plot(h, "zc_high", display = display.data_window)
plot(l, "zc_low", display = display.data_window)
plot(c, "zc_close", display = display.data_window)
plot(prodReady ? 1 : 0, "zc_prod_ready", display = display.data_window)
plot(prodRsi, "zc_prod_rsi", display = display.data_window)
plot(prodHist, "zc_prod_hist", display = display.data_window)
plot(prodAtr, "zc_prod_atr", display = display.data_window)
plot(prodScore, "zc_prod_score", color = color.orange)
plot(prodRegime, "zc_prod_regime", display = display.data_window)
plot(candReady ? 1 : 0, "zc_cand_ready", display = display.data_window)
plot(candRsi, "zc_cand_rsi", display = display.data_window)
plot(candHist, "zc_cand_hist", display = display.data_window)
plot(candAtr, "zc_cand_atr", display = display.data_window)
plot(candReady ? candScore : na, "zc_cand_score", color = color.aqua)
plot(candReady ? candRegime : na, "zc_cand_regime", display = display.data_window)

// ===== Self-check: generated by npm run parity -- --emit-selfcheck. DIAGNOSTIC ONLY =====
// Compares this script's readings with docs/pine-parity-fixtures.json inside Pine.
// Chart bars map to docs/pine-parity-btcusdt-1d.json by open time.
int SNAPSHOT_START = 1698019200000
int INPUT_FIRST = 536
var array<string> expApp = array.new<string>()
var array<string> expPd = array.new<string>()
var array<string> expH = array.new<string>()
var array<string> expL = array.new<string>()
var array<string> expC = array.new<string>()
var int expFirst = 0
var string keyBars = ""
var int h1ProdVsApp = 0
if barstate.isfirst
    if barSource == "rising"
        expFirst := 0
        keyBars := ",33,99,199,200,319,"
        h1ProdVsApp := 306
        array.concat(expApp, str.split("-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,34MN,34MN,34MN,34MN,34MN,34MN,34MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN", ","))
        array.concat(expApp, str.split("35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN", ","))
        array.concat(expPd, str.split("-,-,-,-,-,-,-,-,-,-,-,-,-,-,41MB,41MB,41MB,41MB,41MB,40MB,40MB,40MB,40MB,39MB,39MB,39MB,39MB,38MB,38MB,38MB,38MB,37MB,37MB,37MB,37MB,37MB,37MB,36MB,36MB,36MB,36MB,36MB,36MB,36MB,36MB,36MB,36MB,36MB,35MB,35MB,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP", ","))
        array.concat(expPd, str.split("35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP,35MP", ","))
    else if barSource == "falling"
        expFirst := 0
        keyBars := ",33,99,199,200,319,"
        h1ProdVsApp := 31
        array.concat(expApp, str.split("-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN", ","))
        array.concat(expApp, str.split("85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN", ","))
        array.concat(expPd, str.split("-,-,-,-,-,-,-,-,-,-,-,-,-,-,83MN,83MN,83MN,83MN,83MN,83MN,83MN,83MN,83MN,83MN,83MN,83MN,83MN,83MN,84MN,84MN,84MN,84MN,84MN,84MN,84MN,84MN,84MN,84MN,84MN,84MN,84MN,84MN,84MN,84MN,84MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN", ","))
        array.concat(expPd, str.split("85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN,85MN", ","))
    else if barSource == "flat"
        expFirst := 0
        keyBars := ",33,99,199,200,319,"
        h1ProdVsApp := 306
        array.concat(expApp, str.split("-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN", ","))
        array.concat(expApp, str.split("62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN,62NN", ","))
        array.concat(expPd, str.split("-,-,-,-,-,-,-,-,-,-,-,-,-,-,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN", ","))
        array.concat(expPd, str.split("35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN,35MN", ","))
    else if barSource == "irregular"
        expFirst := 0
        keyBars := ",33,99,199,200,319,"
        h1ProdVsApp := 44
        array.concat(expApp, str.split("-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,66NB,61NB,60NB,60NB,59NB,59NB,56NB,62TB,63TB,65TB,67TB,66TB,65TB,61NB,60NB,58NN,58NN,52NN,51NN,50NN,53NN,52NN,53NN,55NN,57NN,56NN,57NN,58NN,59NN,58NN,59NN,59NN,56NN,56NN,56NP,56NB,59NB,58NB,63NB,63NB,58NB,57NB,54NB,56NB,58NB,55NB,59NB,59NB,62NB,62NN,60NN,60NN,62NN,61NN,55TN,55TN,56NN,58NN,62NN,64NN,65NN,58TN,56TN,54TN,55TN,61NN,59NN,65NN,67NN,68NN,68NN,70NN,71NN,69NN,70NN,71NN,67NN,70NN,68NN,70NN,71NN,69NN,71NN,68NN,70NN,66NP,69NB,71NP,72NN,70NN,71NN,72NN,77MN,76MN,70NN,70NN,68NB,67NB,70NB,72TB,73TB,76TB,78TB,76TB,74TB,74TB,73TB,72TB,72TB,72TB,73TB,73TB,68TB,64TB,55NB,55NB,54NB,61NN,51NN,46NB,51NB,62TB,66TB,67TB,64TB,67TB,65TB,68TB,65TB,58TB,43HN,31HN,28HN,28HN,26HN,28HN,31HN,27HN,28HN,26HN,22HN,23HN,25HN,27HN,30HN,25HN,25HN,30HN,36HN,44HB,45HB,40HN,32HN,37HN,44HB,53HB,53HB,57HB,54HB,52HB,57HB,58HB,53HB,51HB,55HB,54HB,52HB", ","))
        array.concat(expApp, str.split("52HB,52HB,54HB,56HB,58HB,59HB,57HB,61TB,56NB,54NB,52NP,50NN,50NP,51NN,50NN,50NN,50NN,50NN,50NN,52NN,52NN,51NN,52NN,54NN,55NB,57NP,57NN,56NN,53NN,54NN,54NN,56NN,56NP,57NB,58NB,58NB,59NB,61NB,64TB,65TB,66TB,62NB,60NB,58NB,57NP,54NP,52NB,56NB,56NN,56NN,52NN,51NN,52NP,55NN,54NN,54NN,52NB,56NP,57NN,54NN,54NN,54NN,56NN,57NN,51TN,49TN,49TN,48TN,52NN,54NN,53NN,59NN,59NN,59NP,61NP,63NN,62NN,58NB,60NB,60NB,60NB,64NB,65NN,61NN,63NN,63NN,61NN,62NN,63NN,65NN,57TN,55TN,58NN,60NN,62NN,62NB,66NB,67NB,69NP,66NP,63NB,62NB,62NB,64NB,65NB,65NB,61NB,66TB,65TB,61NB,64NB,67NB,67NN,61NN,62NN,62NN,62NN,55TN,54TN,57NN", ","))
        array.concat(expPd, str.split("-,-,-,-,-,-,-,-,-,-,-,-,-,-,57NN,58NN,56NN,55NN,57NN,53NN,57NN,58NN,59NN,55NN,56NN,57NN,58NN,59NN,58NB,58NB,61NB,60NB,63NB,62NB,58NB,57NB,58NB,57NB,57NB,55NB,48MB,62TB,64TB,65TB,65TB,64TB,60NB,60NB,57NN,57NN,51NN,51NN,49NN,52NN,51NN,53NN,55NN,56NN,55NN,57NN,58NN,59NN,57NN,59NN,58NN,56NN,56NN,56NN,56NB,59NB,58NB,63NB,63NB,58NB,57NB,54NB,56NB,58NB,55NB,59NB,59NB,62NB,62NN,60NN,60NN,62NN,61NN,55TN,55TN,56NN,58NN,62NN,64NN,65NN,58TN,56TN,54TN,55TN,61NN,59NN,65NN,67NN,68NN,68NN,70NN,71NN,69NN,70NN,71NN,67NN,70NN,68NN,70NN,71NN,69NN,71NN,68NN,70NN,66NP,69NB,71NP,72NN,70NN,71NN,72NN,77MN,76MN,70NN,70NN,68NB,67NB,70NB,72TB,73TB,76TB,78TB,76TB,74TB,74TB,73TB,72TB,72TB,72TB,73TB,73TB,68TB,64TB,55NB,55NB,54NB,61NN,51NN,46NB,51NB,62TB,66TB,67TB,64TB,67TB,65TB,68TB,65TB,58TB,43HN,31HN,28HN,28HN,26HN,28HN,31HN,27HN,28HN,26HN,22HN,23HN,25HN,27HN,30HN,25HN,25HN,30HN,36HN,44HB,45HB,40HN,32HN,37HN,44HB,53HB,53HB,57HB,54HB,52HB,57HB,58HB,53HB,51HB,55HB,54HB,52HB", ","))
        array.concat(expPd, str.split("52HB,52HB,54HB,56HB,58HB,59HB,57HB,61TB,56NB,54NB,52NP,50NN,50NP,51NN,50NN,50NN,50NN,50NN,50NN,52NN,52NN,51NN,52NN,54NN,55NB,57NP,57NN,56NN,53NN,54NN,54NN,56NN,56NP,57NB,58NB,58NB,59NB,61NB,64TB,65TB,66TB,62NB,60NB,58NB,57NP,54NP,52NB,56NB,56NN,56NN,52NN,51NN,52NP,55NN,54NN,54NN,52NB,56NP,57NN,54NN,54NN,54NN,56NN,57NN,51TN,49TN,49TN,48TN,52NN,54NN,53NN,59NN,59NN,59NP,61NP,63NN,62NN,58NB,60NB,60NB,60NB,64NB,65NN,61NN,63NN,63NN,61NN,62NN,63NN,65NN,57TN,55TN,58NN,60NN,62NN,62NB,66NB,67NB,69NP,66NP,63NB,62NB,62NB,64NB,65NB,65NB,61NB,66TB,65TB,61NB,64NB,67NB,67NN,61NN,62NN,62NN,62NN,55TN,54TN,57NN", ","))
    else if barSource == "threshold"
        expFirst := 0
        keyBars := ",33,99,199,200,260,"
        h1ProdVsApp := 45
        array.concat(expApp, str.split("-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,-,66NB,61NB,60NB,60NB,59NB,59NB,56NB,62TB,63TB,65TB,67TB,66TB,65TB,61NB,60NB,58NN,58NN,52NN,51NN,50NN,53NN,52NN,53NN,55NN,57NN,56NN,57NN,58NN,59NN,58NN,59NN,59NN,56NN,56NN,56NP,56NB,59NB,58NB,63NB,63NB,58NB,57NB,54NB,56NB,58NB,55NB,59NB,59NB,62NB,62NN,60NN,60NN,62NN,61NN,55TN,55TN,56NN,58NN,62NN,64NN,65NN,58TN,56TN,54TN,55TN,61NN,59NN,65NN,67NN,68NN,68NN,70NN,71NN,69NN,70NN,71NN,67NN,70NN,68NN,70NN,71NN,69NN,71NN,68NN,70NN,66NP,69NB,71NP,72NN,70NN,71NN,72NN,77MN,76MN,70NN,70NN,68NB,67NB,70NB,72TB,73TB,76TB,78TB,76TB,74TB,74TB,73TB,72TB,72TB,72TB,73TB,73TB,68TB,64TB,55NB,55NB,54NB,55NB,53NB,49NB,49NB,50NB,47NB,52NP,49NP,47NP,47NB,50NB,53NN,49NN,52NN,52NN,52NN,47TN,44TN,45TN,44TN,42TN,44TN,45TN,47TN,53NN,57NN,58NN,60NN,57NN,56NN,60NN,60NN,60NN,63NN,64NN,64NN,61NN,62NN,59NB,61NB,65NB,63NB,62NB,65NB,65NB,63NB,60NB,63NB,62NB,61NB", ","))
        array.concat(expApp, str.split("59NB,61NB,59NB,63NB,62NB,64NB,61NB,61NN,61NN,61NN,62NN,59NN,56NN,59NN,61NN,61NN,62NN,61NN,57NN,62NN,64NN,59NN,59NN,59NB,60NB,64NB,65NP,66NN,61NN,60NN,59NP,62NP,60NB,61NB,60NB,59NB,59NB,61NB,64TB,65TB,66TB,63NB,62NB,60NB,59NB,55NB,52NB,57NB,58NN,58NN,54NN,52NN,53NP,56NN,54NP,55NP,53NB,57NP,58NN,55NN,59TB", ","))
        array.concat(expPd, str.split("-,-,-,-,-,-,-,-,-,-,-,-,-,-,57NN,58NN,56NN,55NN,57NN,53NN,57NN,58NN,59NN,55NN,56NN,57NN,58NN,59NN,58NB,58NB,61NB,60NB,63NB,62NB,58NB,57NB,58NB,57NB,57NB,55NB,48MB,62TB,64TB,65TB,65TB,64TB,60NB,60NB,57NN,57NN,51NN,51NN,49NN,52NN,51NN,53NN,55NN,56NN,55NN,57NN,58NN,59NN,57NN,59NN,58NN,56NN,56NN,56NN,56NB,59NB,58NB,63NB,63NB,58NB,57NB,54NB,56NB,58NB,55NB,59NB,59NB,62NB,62NN,60NN,60NN,62NN,61NN,55TN,55TN,56NN,58NN,62NN,64NN,65NN,58TN,56TN,54TN,55TN,61NN,59NN,65NN,67NN,68NN,68NN,70NN,71NN,69NN,70NN,71NN,67NN,70NN,68NN,70NN,71NN,69NN,71NN,68NN,70NN,66NP,69NB,71NP,72NN,70NN,71NN,72NN,77MN,76MN,70NN,70NN,68NB,67NB,70NB,72TB,73TB,76TB,78TB,76TB,74TB,74TB,73TB,72TB,72TB,72TB,73TB,73TB,68TB,64TB,55NB,55NB,54NB,55NB,53NB,49NB,49NB,50NB,47NB,52NP,49NP,47NP,47NB,50NB,53NN,49NN,52NN,52NN,52NN,47TN,44TN,45TN,44TN,42TN,44TN,45TN,47TN,53NN,57NN,58NN,60NN,57NN,56NN,60NN,60NN,60NN,63NN,64NN,64NN,61NN,62NN,59NB,61NB,65NB,63NB,62NB,65NB,65NB,63NB,60NB,63NB,62NB,61NB", ","))
        array.concat(expPd, str.split("59NB,61NB,59NB,63NB,62NB,64NB,61NB,61NN,61NN,61NN,62NN,59NN,56NN,59NN,61NN,61NN,62NN,61NN,57NN,62NN,64NN,59NN,59NN,59NB,60NB,64NB,65NP,66NN,61NN,60NN,59NP,62NP,60NB,61NB,60NB,59NB,59NB,61NB,64TB,65TB,66TB,63NB,62NB,60NB,59NB,55NB,52NB,57NB,58NN,58NN,54NN,52NN,53NP,56NN,54NP,55NP,53NB,57NP,58NN,55NN,60TB", ","))
    else if barSource == "Chart"
        expFirst := 735
        keyBars := ",1099,"
        h1ProdVsApp := 0
        array.concat(expApp, str.split("57NB,60NB,61NB,58NB,55NB,55NB,55NB,56NN,44TN,39TN,42HN,36TN,38TN,45NN,49NN,52NN,52NN,48HN,43HN,41HN,40HN,39HN,39HN,39HN,36HN,34HN,36HN,36HN,39HN,45HN,49HN,56HB,61HB,66HB,76TB,67HB,62HB,63HB,64HB,66HB,66HB,64HB,64HB,62HB,64HB,63HB,63HB,68TB,65NB,57HB,53HB,52HN,49HN,47HN,50HB,56NB,58NB,60NB,60NB,60NB,60NB,60NB,61NB,62NB,59NB,62NB,60NB,59NB,63TB,64TB,65TB,67TB,69TB,66TB,60NB,59NB,56NB,54NB,49NB,57TB,61TB,61TB,60TB,56NB,55NB,54NN,43TN,40TN,39TN,40TN,38TN,37TN,39TN,42TN,40TN,37TN,35TN,42HN,41HN,39HN,37HN,34HN,31HN,32HN,31HN,31HN,32HN,33HN,33HN,36HN,43HN,49HB,53HB,56HB,57HB,59HB,62HB,65HB,68HB,67HB,64HB,60HB,64HB,65HB,63HB,63HB,59HB,60HB,53HB,56HB,58HB,60HB,59HB,55HB,55HB,57HB,58HB,58HB,59HB,57HB,55HB,57HB,60HB,56HB,52HB,49HB,45HN,42HN,43HN,45HP,45HN,41HN,39HN,38HN,37HN,39HN,44NN,44HN,47NN,49NN,49NN,52NB,52NB,61TB,63TB,64TB,66TB,66TB,63TB,64TB,64TB,64TB,63TB,64TB,60TB,52NB,51NB,55TB,55TB,51NB,49NB,47NB,48NB,47NN,44NN,41NN,39NN,41NN,42NN,41NP,42NB,43NB,47NB,45NB,44NB,42NB,44NB,46NN,46NN,41NN", ","))
        array.concat(expApp, str.split("44NN,39TN,36TN,34TN,33TN,33TN,35TN,36TN,35TN,38TN,41TN,43TN,42TN,41TN,40TN,41TN,44TN,43TN,38TN,37TN,36TN,42HN,43HN,42HN,35TN,42HN,42HN,39TN,55NN,61NP,65NB,73TB,78TB,80TB,78TB,75TB,75TB,75TB,74TB,73TB,70NB,66NB,63NP,62NN,63NN,62NP,63NN,60NB,60NB,66TB,71TB,74TB,73TB,74TB,76TB,73TB,72TB,72TB,71TB,69TB,65TB,67TB,66TB,64TB,62TB,62TB,61TB,61TB,62TB,59NB,58NB,55NB,52NB,54NN,52NN,51NN,49NN,52NN,51NN,49NN,50NN,49NN,50NN,53NN,52NB,54NB,55NB,58NB,57NN,57NN,56NN,57NN,57NN,57NN,51NN,53NP,55TB,65TB,63TB,64TB,64TB,63TB,63TB,63TB,63TB,64TB,63TB,55TB,39MB,42NB,38NN,32MP,37NN,36NN,35NN,36NN,33TN,31TN,28TN,25TN,25TN,26TN,25TN,28TN,27TN,27TN,31TN,37NN,41NN,39MB,57TB,59TB,57TB,50NB,48NB,46NB,46NB,43NN,41NN,39NN,39NN,39NN,37NN,41NN,41NN,44NN,39TN,35TN,35TN,36TN,37TN,36TN,37TN,37TN,38TN,39TN,40TN,46NN,45NN,46NN,51NN,51NN,51NN,52NN,51NN", ","))
        array.concat(expPd, str.split("57NB,60NB,61NB,58NB,55NB,55NB,55NB,56NN,44TN,39TN,42HN,36TN,38TN,45NN,49NN,52NN,52NN,48HN,43HN,41HN,40HN,39HN,39HN,39HN,36HN,34HN,36HN,36HN,39HN,45HN,49HN,56HB,61HB,66HB,76TB,67HB,62HB,63HB,64HB,66HB,66HB,64HB,64HB,62HB,64HB,63HB,63HB,68TB,65NB,57HB,53HB,52HN,49HN,47HN,50HB,56NB,58NB,60NB,60NB,60NB,60NB,60NB,61NB,62NB,59NB,62NB,60NB,59NB,63TB,64TB,65TB,67TB,69TB,66TB,60NB,59NB,56NB,54NB,49NB,57TB,61TB,61TB,60TB,56NB,55NB,54NN,43TN,40TN,39TN,40TN,38TN,37TN,39TN,42TN,40TN,37TN,35TN,42HN,41HN,39HN,37HN,34HN,31HN,32HN,31HN,31HN,32HN,33HN,33HN,36HN,43HN,49HB,53HB,56HB,57HB,59HB,62HB,65HB,68HB,67HB,64HB,60HB,64HB,65HB,63HB,63HB,59HB,60HB,53HB,56HB,58HB,60HB,59HB,55HB,55HB,57HB,58HB,58HB,59HB,57HB,55HB,57HB,60HB,56HB,52HB,49HB,45HN,42HN,43HN,45HP,45HN,41HN,39HN,38HN,37HN,39HN,44NN,44HN,47NN,49NN,49NN,52NB,52NB,61TB,63TB,64TB,66TB,66TB,63TB,64TB,64TB,64TB,63TB,64TB,60TB,52NB,51NB,55TB,55TB,51NB,49NB,47NB,48NB,47NN,44NN,41NN,39NN,41NN,42NN,41NP,42NB,43NB,47NB,45NB,44NB,42NB,44NB,46NN,46NN,41NN", ","))
        array.concat(expPd, str.split("44NN,39TN,36TN,34TN,33TN,33TN,35TN,36TN,35TN,38TN,41TN,43TN,42TN,41TN,40TN,41TN,44TN,43TN,38TN,37TN,36TN,42HN,43HN,42HN,35TN,42HN,42HN,39TN,55NN,61NP,65NB,73TB,78TB,80TB,78TB,75TB,75TB,75TB,74TB,73TB,70NB,66NB,63NP,62NN,63NN,62NP,63NN,60NB,60NB,66TB,71TB,74TB,73TB,74TB,76TB,73TB,72TB,72TB,71TB,69TB,65TB,67TB,66TB,64TB,62TB,62TB,61TB,61TB,62TB,59NB,58NB,55NB,52NB,54NN,52NN,51NN,49NN,52NN,51NN,49NN,50NN,49NN,50NN,53NN,52NB,54NB,55NB,58NB,57NN,57NN,56NN,57NN,57NN,57NN,51NN,53NP,55TB,65TB,63TB,64TB,64TB,63TB,63TB,63TB,63TB,64TB,63TB,55TB,39MB,42NB,38NN,32MP,37NN,36NN,35NN,36NN,33TN,31TN,28TN,25TN,25TN,26TN,25TN,28TN,27TN,27TN,31TN,37NN,41NN,39MB,57TB,59TB,57TB,50NB,48NB,46NB,46NB,43NN,41NN,39NN,39NN,39NN,37NN,41NN,41NN,44NN,39TN,35TN,35TN,36TN,37TN,36TN,37TN,37TN,38TN,39TN,40TN,46NN,45NN,46NN,51NN,51NN,51NN,52NN,51NN", ","))
        array.concat(expH, str.split("84300,85905,86100,85799.99,86496.42,85500,85470.01,85132.08,85677.99,85320.76,88465.99,93888,94696.05,94005,95758.04,95199,95369,95630,95461.53,95228.45,97424.02,97895.68,96935.67,96304.48,95199,96920.65,97732,104145.76,104361.3,104984.57,104972,105819.45,104976.25,104356.95,104192.7,104550.33,103709.86,106660,107108.62,107320,110797.38,111980,111800,109506.03,109299.99,110422.22,110718,109284.7,108891.91,106313.12,104900,105866.91,105935.63,106794.67,106000,105909.71,105333,105900,106488.14,110530.17,110400,110392.01,108813.55,106179.53,106252,106128.57,108952.38,107771.34,105550.27,105226.17,106524.65,103982.64,103399.62,106074.2,106290,108135.3,108272.45,107735.34,107577.75,108528.5,108789.99,107540,109730,110529.18,109767.59,108420.56,109700,109700,109216.56,111999.79,116868,118869.98,118200,119488,123218,119940.83,120063.84,120998.71,120820.71,118499.9,118856.8,119676.73,120247.8,120090,119450,118451.57,118297.35,119766.65,119800,119273.36,118792,118922.45,116052,114063.49,114799.97,115720,115127.81,115716,117621,117630,117944.05,119311.11,122335.16,120324.43,123667.79,124474,119216.82,117898.99,118575,117543.75,116725.69,114615.38,114821.76,117429.05,117030,115666.68,113667.28,112371,112625,113485.9,112638.64,108926.15,109480.02,109912.4,111771.52,112575.27,112180,113384.62,111307.7,111600,112924.37,113293.29,114313.13,115488.09,116665.63,116298.78,116165.19,116757.99,116964.27,117286.73,117900,117459.99,116121.81,115819.06,115379.25,113290.5,113940,113510.23,110300,109743.91,112350,114400,114792,118649.1,121022.07,123894.99,122800,125708.42,126199.63,125126,124197.25,123762.94,122550,113322.39,115770,115963.81,115409.96,113612.35,111982.45,109240,107499,109450.07,111705.56,114000,109163.88,111293.61,112104.98,111943.19,115466.8,116400", ","))
        array.concat(expH, str.split("116086,113643.73,111592,111190,110564.49,111250.01,110750,107299,104534.74,104200,104096.36,103406.22,105495.62,106670.11,107500,105333.33,104085.01,99866.02,96846.68,96635.11,96043,93836.01,92980.22,93160,87498.94,85620,88127.64,89228,88519.99,90656.08,91950,93092,91165.65,92000.01,90417,92307.65,94150,94080,92692.36,90289.97,91760,92287.15,94588.99,94476,93555,92754,90634.55,90472.4,90052.64,88175.98,90365.85,89477.61,89399.97,88573.07,89081.77,90588.23,88940,88049.89,88592.74,89567.75,87984,88088.75,90406.08,89400,89200,88919.45,90961.81,90741.16,91810,94789.08,94444.44,93747.97,91687.99,92082.55,90832,91283.89,92519.95,96495,97924.49,97193.34,95871.47,95639.45,95531.12,93673.14,92870,90574,90359.99,91224.99,89957.39,89319.13,88860,89523.16,90600,89348,84735.75,84270.02,79424,79360,79186.81,76971.52,73341.18,71751.33,71690.07,72271.41,71453.53,70527.59,69292.88,68410.52,69482.97,70560.01,70983,70126.67,69241.5,68476.22,67320,68318.39,68698.7,68245,67684.86,65026.75,69988.83,68860,68216.8,67760,68199.99,70096,69258.08,74050,73558.15,71419.98,68551.04,68200,69516.65,71777,71321,70800,73913.74,71307.92,73199,74909.08,76000,74672.34,71613.79,71367,71100.94,69588.79,71817.09,71400,72026.09,71436.82,69179.05,67288.94,67130.5,68169.65,68589.49,69310,68653.38,67370.42,67562.93,69136.2,70351.46,72761,72857,73145,73434,73790,73137.24,74900,76038,75425,75534.76,78333,77420.08,76240.66,76558.62,76927.57,79472.82,78662.5,78581.93,77885.35,78961,79485.66,77478,77904.93,76669.14,78914.12,79199.48,79447,80776.99,81791.48,82850,81708.32,80500,81080,82479.32,82380,81788,81324.64,82048.13,81664.45", ","))
        array.concat(expH, str.split("79227.77,78599.99,77800,77414.62,77853.04,78200,77900,77404.18,77543.15,77905.52,78080,76174.15,74590.77,74514.1,74143.76,74275.66,74092,71408.9,67516,64764.32,63978,61530.05,64234.68,64200,63526.01,62857.99,63933.02,64394.44,64762.77,65800,67292.15,66992,66445.93,64806,63666,64388,64588,65622.83,64275.38,63239.06,61962.4,60759.99,60941.17,60545.01,60780.57,60276.54,61334,62200,62979.86,63461.99,63999,64700,64314,63761.99,63500,64692.83,64504.11,64290.11,64425,65100,65600,64997.52,64387.99,64865,64967.25,65799,66956.15,66739.89,66313.14,65808.59,64475.28,65577,65744.6,64100,64744.81,65176.6,65409.56,63150,63796.33,64080,64549.16,65025.22,64999,65390.99,65192.54,65474.46,65391.14,64515.43,64500,64010,63617.45,63187.98,63390,64610.01,65058.81,70000,73400,79500,78828.15,78052.85,80000,81272.62,79251.6,80848.74,81478.87,78330,79400,79250,79220.61,77792,82300,81427.75,80200,80559.99,80443.99,79485,79760,78564.39,79890,77505.67,77450,79600,78250.46,76560.76,77179.47,81400,81951,81497.33,87395.67,86717.6,87278.54,84942.45,85255,84473.58,85159.03,84999,84563.99,85649.95,85273.65,87220,85037.63,86800,86999.11,86698.99,85598.22,83521.15,83528.98,83173.29,84199,84352,84168,84146.72,82634.3,82940.81,81770.01,82295.47,83158,83439,84898,84377.21,82060.88,81213.64,81033.69,80844.7", ","))
        array.concat(expL, str.split("78969.58,82792.95,83034.23,83678,83600,83111.64,83736.26,84303.96,84364.45,83949.52,85144.76,87076.03,91935.41,91660.01,92855.96,93870.69,93602.58,92800.01,93742.54,92910,94130.43,96350,95753.01,94151.38,93514.1,93377,95784.61,96876.29,102315.14,102818.76,103345.06,100718.37,101429.7,102602.05,101383.07,103100.49,102612.5,103105.09,102000,104184.72,106100.01,109177.37,106800,106875.41,106600.64,108670.58,107516.57,106769.43,105322.86,103621,103068.55,103752.49,103659.88,104872.5,104179,100372.26,101095.8,103871.09,104964.14,105318.37,108331.03,108064,105671.72,102664.31,104300,104494.53,104980.37,103371.02,103500,103929.27,102345,100837.9,98200,99613.33,104622.02,105808.03,106562.5,106356.76,106811.51,107172.52,106733.33,105250.85,105100.19,108530.4,107245,107756.31,107800.01,107513.2,107429.57,108324.53,110500,115222.22,116900.05,117224.79,118905.18,115736.92,117017.29,117453.57,116812.76,117277.34,116467.02,116515,116128,117301,117103.1,114723.16,117138.38,117825.5,117427.5,116950.75,115796.23,115500,112722.58,112003,111920,114107.6,112650,113355.13,114259,115878.71,116299.13,116460.63,118050.11,118207.47,118920.92,117180,116803.99,117143.98,117172.21,114640.14,112732.58,112380,112015.67,111684.79,114560,110680,109274.1,108666.66,110345.42,110862.42,107463.9,107350.1,108076.93,107255,108393.39,110528.71,109329.12,110206.96,109977,110180,110621.78,110766.66,110917.45,113430,114740.99,115127.27,115135,114384,114737.11,114720.81,116092.76,115100,115408.47,115188,111800,111458.73,111042.66,108631.51,108620.07,109064.4,109189.99,111560.65,112656.27,113966.67,118279.31,119248.3,121510,122136,123084,120574.94,121066.14,119651.47,102000,109561.59,109565.06,113616.5,109866,110164,107427,103528.23,106322.2,106103.36,107402.52,107473.72,106666.69,107500,109700.01,110672.86,111260.45,113830.01", ","))
        array.concat(expL, str.split("112211,109200,106304.34,108275.28,109394.81,109471.34,105306.56,98944.36,98966.8,100300.95,99260.86,101454,101400,104265.02,102476.09,100813.59,98000.4,94012.45,94558.49,93005.55,91220,89253.78,88608,86100,80600,83500,84667.57,85272,86116,86306.77,90089.91,90180.63,90155.47,90336.9,83822.76,86184.39,90990.23,90889,88056,88908.01,87719.28,89612,89500,91563.15,89260.63,89480,89766.39,87577.36,85146.64,85266,85314,84450.01,85110.24,87795.76,87600.04,87900,86601.9,86420,86934.72,86655.08,87253.05,87435,86806.5,86845.66,87250,87550.43,88379.88,89314.01,90628,91514.81,91262.94,90675.52,89311,89694.66,90404,90236,90128.44,91042.66,94559.28,95134.48,94293.46,95021.67,93615.4,91910.2,87895.98,87263.53,88515.37,88578.36,89162.08,86074.72,86509.63,87304.33,88833.65,83383.33,81118,75719.9,75700,74604,72945.5,71888,62345,60000,67300,68888,68308,67800,65756,65118,65872.46,68730.13,68000,67294.11,66621.06,65870,65631.83,66280.2,67534.69,67190,63888.79,62510.28,63913.27,66500,64914.46,63030,65056,65259.21,66158,67400,70645.47,67744.78,66915.26,65618.49,65821.97,68391.41,68977.91,69205.91,70386.01,70317,70858.82,72270.41,73399.19,70500,68793.35,69388,68571.42,67360.66,67445.18,68923.07,70408,68153,65548.25,65932.09,65000,65800.59,65998.05,67578.75,65712.12,66282,66775.91,66611.66,68300,67732.01,70707.23,70466,71426.15,72513.09,70505.88,70566.99,73795.47,73514,73309.85,74529.4,75445.16,73762.9,73724.31,74821.57,76132.95,76960,77264.08,77140.23,77326.51,76459.64,75666.6,74937.52,75323.65,76320.42,78040,78084.08,78202,79808.72,80731.14,79500,79181.48,80129.85,80279.77,80462.97,79843.59,78754.65,78922,78659", ","))
        array.concat(expL, str.split("77640,76735.16,76051,76144.71,76516.74,76719.47,75359.18,74289.6,76108,76914.25,75677.97,74243.99,72582.82,72512.49,73216,73400,70686.68,66193,64092.49,61383.56,59130.91,59500,60746,62408,60780,60755,61510.99,62829.81,63418.66,63678.83,65354,65360.92,63915.77,62272.07,62316.44,63184.21,63270,63312,61938,59102.7,58115.01,58337,59855.16,58905,58900.01,58201,57800.19,59588,61248.86,62328.24,62436.59,61306.84,62671.39,61544.56,61705.29,62926.01,63819,63640.83,61824.97,62272.2,64485,63748.74,62537.56,63886.65,64280,63100,65148.75,65553.67,64650,63739.75,63810,64293.81,63605.56,62742.47,63267.34,63603.92,62466,62275,62806.58,62300,63322.01,63880,64172,64166,64784.19,64730.08,63806.27,63238,63310.34,62802.27,62535.24,62920,62716,62751.1,64027.85,64166,68902.22,73027.02,76500,75545.67,76670.01,77851,77632.58,78546.13,76888,77382.37,77000,77392,76420,76264,76968,78660,79442,79233,78680,77620.01,77770,76464,76046.58,77059.75,76500,76388.72,74967.97,75064.82,76000,76296,80844.58,80126.04,80850.22,85114,83500.01,82874.93,83183,83798,84132,82563,82775.94,82956.11,83186,83888,84456.02,84719.99,84972.01,85136.11,82787.25,80393.56,81603.52,82545.82,82804.65,81750.09,81033.66,81444.42,79800,80809.25,80819.66,80684.36,81748.85,81200,82635.32,80939.54,80513,79220.74,79845.86,79368.67", ","))
        array.concat(expC, str.split("83423.84,85276.9,83760,84591.58,83643.99,84030.38,84947.91,84474.69,85077.01,85179.24,87516.23,93442.99,93691.08,93980.47,94638.68,94628,93749.3,95011.18,94256.82,94172,96489.91,96887.14,95856.42,94277.62,94733.68,96834.02,97030.5,103261.6,102971.99,104809.53,104118,102791.32,104103.72,103507.82,103763.71,103463.9,103126.65,106454.26,105573.74,106849.99,109643.99,111696.21,107318.3,107761.91,109004.19,109434.79,108938.17,107781.78,105589.75,103985.48,104591.88,105642.93,105857.99,105376.89,104696.86,101508.68,104288.44,105552.15,105734,110263.02,110274.39,108645.12,105671.73,106066.59,105414.64,105594.01,106794.53,104551.17,104886.78,104658.59,103297.99,102120.01,100963.87,105333.93,106083,107340.58,106947.06,107047.59,107296.79,108356.93,107146.5,105681.14,108849.6,109584.78,107984.24,108198.12,109203.84,108262.94,108922.98,111233.99,116010,117527.66,117420,119086.64,119841.18,117758.09,118630.43,119177.56,117924.84,117840,117265.12,117380.36,119954.42,118755.99,118340.99,117614.31,117919.99,119415.55,118062.32,117950.76,117840.3,115764.08,113297.93,112546.35,114208.8,115055.03,114129.75,114992.27,117472.01,116674.74,116462.25,119294.01,118686,120134.08,123306.43,118295.09,117342.05,117380.66,117405.01,116227.05,112872.94,114271.24,112500,116935.99,115438.05,113493.59,110111.98,111763.22,111262.01,112566.9,108377.4,108816.33,108246.35,109237.42,111240.01,111705.71,110730.87,110659.99,110187.97,111137.34,112065.23,111546.39,113960,115482.69,116029.42,115918.29,115268.01,115349.71,116788.96,116447.59,117073.53,115632.38,115685.63,115232.29,112650.99,111998.8,113307,108994.49,109643.46,109635.85,112163.95,114311.96,114048.93,118594.99,120529.35,122232,122391,123482.31,124658.54,121332.95,123306,121662.4,112774.5,110644.4,114958.8,115166,113028.14,110763.28,108194.28,106431.68,107185.01,108642.78,110532.09,108297.67,107567.44,110078.18,111004.89,111646.27,114559.4,114107.65", ","))
        array.concat(expC, str.split("112898.45,110021.29,108322.88,109608.01,110098.1,110540.68,106583.04,101497.22,103885.16,101346.04,103339.08,102312.94,104722.96,106011.13,103058.99,101654.37,99692.02,94594,95596.24,94261.44,92215.14,92960.83,91554.96,86637.23,85129.43,84739.74,86830,88300.01,87369.96,90484.02,91333.95,90890.7,90802.44,90360,86286.01,91277.88,93429.95,92078.06,89330.04,89236.79,90395.31,90634.34,92678.8,92015.37,92513.38,90268.42,90240.01,88172.17,86432.08,87863.42,86243.22,85516.41,88136.94,88360.9,88658.86,88620.79,87486,87669.45,87225.27,87369.56,87877.01,87952.71,87237.13,88485.49,87648.22,88839.04,89995.13,90628.01,91529.73,93859.71,93747.97,91364.16,91099.99,90641.28,90504.7,91013.65,91296.2,95414,96951.78,95604.8,95550.94,95147.77,93673.14,92631,88427.66,89454.73,89559.67,89600.26,89225.34,86670.36,88347.08,89250,89299.99,84650.16,84260.49,78741.09,76968.21,78738.61,75770.21,73165.83,62909.86,70580.26,69289.38,70330.38,70138,68841.29,67082.52,66272.17,68853.96,69822.95,68832.58,68892.43,67503.52,66461,67003.73,68020.01,67975.93,67643.4,64656.02,64058.15,67988.04,67485.18,65872.1,66973.26,65776.47,68830.06,68338,72666.77,70890.72,68114.02,67262.91,65971.2,68432.16,69948.63,70191.86,70541.34,70930,71211.95,72815.24,74884.67,73909.36,71246.54,69930,70510.73,68918.12,67859,70906.45,70556.74,71336.53,68820.31,66407.28,66377.03,66010.93,66797.37,68284.48,68113.92,66901.99,66964.3,67300.42,69034.18,68853.66,71924.22,71069.93,71787.97,72962.7,73043.16,70740.98,74417.99,74131.55,74809.99,75154.29,77072,75691.76,73801.79,75840.97,76336.15,78178.23,78257.48,77437.13,77625,78657.55,77371.32,76342.77,75780,76346.57,78231.13,78686.85,78568.57,79861.01,80905.52,81447.01,80006,80193.17,80678.4,82210.07,81745.65,80504.47,79313.61,81089.99,79113.21", ","))
        array.concat(expC, str.split("78148.05,77457.67,77001.87,76834.36,77552.23,77615.52,75539.5,76752.01,77064.96,77322.01,75930.01,74449.3,73617.51,73460.78,73884.38,73674.39,71408.9,66760.83,64142.75,63885.99,61056.47,60884.62,63332.01,63085.99,61730,61510.99,63625.99,63580.01,64458.01,65746.45,66328.74,65675.01,64509.4,62958.01,63543.91,64298.01,63311.99,64020.01,62734.57,61077.99,59794,60097.27,60029,59577.01,60260.21,58624.71,60024,61560,62583.26,63144.01,63650,64042.02,63363.99,62290,63230,64161.72,63819,63780,62334.52,65043.98,64756.28,63830.2,63931.67,64834.22,64722.54,65255.51,66556.16,66114.49,65098.97,64139.99,64375,65399.99,63755.86,63915,63984.28,64780.02,62887.88,62823.64,63570,63520,64106.56,64665.23,64323.61,64923.19,64962.6,64901.59,63970.01,63600,63479.99,63490.86,63043.56,63086.01,62900,64532.1,64725.42,69334.79,73025.15,78338.03,77074.93,77734,78992.75,78539.14,79023.75,80249.58,77845.87,78230,77682,78581.29,77439,77340.01,81270.37,79660.77,79831.75,80341.83,79112.01,78455.8,78306.43,76568.72,77225.7,77278.73,76842.01,78189.21,75644.48,76206.01,76417.01,80883.87,81249.99,81178,86620,86208.56,84397.6,84410.24,84099.99,84433.1,84472,83500.01,83663.66,83623.6,84880.05,84518.01,84753.56,86530,85766.87,85549.93,83321.81,81754.45,82635.55,82988.36,83773.12,81850,83169,81682.01,82245.93,81615.64,81491.04,82116,81938.4,83028.15,84093.42,81416.09,81189.43,80888.16,80154.09,80150.56", ","))

zcCompact(bool ready, int score, int regime, float hist, float price) =>
    float m = hist / price
    string letter = regime == 0 ? "N" : regime == 1 ? "T" : regime == 2 ? "M" : "H"
    ready ? str.tostring(score) + letter + (m >= 0.0005 ? "B" : m > 0 ? "P" : "N") : "-"

zcNum(float x) =>
    na(x) ? "na" : str.tostring(x, "#.################")

int k = fixture ? bar_index : int(math.round((time - SNAPSHOT_START) / 86400000.0))
bool aligned = fixture or time == SNAPSHOT_START + k * 86400000
var int compared = 0
var int candVsApp = 0
var int prodVsPd = 0
var int prodVsApp = 0
var int inputsChecked = 0
var int inputMismatches = 0
var string firstCand = ""
var string firstProd = ""
var string firstInput = ""
if barstate.isconfirmed and aligned
    int j = k - INPUT_FIRST
    if not fixture and j >= 0 and j < array.size(expC)
        inputsChecked += 1
        if h != str.tonumber(array.get(expH, j)) or l != str.tonumber(array.get(expL, j)) or c != str.tonumber(array.get(expC, j))
            inputMismatches += 1
            if inputMismatches <= 3
                firstInput += " " + str.tostring(k) + ":" + zcNum(c) + "/" + array.get(expC, j)
    int e = k - expFirst
    if e >= 0 and e < array.size(expApp)
        compared += 1
        string cand = zcCompact(candReady, candScore, candRegime, candHist, c)
        string prod = zcCompact(prodReady, prodScore, prodRegime, prodHist, c)
        string app = array.get(expApp, e)
        if cand != app
            candVsApp += 1
            if candVsApp <= 3
                firstCand += " " + str.tostring(k) + ":" + cand + "/" + app
        if prod != array.get(expPd, e)
            prodVsPd += 1
            if prodVsPd <= 3
                firstProd += " " + str.tostring(k) + ":" + prod + "/" + array.get(expPd, e)
        if prod != app
            prodVsApp += 1
    if str.contains(keyBars, "," + str.tostring(k) + ",")
        log.info("zc_kp case=" + barSource + " bar=" + str.tostring(k) + " cand=" + zcNum(candRsi) + "|" + zcNum(candHist) + "|" + zcNum(candAtr) + " prod=" + zcNum(prodRsi) + "|" + zcNum(prodHist) + "|" + zcNum(prodAtr))

if barstate.islastconfirmedhistory
    string summary = "zc_selfcheck case=" + barSource + " compared=" + str.tostring(compared) + " candVsApp=" + str.tostring(candVsApp) + " prodVsPd=" + str.tostring(prodVsPd) + " prodVsApp=" + str.tostring(prodVsApp) + " h1ProdVsApp=" + str.tostring(h1ProdVsApp) + " inputs=" + str.tostring(inputsChecked - inputMismatches) + "/" + str.tostring(inputsChecked) + " firstCand=[" + firstCand + "] firstProd=[" + firstProd + "] firstInput=[" + firstInput + "]"
    log.info(summary)
    var table result = table.new(position.top_right, 1, 1, bgcolor = color.new(color.black, 20))
    table.cell(result, 0, 0, summary, text_color = color.white, text_size = size.small)

Overview

ZeroChart Parity Harness computes RSI, momentum, volatility factor scores, and market regime classifications across standard chart data or synthetic fixture bar patterns such as rising, falling, flat, and irregular movements. The output is drawn in a separate pane for data export and verification.

Details

Published by

blackhebrewisraeli on GitHub

Draws

Separate pane below the chart

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Topics

backtestingfintechmarket-researchmarket-scannerpine-scriptportfolio-managementquantitative-financereact

Settings

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

SettingTypeDefaultVariable
BarsstringChartbarSource
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

TTM Squeeze

by Alorse
368 stars

This indicator plots a TTM Squeeze momentum oscillator in a separate pane. It compares a Bollinger Band offset to a Keltner Channel offset and marks the zero line white when the difference is non-negative and black when the bands are inside the channel. A line

Indicator v5 Oscillators & momentumVolatility & bands
Updated 3 months ago · None stated GitHub repository of TTM Squeeze

Function - Logistic Equation

by ricardosantos79
261 stars

Calculates dynamic modeling values by applying a mathematical logistic differential equation to price change over a specified lookback length. It measures price momentum relative to the recent high-low price range. The script plots positive and negative logist

Indicator v5 Oscillators & momentumVolatility & bands
Updated 5 years ago · None stated GitHub repository of Function - Logistic Equation
228 stars

This indicator detects a Bollinger Band squeeze when the bands sit inside Keltner Channels, marking low volatility. It plots red dots during a squeeze and green dots when the bands are outside, in a separate pane. An optional histogram shows momentum as the cl

Indicator v6 Volatility & bandsOscillators & momentum
Updated 4 months ago · None stated GitHub repository of Bollinger Band Squeeze Detector

MACD-V

by harryguiacorn
220 stars

MACD-V is a volatility-normalized momentum indicator based on research by Alex Spiroglou. It calculates the standard MACD histogram and normalizes it by dividing by the Average True Range (ATR). Plotted in a separate pane as a colored histogram, it includes us

Indicator v5 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of MACD-V
147 stars

This indicator generates trade entry signals and target levels optimized for 1-hour timeframes, designed for external signal extraction. It calculates 7-period and 16-period EMAs alongside 10-period RSI and ATR filters. Long signals occur when the fast EMA cro

Indicator v5 TrendOscillators & momentum
Updated 2 months ago · MIT GitHub repository of Signal Strategy 100 Candles of 1H Timeframe

Bubbles Indicator

by capissimo
114 stars

The Bubbles Indicator measures volatility squeezes and expansion bursts using Bollinger Bands combined with a sinusoid oscillator and RSI divergence. It processes price data through scaled Bollinger Bands to highlight volatility changes while confirming trend

Indicator v4 Volatility & bandsOscillators & momentum Repaints
Updated 2 years ago · None stated GitHub repository of Bubbles Indicator

More Oscillators & momentum 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