Indicator · Pine Script v6 · Own pane

AlphaResin Conformance 1

by fadhilmhd

A test script that plots dozens of built-in Pine calculations in a separate pane, each on its own line, so a converter can compare its output against exported chart data.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code65
Settings0inputs
LicenceApache-2.0
Last update3 weeks ago7 Oct 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

65 lines of Pine Script v6 from packages/resin/conformance/1-averages-oscillators.pine, published under Apache-2.0. Keep the author's credit and licence lines when you reuse it.

1-averages-oscillators.pine
//@version=6
// AlphaResin conformance 1: averages, oscillators and volatility. Each plot is one
// built-in on the chart's own bars; AlphaResin runs the same script on the export
// and compares every column. Add the Volume indicator before exporting.
indicator("AlphaResin Conformance 1 | AlphaPine", overlay = false)

len = 14
plot(ta.sma(close, len), "sma")
plot(ta.ema(close, len), "ema")
plot(ta.rma(close, len), "rma")
plot(ta.wma(close, len), "wma")
plot(ta.hma(close, len), "hma")
plot(ta.alma(close, 9, 0.85, 6), "alma")
plot(ta.alma(close, 9, 0.85, 6, true), "alma floor")
plot(ta.vwma(close, len), "vwma")
plot(ta.swma(close), "swma")
plot(ta.linreg(close, len, 0), "linreg")
plot(ta.median(close, len), "median")
plot(ta.stdev(close, len), "stdev")
plot(ta.stdev(close, len, false), "stdev unbiased")
plot(ta.dev(close, len), "dev")
plot(ta.variance(close, len), "variance")
plot(ta.percentrank(close, len), "percentrank")
plot(ta.percentile_linear_interpolation(close, len, 30), "percentile linear")
plot(ta.percentile_nearest_rank(close, len, 30), "percentile nearest")
plot(ta.mode(math.round(close / 100) * 100, len), "mode")
plot(ta.cmo(close, len), "cmo")
plot(ta.mom(close, len), "mom")
plot(ta.roc(close, len), "roc")
plot(ta.rsi(close, len), "rsi")
plot(ta.cci(close, 20), "cci")
plot(ta.mfi(hlc3, len), "mfi")
plot(ta.wpr(len), "wpr")
plot(ta.tsi(close, 13, 25), "tsi")
plot(ta.rci(close, 10), "rci")
plot(ta.cog(close, 10), "cog")
plot(ta.change(close), "change")
plot(ta.cum(close), "cum")
plot(ta.highest(high, len), "highest")
plot(ta.lowest(low, len), "lowest")
plot(ta.highestbars(high, len), "highestbars")
plot(ta.lowestbars(low, len), "lowestbars")
plot(ta.range(close, len), "range")
plot(ta.atr(len), "atr")
plot(ta.tr, "tr")
plot(ta.tr(true), "tr handle na")
[bbMid, bbUp, bbLow] = ta.bb(close, 20, 2)
plot(bbMid, "bb basis")
plot(bbUp, "bb upper")
plot(bbLow, "bb lower")
plot(ta.bbw(close, 20, 2), "bbw")
[kcMid, kcUp, kcLow] = ta.kc(close, 20, 1.5)
plot(kcMid, "kc basis")
plot(kcUp, "kc upper")
plot(kcLow, "kc lower")
plot(ta.kcw(close, 20, 1.5), "kcw")
[macdLine, signalLine, histLine] = ta.macd(close, 12, 26, 9)
plot(macdLine, "macd")
plot(signalLine, "macd signal")
plot(histLine, "macd hist")
plot(ta.stoch(close, high, low, len), "stoch")
[diPlus, diMinus, adx] = ta.dmi(14, 14)
plot(diPlus, "di plus")
plot(diMinus, "di minus")
plot(adx, "adx")

Overview

AlphaResin Conformance 1 covers moving averages, RSI, CCI, MFI, MACD, stochastic, ADX with directional lines, Bollinger and Keltner bands, ATR and statistics such as standard deviation and percent rank. It has no inputs and gives no trade signals; it is a conformance fixture, not a trading tool.

Details

Published by

fadhilmhd 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

backtestingconverterparserpine-scripttechnical-analysistradingtypescript

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
330 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 2 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 4 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 3 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 6 weeks 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 1 year 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