This strategy trades Turkish VIOP BIST 30 futures on the price chart. It opens positions when a fast exponential moving average crosses a slow one, but only while chart time falls inside the 09:30 to 18:15 UTC+3 session. Stop loss and take profit distances are
This indicator computes the simplified Entropic Value at Risk (EVAR) from price returns using a Tsallis q-exponential moment generating function approximation with user-defined alpha and q parameters. It normalizes the EVaR value against its recent high and lo
The Normalized Jurik Volatility indicator computes a normalized volatility measure using adaptive techniques to adjust to changing market conditions. It takes a configurable period and source input such as close or open to perform its calculations. The resulti
This test indicator evaluates basic arithmetic division in Pine Script v6. It declares two persistent integer variables, computes their quotient as a floating-point number, and plots the resulting constant value in a separate indicator pane. The script has no
This strategy enters long positions every Monday at 00:00 UTC on the 15-minute chart. It computes quantity as 10 percent of current equity divided by the bar close, rounded to three decimal places for stability. Market orders open the position and it flattens
This Pine Script v6 indicator draws multiple objects on the price chart for testing. It creates a red dashed line from the previous low to the current low, a blue line from the previous high to the current high, and connects their endpoints. A green label show
A strategy that enters on a liquidity sweep and reclaim of a stored swing level, gated by trend and momentum filters. Trend uses EMAs, ADX, DI alignment and a confirmed higher-timeframe EMA check, and momentum uses ROC and balance of power. Cleaner overlay ext
DEPV2 DEBUG S36 is a multi-symbol quantitative research indicator rendered in a separate pane. It evaluates market conditions across up to twenty cryptocurrency pairs by combining four distinct analytical dimensions: trend, momentum, volatility, and volume. Us
A trend flip indicator on the price chart that prints BUY and SELL labels, each meant to exit one side and enter the other. It combines a zero-lag EMA, a slow baseline, KAMA, a macro EMA veto and an HMA structure length with an ATR trail. Quality gates include
This statistical arbitrage strategy uses matrix algebra to calculate dynamic Ordinary Least Squares regression parameters between the chart symbol and a secondary asset. It constructs a synthetic spread and calculates its Z-score. The strategy enters a long po
Displays a table of technical ratings for the chart symbol, using an imported rating library that combines moving averages and oscillators. Each row can show the rating from all indicators, oscillators only or moving averages only, as Strong Sell, Sell, Neutra
This overlay indicator places a trading discipline checklist table on the price chart. It groups optional checks into pre-trade review, during-trade management, and post-trade review, covering trend, support and resistance, volume, risk-reward, position size,
Calculates and plots the Detrended Price Oscillator in a separate pane to identify short-term price cycles. The indicator removes longer-term trends by subtracting a historical simple moving average, displaced back by half the period plus one bar, from the cur
The Kalman Filter (KF) calculates a recursive state estimation to smooth price data and reduce noise on the main chart. It continuously updates state and error covariance estimates by balancing process noise against measurement noise via the Kalman gain. Users
The Market Stress Oscillator plots a bi-directional Williams VIX Fix in a separate pane, with separate bull and bear stress lines. It applies JMA smoothing to both series and shows ADX strength as context for judging noisy readings. Peak-hold markers mark stre
This indicator plots a zero-lag EMA center line with ATR bands on the price chart. It marks bullish or bearish mode after closes stay beyond a band for a set number of bars and the center line slopes that way. Confirmed buy and sell labels appear only after th
This indicator analyzes trading volume in a separate chart pane by plotting raw volume histogram bars alongside a simple moving average of volume and On-Balance Volume (OBV). It identifies unusually high volume bars where volume exceeds the moving average mult
Expected Value Monte Carlo analyzes historical price returns and projects potential future outcomes directly on the price chart using statistical simulations. It calculates historical performance metrics over a configurable sample period and simulates future p
This indicator calculates and plots the standard On Balance Volume (OBV) in a separate chart pane. It tracks cumulative volume flow by adding volume on up bars and subtracting volume on down bars relative to the prior close. The indicator does not generate aut
USI Flip is a Pine Script indicator that plots six USI lines with customizable lengths for different timeframes. The fastest red line generates BUY and SHORT flip signals when crossing slower lines, with options for volume filter, bar close only, margin hyster
This strategy opens a long position at the start of each Monday at midnight by sizing it to 50% of current equity divided by the close price. It automatically flattens the position on the next bar close. No stop loss or take profit is used. The strategy runs o
This indicator serves as a simple demonstration and test fixture for Pine Script v6 custom enum structures. It allows users to select a moving average type—Simple (SMA), Exponential (EMA), or Weighted (WMA)—from an enum drop-down menu alongside a configurable
A strategy with one entry type, a liquidity sweep and reclaim of a stored swing level, allowed only when trend and momentum filters agree. The trend filter uses a fast and slow EMA, a minimum ADX, DI alignment and an optional confirmed higher-timeframe EMA che
DEPV2 DEBUG S37 is a separate-pane indicator that watches up to twenty user-chosen symbols, defaulting to Binance perpetual crypto pairs. It forms directional signals from four method classes: trend, momentum, volatility, and volume. Modes use one class, requi
A confirmed-close trend flip indicator on the price chart, where BUY exits a short and enters long and SELL does the reverse. It uses an ATR trail, a zero-lag EMA for fast structure and a slow baseline, plus ADX, choppiness, efficiency and RSI inputs. An optio
A portfolio-style strategy that estimates weights for three assets, Bitcoin, Ethereum and Solana by default, using return covariance matrices over a selectable lookback of 60, 120 or 252 bars and an annual baseline rate input. It solves for tangency weights ev
This strategy calculates a composite rating from a TechnicalRating library using moving averages and oscillators. It plots signals directly on the price chart. The ratingSignal setting selects which components to base the signal on: MAs, Oscillators, or All. W
Calculates and plots daily pivot levels directly on the price chart. It supports Traditional, Fibonacci, and Camarilla calculation formulas to generate a central pivot point along with three support levels and three resistance levels. The script pulls the prev
This indicator calculates the Directional Movement Index from true range and plus and minus directional movement, smoothed with Wilder's compensated RMA. It plots the DX line together with plus DI and minus DI in a separate pane and draws a dashed horizontal l
This indicator plots KDJ, described as an enhanced stochastic oscillator, in a separate pane. It finds the highest high and lowest low over the length with deque buffers, converts close into a raw stochastic value, and smooths K and D with Wilder-style RMA con
This indicator scores multi-timeframe Stochastic RSI confluence in a separate pane. It calculates a StochRSI reading on six configurable timeframes, dampens exhaustion, then combines adjacent timeframe pairs with a sync bonus or conflict penalty and user pair
Plots timed breakout ranges directly on the price chart, designed for gold trading using dollar-based spacing. At scheduled trigger times or recurring two-hour intervals, it creates a central reference box flanked by upper and lower breakout stop lines, follow
This indicator plots a volume-weighted average price that restarts at the beginning of each daily session, using typical price and cumulative volume. It draws the VWAP line on the price chart and optional standard-deviation bands at two user-set multipliers. B
The indicator plots Fair Value Gaps zones on the price chart derived from selected timeframes. It detects imbalances between swing highs and lows then applies chosen fill methods including Wick Sweep and Body Beyond to mark filled gaps. Up to three instances s
This indicator calculates Parkinson volatility from the logarithm of each bar's high divided by its low. It squares that term, smooths it with an RMA over the chosen length, and takes the square root after scaling by four times the natural log of two. When ann
This indicator calculates and plots a multi-line Ultimate Strength Indicator (USI) ribbon based on six relative strength lines ranging from slow to fast in a separate pane. It identifies momentum flip signals when fast lines cross slower lines with an adjustab
This strategy measures the percentile rank of bar-to-bar close changes and plots that rank in a separate pane with a five-bar simple moving average and fixed overbought, oversold, and midline levels. It enters long when the rank is below the oversold threshold
This Pine Script v6 indicator defines helper functions for value transformation and calculation. It includes double which multiplies by two, add which sums values with optional second argument, clamp which bounds a value between low and high, smooth which appl
An overlay indicator that tracks pivot, session, previous-day and flipped support and resistance levels and records how price reacts when it tests them. Each trial resolves into break, fade, fail or expire, and a Bayesian-style model sorted into twelve context
DEPV2 DEBUG S39 is a multi-asset signal evaluation indicator designed to monitor up to twenty cryptocurrency pairs simultaneously. It processes four analytical categories—trend, momentum, volatility, and volume—to evaluate market direction. Users can configure
A confirmed-close trend flip indicator on the price chart, where BUY exits a short and enters long and SELL does the reverse. Version 3 adds an adaptive KAMA component to the baseline and a reversal acceptance step that checks directional energy, close locatio
This strategy combines a simplified Lorentzian distance-based machine learning prediction with a three-factor filter matrix to generate trade signals. It normalizes RSI, CCI, ADX, and momentum over rolling windows to evaluate feature distance, while scoring tr
Plots the time weighted average price on the price chart: a running average of a chosen source, ohlc4 by default, that restarts whenever the selected anchor period begins, one day by default. Inputs set the anchor timeframe, source and an offset. Unlike VWAP,
The Trend Line Plot Indicator automatically identifies pivot highs and lows across price history and draws dynamic bullish and bearish trend lines directly on the price chart. Users can adjust the pivot lookback length, filter lines based on a minimum number o
Plots one component of an à trous stationary Haar discrete wavelet transform of a chosen source in a separate pane. Decomposition levels from one to eight set the lookback, which doubles with each level. Output zero returns the deepest approximation, described
This indicator calculates and plots a standard Keltner Channel directly on the price chart. It generates an exponential moving average middle line alongside upper and lower bands spaced by an Average True Range multiplier. The implementation features warm-up c
MTF Structure Bias classifies market structure across four timeframes by comparing rolling highest highs and lowest lows N bars ago. Each timeframe receives a bullish (+1), bearish (-1), or mixed (0) state based on whether highs and lows are rising or falling.
This strategy uses two EMAs with a trend filter to generate crossover signals on the price chart. It applies game theory validation through Nash equilibrium detection and expected utility calculations based on RSI and volume. Trades enter on confirmed crossove
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.