This indicator renders an analog and digital world clock in a separate pane. It calculates local time across global cities based on UTC offsets and configurable daylight saving time options. Users can choose specific time zones, adjust text sizes, and toggle d
This indicator identifies pivot highs and lows using a swing lookback period and connects them with trendlines on the price chart. It generates long and short entry signals when price moves through predefined percentage thresholds in three steps for buy and se
The Developing Market Profile indicator plots a histogram of price distribution on the price chart. It calculates the most traded prices over a user-defined lookback period and divides them into columns based on resolution setting. The profile can be offset fr
This validation strategy executes on the price chart to test bracket order execution. It enters a single long position at 00:15 whenever flat, using a fixed quantity of one contract. Upon entry, it immediately places a bracket exit order with a 0.4% take-profi
The strategy enters a long position of two lots at 1:15 on the hour when no position is open. It then places a take-profit order for half the position at 0.3 percent above the average entry price and a stop-loss order for the remaining half at 0.6 percent belo
A test strategy from a reference corpus that compares a normal market close with an immediate close. It buys one unit at 02:15 and closes at 03:15 in the normal way, then buys again at 10:15 and closes at 11:15 with the immediate option. Entries depend only on
Time Machine plots horizontal lines on the price chart at user-defined start and end price levels. It supports two calculation bases: SMA for average price or HH/LL for high-low ranges. The time range is set by start and end timestamps, with options to auto-de
This overlay strategy is a clock-timed validation probe for shared OCA reduce orders. When flat at 07:15 it enters one long contract. While long it places a short limit exit at 1.004 times average entry and a short stop at 0.996 times average entry, both using
This strategy is a validation probe that enters one long position and later closes it. It buys when the chart time is 08:15 and the position is flat, then closes that long at 12:15. Order size is twenty-five percent of equity, and each order pays a fixed cash
This strategy probes TradingView risk gates on a 15-minute crypto chart. It allows only long entries, caps position size at two contracts, and limits filled orders to three per day. It submits fixed one-unit longs at 00:15, 00:30 and 00:45 UTC, a short at 01:0
This validation strategy executes trades based strictly on specific hour and minute timestamps rather than price indicators. It triggers a fixed long entry when the bar time hits 00:15 and closes the open long position at 00:45. Overlaying directly on the pric
A test strategy from a reference corpus that exercises typed boolean matrices. It keeps a 24 by 7 grid of hour and weekday cells, marks a cell when RSI is above 60, and transposes the grid twice to check the matrix functions. It goes long when at least six cel
This strategy enters long positions during a specified trading session when multiple technical indicators align. It executes a buy order when the low drops below the lower Bollinger Band while RSI and ADX exceed configurable threshold values, price closes abov
Live Economic Calendar by toodegrees overlays scheduled macroeconomic news events directly onto the price chart and displays an on-screen summary table. It retrieves economic release data across major global currencies, allowing traders to filter events by imp
This Pine Script v5 indicator tracks periodic activity by anchoring volume data to selectable periods such as hourly, daily, weekly, or monthly. It calculates buy and sell volumes for each bar and plots them as colored bars in a separate pane below the price c
A long-only session strategy that trades inside a configurable time window, 08:00 to 16:00 UTC by default. It enters long at the start of the window or when a 16-period EMA crosses above a 44-period EMA inside it, and closes the position when the window ends.
Psychological Levels is a strategy that plots horizontal grid lines based on whole, half, and quarter psychological price levels directly on the chart. It triggers trades during designated intraday session windows, filtering signals using a multi-timeframe mov
This Pine Script v6 strategy gates long trades to a user-defined session window (default 0900-1700 Asia/Taipei) and enforces a maximum daily filled orders limit. It generates entries solely on fast EMA crossover above the slow EMA while inside the session. Pos
Psychological Levels calculates and overlays key rounded price thresholds on the main chart, distinguishing between whole, half, and quarter price levels. It identifies potential trade setups filtered by defined session time windows, prior-day range conditions
This multi-filter strategy triggers intraday entries by combining Relative Strength Index (RSI) range conditions with Volume Weighted Moving Average (VWMA) crossovers, Simple Moving Average (SMA) price alignment, and volume oscillator filters. Users can restri
RT Candle Signals LCBigMoves recolors candlestick bars directly on the chart to emphasize specific price action patterns. It identifies and highlights opening session bars based on a configurable time window, long-wick rejection candles determined by wick-to-b
This strategy draws up to three session range boxes and optional backgrounds on the price chart. It records each session high and low, then looks for a breakout during a later trading window after a set number of candles close outside the range. Entries can be
This indicator tracks key price levels and range boundaries across user-defined trading sessions on the main price chart. It calculates session extremes, including highest high, lowest low, session midpoint, and highest or lowest candle body levels during a sp
This educational strategy executes trades based on specific days of the week, entering long on a chosen weekday (Monday, Tuesday, or Wednesday) and closing or reversing to short on Friday. It plots dynamic stop loss and take profit price levels directly on the
Session High Low Levels with Session Breakout Box Strategy tracks customizable trading sessions to calculate and display key price levels directly on the main chart overlay. It identifies the highest high, lowest low, highest candle body, lowest candle body, a
This session-based strategy triggers long entries at the start of the New York trading session when trend and momentum conditions align. It calculates a 38-period Exponential Moving Average and a 14-period RSI. A long position is taken at session open if the c
This strategy executes long and short trades on the price chart by combining multi-timeframe smoothed Heikin-Ashi trends, higher-timeframe Hull Moving Average variations, and an ATR-based trailing stop. Users can adjust timeframes, smoothing lengths, Hull form
This strategy calculates smoothed Heikin-Ashi candles alongside a moving average of the Relative Strength Index to enter trend reversals. It triggers long entries when smoothed Heikin-Ashi turns bullish while RSI trades above its moving average, and short entr
Session Wicks is a price-chart strategy that combines a Heikin Ashi weighted moving average, an RSI compared with its moving average, and a smoothed stochastic. Bullish and bearish states come from the Heikin Ashi average falling or rising and from RSI sitting
This strategy tests calendar-day buy-and-hold timing on the price chart. Inside a user-set start and end date, it opens a long entry whenever the calendar day of the month matches the entry day. If the exit-day option is on, it closes every position on the day
Sessions Toolbox overlays key intraday trading sessions—Asia, Euro, and USA—directly on the price chart. It features optional background highlighting, markers for session open and close levels, and session-specific Volume Weighted Average Price (VWAP) lines wi
This strategy detects daily opening gaps and trades them on the price chart. It marks an up or down gap from the current open and close versus the previous bar, then stores the prior extreme as the fill level. By default it buys down gaps and shorts up gaps, e
Custom Time Highlighter is an intraday overlay indicator that shades the chart background during a user-specified range of hours. Users configure the start and end hours to visually separate trading windows or session periods. It applies an orange background c
This strategy computes the MACD with user-defined fast, slow, and signal lengths, then plots the MACD line, signal line, and histogram in a separate pane. It generates long entries on MACD crossover and short entries on MACD crossunder, but restricts signals t
Order At Specified Time is a TradingView strategy that executes trades at a designated time of day within a specified backtest date range. At the user-configured UTC hour and minute, the strategy enters a short market position while simultaneously placing a lo
This strategy detects momentum breakouts identified as lightning candles where the absolute candle body size exceeds a user-defined tick threshold. It enters long positions on large bullish candles and short positions on large bearish candles, with an option t
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 enters long positions when a 9-period Simple Moving Average (SMA) crosses above a 21-period SMA during active market session hours. To avoid holding positions overnight, it automatically exits all open trades on the final bar of the session using
A test strategy from a reference corpus that only trades during regular market hours as reported by the session variable. Within those hours it buys one unit when a 9-period simple moving average crosses above a 21-period one and closes the long on the opposit
This strategy plots three moving averages on the price chart, although the calculations use simple moving averages despite the EMA title. It enters long when the fastest average crosses above the other two and short when it crosses below them, limited to the L
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
This indicator measures relative volume by comparing cumulative session volume against a historical average for the same time of day across previous days. Drawn in a separate pane, it renders a multi-color gradient area and stepline plot across four activity z
This strategy evaluates intraday trading execution for US equities during regular trading hours while handling overnight gaps. It calculates a 14-period Relative Strength Index (RSI) across price history without daily resets. Trades are gated by the market ses
A test strategy from a reference corpus that checks a daily counter reset using the trading day time variable. The counter resets at each new session. When it is even and flat, the strategy buys one unit and adds one to the counter; when it is odd and long, it
This Pine Script strategy isolates and validates session and timezone filtering using a basic market entry mechanism. It calculates active trading windows using timezone-aware time functions and enters a single long position at the start of the defined session
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.