This validation strategy tests position reversal mechanics via stop orders without explicit closing calls. It executes a long market entry at 00:15 when flat, then submits a short stop entry just below the bar low at 00:45 to trigger an automated position flip
This strategy combines three exponential moving averages with a Supertrend indicator to generate trend-following trade entries directly on the price chart. A long position is entered when the fastest EMA is above the medium EMA, the medium EMA is above the slo
Trailering Q004 is an execution strategy that generates automated trading signals integrated with Zignaly webhooks. It uses historical statistical advice and price excursion limits to enter long or short positions based on sub-strategy trigger conditions. The
This validation strategy tests TradingView order execution behavior and position sizing during stop-entry position flips when pyramiding is set to 2. It opens long entries at specific times of day (0:15 and 6:15), sets opposite stop orders paired with exit com
Trailering S002 is a long-only automated strategy template built for Zignaly webhook execution. It evaluates historical price stats and maximum excursion to trigger long trades, dynamically adjusting capital allocation based on active signal conditions. The sc
This indicator identifies Smart Money Concepts (SMC) structure directly on the price chart. It detects and plots internal and swing market structures, including Break of Structure (BOS) and Change of Character (CHoCH). The script highlights order blocks, stron
This automated trading strategy operates in a separate pane and is designed to integrate with Zignaly copy-trading and profit-sharing webhooks. It focuses on long positions, adjusting position size based on the number of triggered sub-strategy consensus condit
This indicator assists with trade planning and position risk management by projecting trade parameters directly onto the price chart. It draws an interactive entry box defined by time and price boundaries, up to five take-profit levels with percentage allocati
Trailering U002 is an automated strategy designed to connect TradingView signals directly to the Zignaly copy-trading platform. It executes long positions guided by historical statistical advice and price excursion calculations, adjusting position sizing accor
Trailering V005 is an automated trading strategy template designed for integration with the Zignaly platform. It calculates position sizing and entry conditions based on price excursion and historical statistical metrics, adjusting exposure depending on trigge
The strategy detects range expansion by comparing the previous bar's range to its ATR multiple. It places pending stop entries above highs of up bars or below lows of down bars. On trigger it enters positions with take profit and stop loss in ticks using OCA g
888 BOT Backtest is a multi-indicator trading strategy that evaluates market conditions by combining a Jurik Moving Average, Range Filter, Average Directional Index (ADX), Parabolic SAR, volume-weighted RSI, MACD, and volume thresholds. Each individual filter
Trailucering A002 is a Pine Script strategy template designed for automated crypto trading via Zignaly webhook alerts. It identifies market breakout opportunities and executes trades directly on the main price chart. Position exits are managed using customizab
This indicator overlays volume profiles and session ranges directly onto the price chart for specified periods, including Tokyo, London, New York, Daily, Weekly, Monthly, Quarterly, and Yearly sessions. It calculates and plots Point of Control (POC), Value Are
This strategy identifies trend changes using a dual moving average crossover. It computes fast and slow simple moving averages of the close price and generates long entry signals on fast SMA crossover above slow and short signals on crossover below. Upon entry
This strategy calculates an exponential moving average smoothed Vortex Indicator and plots the positive and negative vortex lines alongside a threshold in a separate pane. It enters long when the difference between VI+ and VI- crosses above a specified positiv
Traiversal A001 is a breakout reversal strategy designed primarily for cryptocurrency trading. It identifies reversal entry opportunities three candles following a breakout and closes positions when a breakout in the opposite direction occurs. The script inclu
This strategy identifies long and short positions using a dual moving average crossover on the price chart. The fast and slow simple moving averages generate crossover signals that trigger market entries. The script caps the number of intraday filled orders to
UnfairValueGap A004 is a strategy that identifies value gaps on the price chart and trades based on gap filling dynamics. It calculates the distance between the current price and the far side of a recent gap, taking positions in anticipation of trend continuat
This strategy calculates the distance between the current price and the opposite end of a recent price gap. It trades against gap completion under the assumption that price will resume the prevailing trend after a partial gap fill. Take profit and stop loss va
Modern Portfolio Theory is an indicator that computes portfolio metrics across a basket of cryptocurrency assets using user specified weights. The script supports ten symbols including Bitcoin, Ethereum, Aave, Binance, Solana, XRP, Ethereum Classic, Cardano, A
PF Probe 98 - Inside-Bar Engulf is a strategy that detects single-bar inside range patterns paired with candle direction filters. It identifies inside bars where the high is lower than the previous high and the low is higher than the previous low. A long entry
This strategy provides a moving average crossover system combined with Zignaly crypto platform alert integration and built-in risk management. It enters long positions when a 14-period simple moving average crosses above a 28-period SMA, and enters short posit
This strategy calculates Keltner Channels using an Exponential Moving Average (EMA) for the midline and Average True Range (ATR) scaled by a multiplier for band width. It triggers a long entry when the close price crosses above the upper band and a short entry
This library provides helper functions to format and build JSON webhook alert payloads for the Zignaly automated trading platform. It constructs formatted messages containing parameters such as trading pair, exchange, account type, leverage, margin mode, hedge
Detects swing break-of-structure (BOS) levels using confirmed pivot highs and lows. It records the most recent confirmed swing points and triggers a long trade when the bar closes above the last pivot high, or a short trade when it closes below the last pivot
This overlay strategy combines confirmed pivot break-of-structure with a curved linear-regression and ATR channel. It enters long when price breaks a confirmed pivot high and closes above the slope-adjusted channel midline, and enters short on the symmetric be
This strategy runs on the main price chart and generates trade signals using moving average crossovers. It opens long positions when the fast simple moving average crosses above the slow simple moving average, and enters short positions on a bearish cross. Exi
This strategy plots the Kaufman Adaptive Moving Average on the price chart as an overlay. It generates buy signals on ta.crossover of close above the KAMA and sell signals on ta.crossunder of close below the KAMA. Long entries occur when flat or short, short e
This strategy plots multiple exponential moving averages and a linear regression squeeze channel directly on the price chart. It executes 100-unit long and short trades by combining four EMA trend alignments, Bollinger Bands %B extremes, Awesome Oscillator mom
This strategy trades both long and short on the price chart. It enters long after a five percent or larger drop over the last thirty minutes and short after a matching rise. Two dollar-cost-averaging adds increase size when price moves against the position. A
This strategy is a validation probe that forces a 500-bar history buffer. It calculates a long simple moving average of close, an RSI of close shifted by a configurable offset, and a lagged close. Those first two series are plotted but do not gate trades. It e
This strategy demonstrates how to integrate TradingView signals with the Zignaly Crypto Trading Platform. It calculates a crossover between a 14-period and a 28-period simple moving average to generate trade signals directly on the price chart. Entries trigger
This validation strategy tests the simultaneous runtime handling of Kaufman's Adaptive Moving Average (KAMA), intra-bar tick counting, and deep historical buffer retention. It enters trades when the closing price crosses above KAMA, gated by an intra-bar tick
This strategy draws an exponential moving average of close and an ATR envelope around it on the price chart. It enters one long contract when close crosses above the upper band and one short contract when close crosses below the lower band, reversing only from
This validation strategy calculates fast and slow simple moving averages of the closing price. It submits a fixed-size long entry when the fast SMA crosses above the slow SMA, and enters short when the fast SMA crosses below the slow SMA, reversing any open po
This strategy combines a one-dimensional Kalman filter with an EMA midline and ATR breakout bands. It enters long when the Kalman estimate rises and close crosses above the upper band, and short when the estimate falls and close crosses below the lower band. A
This strategy calculates and plots aggregated Bitcoin volume collected across multiple exchanges, along with two volume moving averages in a separate pane. It enters long positions when price crosses above a fast EMA while remaining above a slow EMA, and enter
This strategy confirms swing pivot highs and lows and compares each new pivot with the previous swing of the same type. It draws on the price chart. A long entry fires when a confirmed pivot high is a higher high and the position is flat or short. A short entr
This strategy detects liquidity sweep patterns based on pivot high and pivot low levels calculated over configurable left and right bar periods. A bullish sweep occurs when a candle's low pierces below the most recent pivot low while closing back above it, tri
This indicator calculates Elder's Force Index (EFI) across multiple configurable timeframes and displays resulting signals directly on the price chart. Users can select the smoothing length, choose the moving average type (EMA, SMA, VWMA, RMA, or HMA), and tog
This strategy detects pivot highs and lows to establish swing structure, then identifies liquidity sweeps where price breaks the wick of the most recent pivot and closes back inside it. After a one-bar delay on continuation, it fires long entries on bullish st
The Percent Rank indicator plots the percent rank of closing prices for ten different cryptocurrency symbols in columns within a separate pane. It calculates the rank relative to previous values over a user-defined length period, defaulting to 60 bars. Columns
This strategy detects market regime state transitions based on pivot high and low break levels. It calculates pivot highs and lows using a specified strength setting and updates the market state when the close price breaks above the last pivot high or below th
This strategy overlays multiple switchable trading models onto the main price chart, allowing the user to select between standard RSI crossing, Connors RSI, MACD, EMA, or Stochastic signals. Entries execute in long, short, or bidirectional modes when the selec
This multi-indicator strategy provides selectable trading engines based on crossing RSI, Connors RSI, MACD, EMA crossovers, or Stochastic oscillators. It enters long, short, or bidirectional positions within a specified date window when the selected indicator
This Pine Script strategy computes rolling highest and lowest prices over a user-set window. It draws reference levels on the price chart and issues long signals on close crossing the prior rolling low plus short signals on close crossing the prior rolling hig
This strategy composes confirmed pivot breaks, a rolling price extreme, and a state-edge detector into overlay entries on the price chart. Market state turns bullish when close breaks the latest confirmed pivot high and bearish on a break of the latest pivot l
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.