TESLA-BestPosition is a long-only dollar-cost averaging strategy that combines custom Relative Strength Index levels with smoothed highest-high and lowest-low channels. It calculates 10-period exponential moving averages of highest highs and lowest lows over a
This overlay indicator screens a pasted list of symbols for ICT market structure shifts, or for retracements toward an optimal trade entry or order block. It uses a zig zag built from highs and lows or opens and closes, then lists matching bullish and bearish
ACHR Tracker visualizes historical buy and sell transactions made by ARK Invest funds for Archer Aviation (ACHR). It plots colored labels directly on the price chart at historical timestamps, indicating whether ARK ETFs purchased or sold shares and showing the
This long-only strategy identifies pullback opportunities within a broader trend. It enters a long position when the closing price trades above a long-term exponential moving average while falling below a short-term exponential moving average. Once in a trade,
Capital41 Order Block Detector v2 identifies institutional supply and demand zones on the price chart. It defines bullish order blocks as the last bearish candle prior to a strong upward impulse move and bearish order blocks as the last bullish candle before a
This indicator evaluates multiple technical trading strategies and strategy combinations across various timeframes to identify the top-performing setup for Turkish stocks and other assets. Depending on whether the active chart is intraday or higher timeframe,
This strategy is written for NVIDIA stock and overlays the price chart. It opens a long when price crosses above an exponential moving average, the rate of change is positive, and the average true range exceeds the previous daily ATR. It closes that long when
Quick Stats displays key trading metrics directly on the price chart overlay. It calculates Mark Minervini's Trend Template rules by scoring moving average alignments (50, 150, and 200 SMAs), 200 SMA slope, and 52-week high/low proximities. Additionally, it co
This overlay indicator calculates intraday standard deviation sigma bands using live implied volatility from VIX or a manual percentage input. Designed for index options credit spread placement, it projects 1s, 2s, and 3s expected move boundaries anchored to e
This indicator computes relative strength by subtracting KLCI index returns from stock returns over a user-defined lookback period. It plots the resulting RS percentage in a separate pane using green for positive values and red for negative values. The default
This strategy calculates ATR-based Chandelier Exit bands anchored to highest and lowest price extremes, plotting trailing stop levels directly on the price chart. It enters long or short positions when price crosses opposite bands, subject to an optional 200-p
Teaching script that demonstrates several ways to request data from other symbols and timeframes in Pine. It shows a daily close shifted so it only uses completed daily bars, a daily candle overlay with its 10-period EMA drawn using a tuple request, an array r
ICT Mitigation Block Scanner is an overlay indicator that screens a pasted list of symbols for ICT mitigation blocks or retracement conditions. It lists long and short hits in a configurable table and can draw a zig zag with colored boxes on the price chart. U
This indicator plots historical ARK Invest buy and sell labels for ACIC directly on the price chart. It places green buy labels below bars and red sell labels above bars at fixed calendar dates, and marks how many selected funds traded that day with an X count
Seykota Alt 22 is a trend-following strategy combining 55-bar Donchian channel breakouts for entries with a Parabolic SAR trailing stop for exits. Position sizing and initial stop-loss levels are determined using Average True Range (ATR). The strategy supports
This indicator plots previous-day high, low, and midpoint on the price chart, with optional previous-week and previous-month highs and lows. It fills the high-low ranges, places right-edge labels, and shows a status badge for distance to the daily extremes and
This indicator calculates the price-to-earnings (P/E) and price-to-earnings growth (PEG) ratios for a target stock and for QQQ. It fetches earnings per share basic one year growth and PEG ratio data using financial API calls, then derives P/E as close divided
This indicator displays company fundamentals in a separate pane. It plots one selected series, such as EPS, revenue, margins, cash flow, assets, equity, or ratios, across a chosen number of fiscal quarters or years. Four optional tables cover profitability and
A table overlay on the price chart, short title Fundamentals, that shows company financial data pulled with TradingView's financial data requests. It lists diluted earnings per share, total revenue and operating margin for recent quarters or years, with quarte
RS vs KLCI 63d measures the relative strength of a stock compared to a benchmark index over a customizable lookback period, defaulting to 63 trading days against the FTSE Malaysia KLCI. It calculates the difference between the stock's percentage return and the
The Double EMA Crossover strategy plots a fast 9-period EMA and slow 21-period EMA on the price chart with a 200-period trend EMA filter. It generates long signals on golden crosses when price exceeds the trend EMA and MACD is bullish, and short signals on dea
This overlay indicator looks for price retracing toward an ICT order block defined from the highest high and lowest low over a set candle period. It marks bullish and bearish touches, with an optional vertical offset that widens the touch zone around the first
ADBE Tracker displays historical buy and sell transactions executed by ARK Invest for Adobe Inc. directly on the main price chart. It plots color-coded labels above or below price bars corresponding to specific transaction timestamps, indicating whether ARK fu
This strategy enters long or short when price breaks a Keltner channel built from an exponential moving average and an ATR multiple. It sizes each unit from a fixed equity risk percentage and an ATR stop, then can add units as price moves in the trade directio
This indicator classifies price action into four distinct market regimes: Trend, Expansion, Compression, or Mean Reversion. It determines states using a simplified Hurst exponent estimate, ADX slope thresholds, and realized volatility measurements. Based on th
P-EMA21 plots a 21-period exponential moving average and two smoothed moving averages, defaulting to lengths 21 and 55, on the price chart. It places long and short labels when the EMA crosses either smoothed average. Source, lengths, and a percentage threshol
This indicator detects US stock ex-dividend dates using request.dividends() on the chart symbol. It plots purple diamonds marking past ex-dates and displays colored glows around buy windows: yellow when the window is open but quality gates fail, green when all
The EMA Ribbon strategy plots six exponential moving averages (periods 8, 13, 21, 34, 55, 89) on the price chart to form a visual ribbon. It detects trend direction using full stack alignment, partial alignment (at least 4 of 6 consecutive pairs), or fast EMA
This script plots historical buy and sell transactions made by ARK Invest for Autodesk Inc (ADSK) directly on the price chart using labels anchored to specific timestamps. Each label indicates a buy or sell action along with the number of participating ARK ETF
Zen ATH Bands calculates the all-time high or current price of an asset and projects horizontal reference lines representing percentage pullback levels. It draws up to seven user-defined drawdown thresholds below the baseline, complete with custom price and pe
This strategy trades Donchian breakouts on the price chart and sizes each unit from a percentage of equity. It allows long and short entries, places an ATR initial stop, trails with a chandelier stop, and can add units as price moves by a multiple of ATR, up t
This indicator plots session boxes, high-low ranges, and optional open lines for Asia, London, and New York sessions on the price chart. It detects breakouts when price crosses the prior session range. Inputs let users toggle visibility of boxes, open lines, b
P-Erik Tarama is a multi-symbol scanner indicator that displays technical screening results directly on the price chart. It evaluates assets against a composite bullish condition combining price position relative to the Ichimoku conversion line and weekly base
Short Term Alpha Indicator calculates a weighted alpha from price change multiplied by volume, then derives EMAs at fast, medium, and slow lengths. It computes ROC values for the EMAs and applies percentile rank functions to identify deviations. These deviatio
US Momentum Swing Screener is a daily chart overlay indicator for US equities and ETFs. It plots a composite score based on an EMA ribbon (9/21/50/200), RSI and StochRSI momentum, MACD confluence, volume surge detection, ADX trend strength, Bollinger Band posi
This strategy trades opening gap continuation on the price chart. It measures the gap between the daily open and the prior daily close, then enters long after a qualifying gap up or short after a qualifying gap down when price stays beyond the open and a trend
This indicator builds Market Profile Time Price Opportunity (TPO) structures across defined session timeframes directly on the main price chart. It visualizes the Point of Control (POC) and Value Area boundaries using dynamic box drawings. An integrated multi-
This indicator overlays historical ARK Invest buy and sell transactions for ADYEN directly onto the main price chart. It reads hardcoded timestamp data to plot green buy labels below bars and red sell labels above bars on specific dates. A user setting allows
This strategy enters long or short Donchian breakouts and sizes each unit from a percentage of equity and ATR. It sets an initial ATR stop, trails with a chandelier stop, and tightens that trail after a chosen number of bars. Optional profit targets close one
Volatility Contraction Score is a separate-pane indicator that scores how tightly price and volume are contracting. It compares short and long true-range averages and close standard deviations, then folds in a five-bar volume ratio against a longer volume aver
This indicator plots a session volume-weighted average price on the price chart and resets the cumulative price-volume totals when a new session begins. It uses typical price and volume, and can draw optional standard-deviation bands around the VWAP. A corner
SPY Trending is an indicator designed for SPY that evaluates trend alignment across multiple timeframes using Exponential Moving Averages (5, 10, and 20 EMAs). It fetches data across lower and higher timeframes to evaluate buy and sell conditions, displaying t
Calculates a True Strength Index (TSI) oscillator modified with a linear regression line and standard deviation bands. It plots the regression line in a separate pane along with static reference levels at zero, 0.8, and -0.8, coloring the line based on slope d
US Swing Entry Planner plans swing trading entries on daily price charts using dual entry models: pullback limit buys near the fast EMA and breakout buy-stop orders above pivot highs. It calculates ATR-based stop loss and profit targets along with position siz
Heikin Ashi Trend is a trend-following strategy that calculates Heikin Ashi candle values and moving averages directly on the main price chart. It generates long and short entry signals when a user-defined number of consecutive Heikin Ashi bars align with fast
This overlay indicator screens a pasted list of up to forty symbols and draws a table on the price chart. It classifies bullish or bearish setups from the percent change between the current candle and the candle 250 bars back, then shows RSI with a simple movi
Plots historical buy and sell transactions made by ARK Invest for Adyen (ticker: ADYEY) directly onto the price chart. The indicator visualizes institutional trade activity by generating green labels below bars for purchases and red labels above bars for sales
This overlay strategy trades Donchian breakouts in either direction. The first unit is sized from a risk percent of equity and an ATR-based initial stop; later units are added at fixed ATR steps and are progressively smaller, up to four units. Optional profit
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.