Open-source Pine scripts written for stock indices such as the Nasdaq 100, S&P 500 and DAX: opening range, gap and session tools, and index strategies.
A test indicator in a separate pane that exercises an imported period high and low library. It detects session, day, week, month and year changes, with extra handling for Moscow Exchange futures sessions, and plots the change markers as lines so the period det
Ehlers Loops is a separate-pane indicator that tracks up to five symbols. It requests each symbol's prior close and volume, with low-pass and high-pass periods as the main filter settings. Enabled symbols are drawn with colored labels and lines, and label size
LC Signal Generator measures market breadth and alignment across three configurable symbol groups, including European stock indices, S&P 500 futures, and the VIX volatility index. It calculates daily percentage changes for each asset using daily close data. Wh
This indicator builds a separate-pane dashboard for the United States and five other countries. It requests open, high, low, and close for each region's currency, two-year yield, and equity index on the chart timeframe. Default symbols cover the dollar index,
Calculates standard position sizing based on a user-defined maximum dollar loss per trade. Risk distance can be set using Average True Range (ATR) multiples or a fixed tick count. It automatically detects dollar-per-point multipliers for popular futures contra
This intraday strategy enters positions based on an alignment of trend, momentum, and oscillator indicators. It triggers long entries when the Commodity Channel Index is above a positive threshold, a fast Relative Strength Index crosses above a slow RSI, price
This indicator calculates and plots 10, 20, and 50-period Double Exponential Moving Averages (DEMA) directly on the price chart. It renders user-defined support and resistance zones (RS2, RS1, and Base 1) as shaded boxes anchored to the start of the trading da
A Pine Script v4 indicator, credited to LonesomeTheBlue, that draws a set of manually entered horizontal levels on the price chart, ten above and ten below, labelled as seller and buyer levels. The default prices are fixed numbers for ES or NQ futures, chosen
The ORB + Fib + MACD Indicator combines Opening Range Breakout mechanics with Fibonacci retracement levels and MACD momentum filtering. It determines the high and low bounds of a user-defined initial session window, projects Fibonacci entry zones, and calculat
This long-only trend-following strategy identifies breakout trades by requiring price to breach a 250-bar high while aligned with 50-period, 150-period, and 200-period Simple Moving Averages. It calculates relative strength against a comparative market benchma
Calculates and plots horizontal support and resistance levels based on weekly Wednesday price action and daily midnight opening candles. It accounts for Daylight Saving Time adjustments to capture monthly Wednesday high, low, and open levels along with daily U
WED & MIDNIGHT DST System is a time-based levels indicator that identifies and visualizes key support and resistance zones directly on the price chart. It plots the high and low ranges from the first five Wednesdays of each month with automatic Daylight Saving
This strategy executes a time-based long entry at 02:00 exchange time, targeted around the European market open. It opens a position of two units and applies fixed-point profit and risk management. If price drops five points below the entry, a full stop loss t
This indicator plots recurring Wednesday and midnight price levels on the price chart. It marks the high, low, and open of early Wednesdays each month, capturing them near 20:30 South African time and shifting that clock for US daylight saving. It also draws t
Plots key price levels directly on the main chart using time-based reference points. It tracks the high, low, and open prices for each Wednesday of the month while automatically adjusting for US Daylight Saving Time shifts. The indicator also identifies daily
This indicator identifies and plots recurring key price levels based on two time-based systems: Wednesday session highs, lows, and opens, along with Midnight (UTC+2) reference levels. It automatically adjusts for Daylight Saving Time and fetches 15-minute time
This indicator plots time-based support and resistance levels on the price chart. It tracks the high, low, and open of monthly Wednesday sessions at 20:30 SAST with automated Daylight Saving Time adjustments, alongside daily midnight opening ranges based on UT
Calculates and plots key price levels based on recurring Wednesday High, Low, and Open price action as well as midnight levels. The indicator draws horizontal support and resistance lines directly on the price chart for technical analysis across up to four his
This indicator plots recurring time-based price levels on the price chart using Wednesday South African Standard Time and midnight UTC plus two session data. It calculates and draws the open, high, and low levels of the first five Wednesdays of each month with
This indicator plots time-based support and resistance levels on the price chart across global trading sessions. It maps the high, low, and open levels of the first five Wednesdays of each month, daily midnight candles, and New York pre-market levels derived f
This script plots time-based key price levels directly on the main price chart, including Wednesday high, low, and open levels, Midnight levels, and NY PreMarket session high/low levels. It tracks global market session opens, London fixes, and key economic eve
This indicator calculates and plots time-based support and resistance levels on the price chart. It identifies monthly Wednesday session highs, lows, and opens adjusted for daylight saving time, alongside daily Midnight and New York Premarket 15-minute range l
This strategy trades breakouts of the New York opening price range on Nasdaq futures. It builds a short range after the session open, then allows one long or short entry only inside a later trade window when price leaves that range. Optional RSI regime and EMA
This indicator identifies and plots key high and low price levels established on Wednesdays at 13:30 EST in the New York timezone. It draws extended horizontal lines and optional range boxes for historical Wednesday session levels, assigning distinct colors to
This overlay indicator marks the high and low of the 19:30 SAST Wednesday bar and draws a separate pair of horizontal lines for the first through fifth Wednesday of the month. Each Wednesday has its own high and low colours and line widths, and each pair can b
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 indicator identifies and plots high and low price levels established during specific Wednesday trading sessions based on South Africa Standard Time (SAST). It accounts for daylight saving time shifts by adjusting target hours between 19:30 and 20:30. User
This indicator enables traders to construct and evaluate a custom multi-asset portfolio directly on the chart. Users can select multiple symbols, assign specific weighting percentages, and designate long or short positions. It calculates cumulative percentage
This strategy places resting limit orders at VWAP for pullbacks in the direction of a higher-timeframe EMA trend. Longs require the fast EMA above the slow EMA, a rising VWAP, and price above VWAP; shorts mirror those rules. A filled trade uses an ATR multiple
An intraday trading strategy that calculates daily pivot points, support and resistance levels, previous day high/low, and typical price. Designed around specific trading sessions like Indian market hours (09:15 to 15:30), it draws key reference levels directl
This strategy detects Opening Range Breakouts in a specified session. It calculates the high and low of the opening range bar then plots these levels on the price chart and fills the area between them. Candles are colored based on their relation to the ORB hig
This strategy builds an opening range during a user-defined morning session and trades breakouts of that range during a later trade window. It enters long above the range high and short below the range low, then manages exits with two range-size extensions, a
This strategy executes opening range breakout trades on the price chart during New York market hours. It tracks the high and low of a customizable opening session and enters long or short positions when price breaks above or below the range. Position sizing de
Bollinger Band Breakout is a positional strategy combining Bollinger Bands with the Relative Strength Index (RSI). It opens long positions when price crosses above the upper Bollinger Band while 14-period RSI is between 60 and 70. Short entries trigger when pr
This indicator overlays fractal-based volatility bands, Fibonacci retracement levels, and vortex spiral trajectories directly on the price chart. It combines a Hurst exponent trend-persistence calculation with multi-layered Fibonacci cascade ratios and optiona
This indicator tracks and visualizes modern portfolio theory metrics across up to five user-selected assets directly on the price chart. It calculates combined portfolio performance, asset correlation over a configurable length, and individual asset allocation
This indicator tracks and visualizes the historical performance of a multi-asset portfolio against a selected benchmark symbol. It displays performance metrics, specification details, and asset allocations directly on the price chart using customizable on-scre
Bankai ES Trend combines multiple trend and momentum tools into an overlay indicator on the price chart. It calculates moving average slope filters, Aroon trend conditions, QQE momentum signals, Supertrend levels, and multi-period EMA clouds. It plots trend ba
A test strategy from a reference corpus that builds a VWAP restarted on the first bar of each trading session, using typical price times volume during market hours. It buys one unit when the close crosses above this session VWAP and closes the long when the cl
This strategy evaluates premarket session activity on equity markets like NASDAQ. During premarket hours, it enters a long position whenever an intraday candle closes higher than its open price. Once the regular market session opens, the strategy automatically
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.