This Pine Script strategy identifies candlestick patterns such as engulfing, doji, hammer and star formations on the price chart. It applies SMA trend filters with fast and slow periods to confirm direction before plotting labels for bullish and bearish signal
A Pine v5 overlay, with Spanish labels, that plots smart money concepts on the price chart. It marks market structure breaks, optional structure mapping, strong and weak highs and lows, liquidity sweeps and bubbles, plus the most recent order blocks and breake
The Fractal Engulfing Candles indicator identifies bullish and bearish engulfing candlestick patterns occurring near 10-period swing highs or swing lows. It plots green upward triangles below bullish engulfing bars at swing lows and red downward triangles abov
Calculates an Exponential Moving Average (EMA) and displays visual buy and sell trend signals directly on the price chart. The indicator calculates a 125-period EMA line by default and monitors crossover conditions between price and the EMA threshold. When pri
An overlay that finds pivot highs and lows over an adjustable lookback, stores them, and tries to draw blue trend lines between consecutive pivots. It then marks Buy or Sell labels when a line has been touched within one percent for the chosen number of recent
A strategy-type script for the price chart that marks the high, low and midpoint of the first part of each session, set by start hour and minute inputs, with alerts for price crossing above the high or below the low. It also plots VWAP, pivot-based support and
Tweezer Lyfe is a TradingView strategy that identifies Tweezer reversal patterns on the price chart. It plots Bollinger Bands with RSI and stochastic indicators for momentum confirmation. Bullish signals require a prior bearish candle closing near the lower ba
This strategy calculates the Supertrend using ATR period and factor inputs, then plots green lines for up direction and red lines for down direction on the price chart. It signals long entries when Supertrend changes to positive and short entries when changing
This long-only strategy buys when a short 3-period RSI crosses back above an oversold level of 35, provided the 14-period RSI is above 40 and price is above a 150-period EMA. It closes the position when price crosses under a 9-period EMA or falls below an 89-p
A price chart overlay that combines an SSL channel system with ATR bands around the close. It offers a baseline, a first SSL line, a continuation line and an exit line, each with a selectable moving average type such as HMA, JMA, TEMA, Kijun or McGinley. Bars
This indicator plots Support and Resistance levels on the price chart. Support is drawn as a green line at the highest high over the specified length, and Resistance as a red line at the lowest low. An optional Directional Projection Trend line can be shown us
A separate-pane indicator that sums scored readings from an imported helper library covering a moving average, ADX, DMI, MACD and on-balance volume into one combined value. That value is plotted as a blue line against reference levels at zero, 100 and minus 10
The ATR Filter indicator calculates the difference between two Average True Range (ATR) values calculated over short and long lookback periods. It subtracts the long-period ATR from the short-period ATR to determine relative volatility momentum. The script plo
A strategy framework that provides switches for ATR bands, a trading session, a trend filter, three moving averages and take profit and stop loss levels. It has a session and weekday filter, backtest start and stop dates, and a long, short or both setting. Tak
Moving Average Convergence Divergence plots a standard MACD in a separate pane: the MACD line, a signal line and a histogram. Fast, slow and signal lengths are adjustable, and both the oscillator average and the signal average can be set to EMA or SMA. The his
This indicator turns Bollinger Bands, Keltner Channels or the average of both into a single normalised line in a separate pane, computed from Heikin Ashi close prices over a 200-bar window by default. The line is coloured lime above a bullish breakout level, r
This strategy divides a fixed price range between an upper and a lower limit into equally spaced grid levels and plots them on the price chart. It marks a buy when price crosses down through a grid and a sell when price crosses up through a grid, using either
The Mojito v3 Strategy indicator evaluates volatility term structure by calculating the ratio between front-month and second-month VIX futures contracts. It smooths this ratio using a configurable median filter and compares the result against user-defined uppe
ArrayGenerate is a Pine Script v5 helper library that provides utility functions for array generation. It includes methods to build integer or floating-point sequence arrays over specified ranges and step sizes. It also features a function to extract historica
Flip Flop is an overlay indicator that analyzes candle data over a customizable lookback period to track structural market extremes. It locates key levels, including the low of the highest bullish candle and the high of the lowest bearish candle within the win
This utility script serves as a minimal testing tool designed to verify data flow within the backtest kit framework. It reads the current closing price and outputs a constant zero position state, sending both series directly to the TradingView Data Window with
This indicator applies a k-Nearest Neighbors machine learning algorithm to predict market direction based on historical indicator patterns. It calculates normalized values from selected technical indicators, such as RSI, ROC, CCI, and volume, across short and
3C QFL Mean Reversal is a strategy based on the Quickfinger Luc (QFL) trading methodology. It identifies breakdown buying opportunities below established price base levels and enters mean-reversion trades. The strategy includes multi-safety order DCA scaling,
This strategy combines Linear Regression Candles with UT Bot trailing stop signals to generate trading setups. It calculates smoothed linear regression open, high, low, and close values alongside a signal line, while computing an ATR-based trailing stop. Long
This indicator evaluates candlestick relationships to identify inside bars and outside bars based on recent high and low price action. It draws directly on the price chart by altering the color of qualified bars. Inside bars are colored yellow, bullish outside
This simple educational indicator requests and plots the daily closing price of Apple Inc. (AAPL) in a separate pane on the chart. It demonstrates the use of Pine Script security functions to pull data from an external symbol regardless of the current chart sy
This indicator plots global forex trading sessions, opening ranges, and opening channels for Sydney, Tokyo, Frankfurt, London, and New York markets. It calculates and draws daily reference levels based on Average True Range (ATR) multipliers from the day open
The Range Box indicator identifies the price bounds over a user-defined period and renders a visual rectangular box on the main price chart. It calculates the highest high and lowest low across a specified lookback length and updates a single dynamic box objec
Calculates normalized moving average trend strength, historical volatility, and volatility-adjusted position sizing in a separate pane. It computes the percentage distance between fast and slow EMAs relative to price, evaluates standard deviation of daily retu
This strategy overlays the ETHUSDT perpetual price chart and is labeled for the five-minute timeframe. It calculates a smoothed stochastic oscillator from the open, high, and low, with adjustable K, D, and smoothing lengths plus overbought and oversold levels.
This strategy enters long when price closes above the prior Donchian high and short when it closes below the prior Donchian low, only while flat and inside a Taipei-hour window. It exits on a MACD histogram reversal or through an ATR stop and a percentage take
This indicator calculates and plots the ratio of advancing stocks to declining stocks on the New York Stock Exchange. It requests close prices from the USI:ADVN.NY and USI:DECL.NY ticker symbols using the security function and divides advances by declines. The
WaveTrend 3D is a redesigned oscillator that implements the classic WaveTrend algorithm with kernel-based regression for trend reversal confirmation and multi-timeframe support. It calculates a smoothed oscillator line and displays a symmetrical three-dimensio
This overlay indicator maps Smart Money Concepts on the price chart. It labels internal and swing breaks of structure and changes of character, marks bullish and bearish order blocks, equal highs and lows, fair value gaps, and premium, equilibrium, and discoun
This indicator calculates a Relative Strength Index using Wilder or Cutler calculation methods, accompanied by an optional smoothing moving average and a signal line. Plotted in a separate pane, it features defined bull and bear control and critical threshold
This indicator computes a modified version of John F. Ehlers' Even Better Sinewave oscillator in a separate pane. It filters price data using a high-pass filter, smooths the output with a weighted FIR filter, and normalizes the amplitude using a three-bar powe
This indicator combines the HalfTrend trend-following algorithm with five exponential moving averages overlayed directly on the price chart. HalfTrend determines directional bias by evaluating local high and low price extrema over a selectable amplitude alongs
Crossing EMAs B is a moving average crossover strategy designed as an example for Zignaly bot signal integration. It monitors a 14-period and a 28-period simple moving average on close prices, entering long when the short average crosses above the long average
Bte Strat provides a backtesting and trading engine framework implemented as an indicator on the price chart. It evaluates trade signals using selectable entry rules, technical filters like volume and moving averages, and dynamic exit strategies. The script pl
This strategy plots Donchian Channel bands, a middle line, and breakout signals directly on the price chart. It opens long positions when price breaks above the upper band and short positions when price breaks below the lower band, evaluated after confirmation
This indicator plots the standard Ichimoku Kinko Hyo components directly onto the price chart. It calculates the Tenkan-sen and Kijun-sen midpoints, shifts the Chikou Span backward, and projects the Senkou Span A and Senkou Span B ahead to form the colored Kum
This strategy executes trades based on Ichimoku Kinko Hyo breakouts combined with Tenkan-sen and Kijun-sen crosses. A long position triggers when price closes above the cloud top while the Tenkan-sen crosses above the Kijun-sen within a bullish cloud. A short
This strategy plots a customizable Bollinger Band basis using selectable moving average types such as HMA, SMA, EMA, or others. It draws the basis line, multiple standard deviation levels, and fills the region between L1 and L6 on the price chart. Buy signals
This indicator plots upper and lower bands around price using a scaled average true range. It offsets the bands from the close and lets the user set the ATR period and multiplier. Optional opposite bands mark take-profit zones at a separate scale factor. An op
This strategy plots a 90-period exponential moving average from the weekly and daily charts plus a daily session VWAP on the price chart. It enters long when the weekly VWAP is above the weekly average and the daily VWAP crosses above the daily average, and en
This overlay indicator draws up to three named trading sessions, defaulting to London, New York, and Tokyo, as colored boxes on the price chart. It uses a selectable timezone and optional history, and each session can be extended, given Fibonacci levels, or gi
The Confluence indicator combines Bollinger Bands, RSI and MACD to generate signals on the price chart. It plots the upper Bollinger Band in green, lower Bollinger Band in red, the middle basis in blue, the RSI value and the MACD line with signal. A confluence
This strategy trades exponential moving average crossovers designed for NQ and MNQ futures contracts on intraday timeframes. It calculates three EMAs (8, 55, and 165 periods) and generates entry signals during a user-defined trading session when previous day v
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.