The Opening Range indicator combines multiple technical analysis tools onto the main price chart. It calculates MACD momentum sequences alongside Stochastic oscillator limits to generate buy and sell triangle shapes. Additionally, it evaluates trend alignment
Calculates normalized bandwidth readings across various volatility channel types including Bollinger Bands, Keltner Channels, and Donchian Channels. It compares bandwidth values against a secondary band baseline to evaluate relative volatility expansion or con
Projects two vertical guide lines forward from a pivot time the user selects, drawn on the price chart. It builds a Fibonacci number sequence between a minimum and maximum bar count, finds the next number in that progression, and places one line at 0.618 of th
This indicator visualizes historical buy and sell transactions executed by ARK Invest exchange-traded funds for the ticker MYNA. Plotted directly on the price chart, it renders green labels below bars for buy orders and red labels above bars for sell execution
The Mean Squared Error indicator calculates the mean of squared differences between a source series and its EMA, averaged via a rolling buffer acting as SMA. This error metric plots as a filled red area on a separate pane, while the EMA overlays as a yellow li
This indicator plots the closing price of each bar in a separate pane. It stores the close series in a variable and plots that series. There are no user inputs, alerts, or trading signals. Comments in the source do not affect the calculation. It does not defin
This indicator overlays a Directional Sentiment Line ribbon on the price chart using moving averages of high, low, open, and close prices. It combines higher-timeframe MACD and RSI filters with standard deviation volume heatmap thresholds to assess directional
This indicator calculates and displays a Renko brick overlay directly on the main price chart. It supports multiple brick size calculation methods, including traditional fixed values, percentage-based sizing, and ATR-derived variations (ATR, ATR/2, and ATR/4).
Mirrors price around a baseline between two user-chosen levels and times, drawn on the price chart. The baseline can be one of nine types: golden-ratio cloud, moving average, highest-high and lowest-low range, ATR bands, Bollinger Bands, Ichimoku cloud, RSI, C
This overlay indicator marks ARK Invest trade activity on the NDAQ price chart. It places red labels above bars on recorded sell dates, using fixed timestamps and a short sell note. An ETF input is present but only offers ALL, so the script does not switch bet
This indicator calculates the Mean Squared Logarithmic Error (MSLE) between a selected price source and its exponential moving average over a specified lookback period. It evaluates prediction error by computing the squared difference of natural logarithms, sm
The ORB Hooplah indicator calculates the opening range high and low for a user-selected session such as 0930-1000 in New York time. It plots the OR band on the price chart, fills the area between high and low, and colors candles accordingly based on whether th
Risk Management Chart simulates theoretical equity curves using a Monte Carlo approach based on user-defined risk parameters. It models multiple potential account trajectories across a specified number of consecutive trades using starting equity, win probabili
Mirrors price around a selectable baseline between two points of time and price that the user picks on the chart. This version adds two reflection ratios, a source and timeframe selection read through security calls, and a Fibo Wave baseline with a symmetry ce
This indicator overlays historical ARK Invest trade markers for NET on the price chart. It places green buy labels below bars and red sell labels above bars on fixed calendar dates, using the label text to mark the trade direction and a same-day ETF count such
Calculates the rolling statistical median of a chosen price or indicator series over a specified lookback period. For each bar, the script gathers valid data points across the window into an array, sorts them, and determines the midpoint value, averaging the t
This indicator demonstrates a persistent array declared with var. It creates an empty float array once, then appends the closing price on every bar so the array grows with the chart history. On the last bar it draws a large label that reports the current array
This indicator plots multiple RSI oscillators calculated from various price sources and timeframes in a separate pane. It renders the RSIs as customizable lines with different colors, widths, and styles. Colored bars highlight overbought and oversold zones bas
The Super Mirror indicator plots spiral symmetry patterns on the price chart using user-specified start and end points along with reflection ratios. It calculates mirrored price levels and spiral growth factors for upward and downward movements based on input
NFLX-tracker plots historical ARK Invest buy and sell labels on the Netflix price chart. Green labels mark purchases below bars and red labels mark sales above bars, with a multiplier showing how many ARK ETFs traded the stock on the same day. An ETF input swi
This indicator calculates the median absolute error between an actual series and a predicted series over a rolling window. On each bar it takes the absolute difference of the two sources, then applies a median of that length. It plots the result as a line in a
This script calculates a 14-period Relative Strength Index (RSI) based on closing prices and plots the oscillator in a separate indicator pane. It tracks when the RSI crosses above the 50 level to detect a potential bullish shift. The indicator configures a bu
This indicator calculates an RSI and holds a directional bias until the oscillator crosses the opposite threshold. A regular RSI uses the selected source and length, while the future-smoothed option uses a projected Heikin Ashi open. Bias turns long above the
This indicator detects Williams fractals and calculates time-symmetric projections anchored to a user-selected point on the chart. It determines the bar distance between consecutive fractal highs and lows to establish a dynamic cycle length, then mirrors past
This indicator visualizes historical ARK Invest transactions for NICE directly on the price chart. It places text labels at specific historical timestamps indicating ARK buying or selling activity, along with the count of participating funds. The input setting
The Median Absolute Percentage Error (MdAPE) indicator calculates and plots the rolling median of percentage forecast errors between an actual price series and a predicted series over a user-defined window. For each bar, it computes the absolute percentage err
Demonstrates array creation and string joining functions in Pine Script v4. It creates string, float, and integer arrays with initial values, pushes additional elements, and converts array contents into formatted, delimited text strings using array.join(). The
This indicator analyzes and visualizes the statistical price impact following specific Relative Strength Index (RSI) trigger conditions. When the RSI crosses over or under a defined threshold level, the script measures post-trigger price movements across a spe
The indicator calculates and plots symmetric mirrored candles and multiple reflection boxes on the price chart based on user-defined time ranges and price levels. It reflects prices over midpoints and original highs/lows to generate layered m1 and m2 candle st
NIO-tracker is an overlay indicator that marks historical ARK Invest purchases and sales of NIO on the price chart. It places green labels below bars for buys and red labels above bars for sells, using fixed calendar dates rather than live calculations. An ETF
This indicator calculates the median price of each bar as the average of the high and the low, matching the TA-Lib MEDPRICE definition and the built-in HL2 source. It plots that single series on the price chart as an orange line of width two. There are no user
This indicator demonstrates different syntax methods for setting color transparency in Pine Script v4. It calculates and plots five simple moving averages with lengths of 10, 30, 50, 70, and 90 periods directly on the main price chart. Each moving average line
RSI Past is an indicator that plots the bar difference between the last overbought and oversold readings of a custom RSI. It calculates the distance in bars from the most recent time the RSI crossed above the overbought threshold to the last time it dropped be
The indicator plots symmetric candles and both boxes on the price chart within a user-defined time range. It calculates mirrored candle open, high, low, and close values by reflecting them over specified price levels using a reflection function. Inputs allow s
NIU Tracker overlays historical ARK Invest buy and sell transactions for Niu Technologies directly on the price chart. It plots markers indicating share volume changes and the number of participating ARK funds on specific trading dates. Traders can filter tran
This indicator plots the rolling midpoint of the close as an overlay on the price chart. For each bar it takes the highest and lowest close over a user-set period and draws their average, matching the TA-Lib midpoint definition of the center of that range. The
This script plots the bar high, median price, and low in a separate pane using varying levels of transparency and line widths. It demonstrates the use of the color.new function in Pine Script to create visual depth and glow styling across price points. The scr
This indicator highlights high volume and open interest (OI) extremities directly on the price chart. It identifies potential support and resistance zones, naked levels, and liquidation ranges using visual dots, lines, and boxes. An optional on-screen table di
This indicator plots symmetric candle patterns on the price chart by reflecting open high low and close values around three customizable pivot levels p1 p2 and p3. Users can enable adjustments for the mid high or low level and choose between between or opposit
This indicator visualizes historical ARK Invest trade activity for Nano Dimension (NNDM) directly on the price chart. It plots green buy labels below bars and red sell labels above bars using hardcoded timestamped trade records, showing transaction counts or f
The Midpoint Price over Period indicator calculates the center of the highest high and lowest low price range over a user-defined lookback period. It averages the maximum high and minimum low values across the chosen window, providing a TA-Lib compatible basel
This indicator plots a vertical line on the price chart at the most recent bar. It checks whether the current bar is the latest bar on the chart and renders a tall histogram bar using an extreme numeric value to span the chart height. Because the indicator use
Period VWAP calculates a rolling volume-weighted average price over a chosen number of bars. It multiplies the typical price by volume, sums both that product and volume across the period, and divides them to plot one line on the price chart. The period input
This indicator plots the original simple moving average, a symmetric moving average calculated from the highest and lowest moving averages over the window length, and a dynamic midline. It generates buy signals when the deviation from the symmetric moving aver
This indicator plots historical ARK Invest transaction records directly on the price chart for NRIX. It displays green Buy labels below bars and red Sell labels above bars based on hardcoded transaction dates and ETF execution counts. The primary input setting
This overlay indicator plots a channel of the highest high and the lowest low over a rolling lookback. It updates both extremes with a monotonic deque so each bar is handled in amortized constant time, then draws the upper and lower lines on the price chart an
Visible OHLC is a Pine Script version 4 indicator drawn on the price chart. It stores the close series and plots that value only. There are no inputs, conditions, or extra calculations. Open, high, and low are not plotted, even though the title mentions OHLC.
Pivot Trendlines marks confirmed pivot highs and pivot lows on the price chart and tracks small pivot highs and lows from consecutive red or green candles. It plots the count of green bars since the last pivot low and red bars since the last pivot high, and it
Third-party code. ForexR lists open-source Pine scripts from GitHub; it did not write, test or endorse them, and their summaries are generated automatically from each script's code and README. Indicators describe the past, and a strategy's backtest can look better than live trading. Check a script on a demo account before you rely on it. CFDs and leveraged forex are complex instruments with a high risk of losing money rapidly.
Learn to Use Pine Scripts
Free, plain-English guides: add a script to TradingView, read what it does, test it and avoid the common traps.