Indicator · Pine Script v6 · On the chart

AlphaResin Conformance 2

by fadhilmhd

A test script that plots a long list of built-in values on the price chart so a converter can be checked against exported chart data.

View on GitHub

Repaints

GitHub stars1on the repository
Pine versionv6current
Lines of code62
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

62 lines of Pine Script v6 from packages/resin/conformance/2-trend-volume-pivots.pine, published under Apache-2.0. Keep the author's credit and licence lines when you reuse it.

2-trend-volume-pivots.pine
//@version=6
// AlphaResin conformance 2: trend, volume, pivots, other timeframes and Heikin Ashi.
// Add the Volume indicator before exporting.
indicator("AlphaResin Conformance 2 | AlphaPine", overlay = true)

[st, stDir] = ta.supertrend(3, 10)
plot(st, "supertrend")
plot(stDir, "supertrend dir")
plot(ta.sar(0.02, 0.02, 0.2), "sar")
plot(ta.vwap, "vwap")
[vw, vwUp, vwLow] = ta.vwap(hlc3, timeframe.change("W"), 1)
plot(vw, "vwap weekly")
plot(vwUp, "vwap weekly upper")
plot(vwLow, "vwap weekly lower")
plot(ta.obv, "obv")
plot(ta.accdist, "accdist")
plot(ta.pvt, "pvt")
plot(ta.pvi, "pvi")
plot(ta.nvi, "nvi")
plot(ta.wad, "wad")
plot(ta.iii, "iii")
plot(ta.wvad, "wvad")
plot(ta.correlation(close, volume, 20), "correlation")
plot(ta.max(high), "max")
plot(ta.min(low), "min")
cross = ta.crossover(close, ta.sma(close, 20))
plot(ta.barssince(cross), "barssince")
plot(ta.valuewhen(cross, close, 1), "valuewhen")
plot(ta.pivothigh(high, 5, 5), "pivothigh")
plot(ta.pivotlow(low, 5, 5), "pivotlow")
plot(ta.crossunder(close, ta.sma(close, 20)) ? 1 : 0, "crossunder")
plot(ta.rising(close, 3) ? 1 : 0, "rising")
plot(ta.falling(close, 3) ? 1 : 0, "falling")

newDay = timeframe.change("D")
trad = ta.pivot_point_levels("Traditional", newDay)
fib = ta.pivot_point_levels("Fibonacci", newDay)
wood = ta.pivot_point_levels("Woodie", newDay)
clas = ta.pivot_point_levels("Classic", newDay)
dm = ta.pivot_point_levels("DM", newDay)
cam = ta.pivot_point_levels("Camarilla", newDay)
plot(trad.get(0), "traditional P")
plot(trad.get(5), "traditional R3")
plot(trad.get(10), "traditional S5")
plot(fib.get(0), "fibonacci P")
plot(fib.get(3), "fibonacci R2")
plot(wood.get(0), "woodie P")
plot(wood.get(7), "woodie R4")
plot(clas.get(0), "classic P")
plot(clas.get(8), "classic S4")
plot(dm.get(0), "dm P")
plot(dm.get(1), "dm R1")
plot(cam.get(0), "camarilla P")
plot(cam.get(7), "camarilla R4")
plot(cam.get(9), "camarilla R5")

plot(request.security(syminfo.tickerid, "D", close), "D close")
plot(request.security(syminfo.tickerid, "D", close[1], lookahead = barmerge.lookahead_on), "D prev close")
plot(request.security(syminfo.tickerid, "W", ta.ema(close, 5)), "W ema")
plot(request.security(ticker.heikinashi(syminfo.tickerid), timeframe.period, close), "HA close")
plot(dayofweek, "dayofweek")
plot(time("D"), "time D")

Overview

AlphaResin Conformance 2 includes Supertrend, parabolic SAR, VWAP with weekly bands, volume indicators such as OBV and accumulation distribution, pivot highs and lows, six daily pivot point formulas, higher-timeframe closes and a Heikin Ashi close. One request reads daily data with lookahead on. It has no inputs and gives no trade signals.

Details

Published by

fadhilmhd on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

Trend, Volume, Support & resistance

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

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

Copilot

by milocaetano
48 stars

Copilot is an order flow range-reversal indicator designed to overlay trading setups directly on the price chart. It evaluates four criteria: market context (sideways vs trending regime based on ATR height), structure (double top or double bottom retests), abs

Indicator v5 SMC / ICT / price actionSupport & resistance
Updated 2 days ago · MIT GitHub repository of Copilot
11 stars

This overlay indicator marks volume-driven buying and selling pressure on the price chart. It compares volume with a simple moving average scaled by a volatility-based multiplier, and it uses a trend simple moving average plus RSI thresholds to color bars. Swi

Indicator v6 VolumeSupport & resistance
Updated 2 months ago · Apache-2.0 GitHub repository of Institutional Insight Indicator

This overlay indicator marks Wyckoff-style buying and selling climaxes on the price chart. It filters trend with an exponential moving average and a higher-timeframe EMA, then flags accumulation or distribution when price and ATR sit relative to their swing av

Indicator v6 TrendVolatility & bands
Updated 1 year ago · MIT GitHub repository of Ultimate Wyckoff Indicator V3 (Refined)

IFA-VP Context

by eddiebelaval
7 stars

This indicator plots a fixed lookback Volume Profile alongside 20, 50, and 200 Simple Moving Averages directly on the price chart. It highlights trend changes via moving average crosses and marks Point of Control reactions, High Volume Nodes, and Value Area bo

Indicator v6 VolumeSupport & resistance
Updated 3 months ago · None stated GitHub repository of IFA-VP Context

This indicator overlays multiple technical analysis tools onto the main price chart to establish multi-filter trend confluence. It calculates dual anchored VWAPs, dual Supertrend indicators, moving averages, Kijun-sen Donchian midlines, and weekly pivot points

Indicator v5 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of Ichimoku Cloud with Donchian Channels

More indicators

Trade Your Charts With a Regulated Broker

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

Compare brokers