This indicator plots the Christiano-Fitzgerald asymmetric band-pass filter in a separate pane. It estimates the cyclical component of a series under a random-walk assumption, using ideal band-pass weights between a minimum and maximum period and forcing the we
This indicator plots the Hilbert Transform dominant cycle phase of a chosen price source in a separate pane. It follows an Ehlers method: a weighted smoother, a detrender, and in-phase and quadrature components feed a custom atan2 that returns a phase angle be
Seykota Alt 44: ADX Pyramid is a trend-following strategy that plots on the price chart. It enters positions on Donchian Channel breakouts when the Average Directional Index (ADX) confirms a strong trend. Position sizing uses Average True Range (ATR) risk, wit
This indicator maps price location on the chart rather than generating trade signals. It plots Classic or Fibonacci pivot support and resistance, the central pivot range with a narrow, normal, or wide width regime versus ATR, previous high and low, and the cur
This indicator tracks capital rotation by comparing a primary lead asset against up to four secondary receiver assets. It calculates relative strength as the ratio between receiver and lead close prices, smoothed by a moving average, along with its momentum. D
Visualizes custom trading sessions directly on the main price chart. Highlights active session bars with a light background color, plots intra-session high and low levels, and optionally places labels at session opening and closing bars. Built default for VİOP
Best SMA Finder is an overlay indicator that scores simple moving average lengths with a crossover backtest. Long Only mode records a long entry when close crosses above the average and an exit when close crosses below it. Buy and Sell mode flips between long
The Klinger Volume Oscillator computes a volume-adjusted trend indicator by applying two exponential moving averages to a volume contribution derived from the current bar's price range and a trend strength factor. It produces a KVO line and a signal line that
This indicator plots CHOCH (Change of Character) and BOS market structure signals on the price chart based on SMC logic. It calculates fast and slow EMAs, RSI, ATR volatility filters, and sweep lookback to detect breakouts and pullbacks. Signals trigger entrie
This strategy plots a rolling median and an exponential moving average of close on the price chart and enters when the two cross. A median cross above the EMA opens a long; a cross below opens a short, reversing the prior position with a fixed quantity of one.
Plots the basic bar price series (open, high, low, close) alongside a 10-period simple moving average directly on the main price chart. The indicator tests various combinations of positional and named argument formatting across multiple plot function calls and
A strategy that trades liquidity sweeps within a trend context. Trend comes from EMAs, ADX with DI alignment and an optional confirmed higher-timeframe EMA filter, with optional ROC and balance-of-power agreement. A swing level is swept and reclaimed by a cand
This indicator draws in a separate pane and requests data for up to twenty user-chosen symbols, defaulting to Binance crypto perpetual contracts. It combines four signal classes: trend, momentum, volatility, and volume. Signal mode can use one class, require a
A lightweight trend flip indicator on the price chart with BUY and SELL labels. It uses a zero-lag trail built from ATR with an optional volume-weighted source and an evasive mode that stops pushing the trail after a set favorable move. Flips pass gates for ch
TN Footprint Imbalance Sovereign v6 is a strategy that uses request.footprint() to detect imbalances in buy and sell volume at the point of control. It pulls POC price, buy volume, sell volume and bar delta from the footprint data object. Long entries trigger
A strategy that implements the Parabolic SAR calculation in code, with start, increment and maximum acceleration settings. It plots the current and next bar SAR values as crosses on the price chart. On each confirmed bar it places a stop order at the next SAR
This overlay indicator estimates position size from account equity, a per-trade risk percentage, and a chosen stop distance. Stops can use ATR, a percent of price, fixed points, or a swing high or low. It derives stop and optional take-profit prices from a ris
Calculates the statistical cointegration between the current chart instrument and a user-selected secondary ticker using the Engle-Granger method. It evaluates the stationarity of the regression residuals and plots the Augmented Dickey-Fuller test statistic in
Calculates the Hilbert Transform In-Phase and Quadrature components of a price series to measure underlying cyclic behavior. It processes the input source through smoothing, detrending, and Hilbert phase calculation steps to generate two orthogonal component l
This strategy enters long or short when price breaks a Donchian channel and RSI confirms the same direction. It sizes each unit from a risk percent of equity and can add units after a set ATR advance, up to a unit limit. An initial ATR stop and a trailing stop
The Market Tradability Engine calculates multi-factor tradability, balance, compression, and direction scores to evaluate market regime quality. It classifies market conditions into eight distinct states, including Balance, Compression, Ready, Breakout, Trend,
This indicator approximates cumulative volume delta from each bar's volume and candle body, then detrends and normalizes both price and CVD so they can be compared in a separate pane. It plots the two smoothed series and an optional histogram of their differen
This indicator computes a momentum value via linear regression on the difference between close price and a mid-value average that blends highest-lowest range and high-close average over the Keltner Channel length. It overlays Bollinger Bands and Keltner Channe
Calculates and projects Bitcoin price trajectory using a power law model displayed as a clock layout in a separate pane. It maps historical price movements, average power law curves, and Bitcoin halving cycles over time. Users can toggle spiral visualization m
This indicator calculates and plots the Least Squares Moving Average (LSMA) directly on the price chart. It fits a linear regression line over a user-selected lookback period and source series to project the prevailing price trend. By using an optimized circul
This market structure strategy identifies trading opportunities using Change of Character (CHoCH) gates, liquidity sweeps, and structural breaks. It combines exponential moving averages, RSI, and ATR volatility filters, with optional higher-timeframe trend che
A strategy that combines the Momentum and Rate of Change indicators, shown in a separate pane with a zero line. It enters long when momentum crosses above zero while rate of change is positive, and short when momentum crosses below zero while rate of change is
P_fmt_comment_before_version is a basic test script created to demonstrate and verify Pine Script formatting and parsing capabilities. The indicator calculates and plots the closing price of the active instrument in a separate chart pane. It contains no config
An overlay indicator that classifies the market into regimes such as trend, chop and squeeze using ADX, range efficiency, relative volume, ATR expansion and VWAP slope. It also measures how far price is from VWAP and an EMA to flag rich, cheap or extreme readi
The script is a multi-symbol crypto indicator that computes trading signals across twenty major pairs including BTCUSDT, ETHUSDT and others. It evaluates four core methods for signals: trend based on price levels, momentum using rate of change, volatility via
An overlay indicator that builds a zero-lag trailing line from an ATR multiple and flips between buy and sell labels when price breaks it for a set number of closes. Gates for choppiness, baseline slope, volatility expansion, efficiency and ADX can block weak
A strategy that trades liquidity sweeps confirmed by order flow. It takes the highest high and lowest low of a prior window of 10, 20 or 50 bars, depending on a rigor setting. A bullish sweep is a low below the prior low that closes back above it with positive
Shows a table of percentage price changes for a list of symbols over a list of periods, such as one week, one to twelve months, year to date and five years. Both lists are text inputs, with the chart symbol optionally included. Cells are coloured green or red
Rotating Quotes displays customizable trading psychology quotes and reminders in a table widget in a separate pane. It cycles through a pipe-separated list of quotes at a user-defined time interval, either sequentially or in random order. User inputs allow ful
This indicator calculates the Commodity Channel Index in a separate pane. It forms typical price from high, low, and close, tracks a simple moving average with a circular buffer, and divides the price deviation by a scaled mean absolute deviation. The Length i
The HT_SINE indicator calculates the Hilbert Transform SineWave and LeadSine components based on the dominant cycle of a selected price source. Using in-phase and quadrature signal processing along with a custom atan2 implementation, it measures the phase of t
This strategy implements a Donchian breakout trend-following system with sector-adaptive profit targets and ATR-based volatility sizing. It enters positions on Donchian channel breakouts, pyramiding additional units at ATR increments up to a configurable maxim
This indicator evaluates how price relates to one selected moving-average family rather than treating a crossover as a signal. It scores trend quality, historical respect of the average, extension, compression, acceleration, and exhaustion, then plots a relati
Delta Hedging Pressure estimates directional market bias using a volume-weighted delta calculation plotted in a separate pane. It multiplies candle volume by bar direction (positive for bullish closes and negative for bearish closes) to compute directional pre
Calculates and plots the Stochastic RSI oscillator in a separate pane using customizable RSI, Stochastic, and SMA smoothing lengths for %K and %D lines. It generates bullish crossover signals when %K crosses above %D in oversold territory below 20, and bearish
This indicator plots a proxy financial-conditions index in a separate pane. It turns log returns of SPY, TLT, an investment-grade to high-yield bond ratio, VIX, and a short-term Treasury to equity ratio into lookback z-scores, inverts several components, and c
This indicator calculates a linear time-weighted moving average of a chosen price source and plots it on the price chart. Inside the lookback, each bar receives a weight that rises with recency, equal to the period minus its offset, and the result is the weigh
This strategy plots market structure on the price chart from confirmed swing highs and lows and flags breaks of those levels. Breaks can use the wick or the close, and structure logic can stay standard or include sweeps. ChoCH mode selects Ping, Verify, or bot
MTF Array Stats is a multi-timeframe strategy created as an engine validation probe. It collects daily close prices into a rolling 20-element array buffer. Using array functions, it calculates the median and percentile rank of the latest daily close relative t
This indicator is a Pine Script v6 parser fixture rather than a trading signal. It defines a function that doubles its numeric input, stores a string that looks like a comment, and plots the doubled close plus the length of that string in a separate pane. Trai
An overlay indicator that tracks Asia, London and New York sessions in a chosen timezone and classifies how the day is developing into numbered profiles. It adds opening range boxes, previous day high and low sweeps, higher-timeframe market structure, a TDI an
This indicator generates trading signals for multiple cryptocurrency symbols using four methods: trend, momentum, volatility, and volume. It supports three signal modes - single method, simultaneous confirmation requiring a minimum number of agreeing methods,
A trend flip indicator on the price chart, written for one-minute charts, where BUY exits a short and enters long and SELL does the reverse. It combines a zero-lag EMA with an ALMA smoother and an ATR trail based on fast and slow volatility. A micro-range filt
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.