This long-only strategy automates staged entries and exits based on Bitcoin all-time high drawdowns and percentage gains. It scales into positions across five configured percentage drop levels from the highest recorded price. Profit taking occurs in five parti
A second version of a four-hour rounded bottom and top pattern indicator. A sharp drop or pump followed by a slow recovery or decline, filtered by a daily EMA, creates a long or short setup. Risk is expressed in R multiples with an ATR-based stop, staged targe
An experimental strategy lab script that simulates long, short and a second long position inside a date window, with a daily EMA 12 and EMA 26 cross as the trend filter. It tracks average entry prices, open profit, drawdown, win and loss counts and exchange fe
TOTAL MTPI STRAT M_K is a trend-following crypto market direction strategy that overlays multiple technical indicators on the price chart. It combines custom weighted moving averages, dynamic EMA ribbons, RMTA, and Kijun Sen baselines to evaluate overall marke
This strategy detects divergences in MACD, MACD histogram, and RSI indicators to generate buy and sell signals on the price chart. It supports long and short positions with customizable take-profit and stop-loss percentages. The main settings allow switching b
This indicator uses a two-dimensional k-nearest-neighbours model on scaled oscillator values to classify the current bar as buy, sell, or hold from similar historical states. Users select RSI, ROC, CCI, momentum, or all of them, and set the neighbour count, fa
A Pine v4 strategy that plots VWAP with one percent outer bands and tighter 0.8 percent inner bands. A long begins on a green non-doji candle whose high reaches the inner upper band, and a short on a red one reaching the inner lower band. Inputs set percentage
Crossing EMAs D is a moving average crossover strategy designed to automate trade execution through Zignaly webhook and email integration. It detects simple moving average crossovers (14-period and 28-period) and formats detailed payload alert messages for cry
This script executes hardcoded historical trade entries and exits based on exact Unix timestamps. Designed for backtesting the Lazarus3 model on Bitfinex BTC-USD 2-hour data from January to February 2018, it places fixed-size buy and sell orders at predetermin
This strategy calculates standard Ichimoku Cloud components, including the conversion line, base line, and displaced leading spans. It opens long positions when price resides above a bullish cloud and the conversion line crosses above the base line. Short entr
This indicator detects regular and hidden divergences between price pivots and RSI or Williams %R. Confirmed swing highs and lows, which wait a set number of bars on each side, are compared with oscillator extremes. Regular divergences mark possible reversals,
AG Momentum Breakout is a strategy that identifies continuation signals after pullbacks in trending markets. It filters for uptrends using EMAs and detects recent pullbacks via RSI conditions before entering on RSI crossovers above 50 with ADX confirmation. Th
The indicator calculates a weighted composite relative strength score across short, mid, and long-term Rate of Change (ROC) horizons alongside RSI for up to eight customizable symbols. Users can measure raw momentum or compare performance relative to a selecte
This overlay strategy plots up to three double exponential moving averages of a chosen source on the price chart. With the default lengths, it treats a crossover of the first and second DEMA as a long signal and a crossunder as a short signal; a third DEMA can
The Lakshmi Strategy v2 automatically computes daily price zones from previous candle bodies using body width and wick factors then overlays them on the chart. It generates long signals when VPA close positions confirm at zone levels with fallback stop losses
A long-only strategy for large crypto pairs on 4-hour bars, forced to 4-hour data by default. An entry needs price above a 50-bar EMA with the 20-bar EMA above it, rate of change above a minimum, RSI crossing up through 50 but below an overbought limit, and an
A long-only strategy that buys when the MACD line crosses above zero and closes the position when it crosses back below zero. MACD fast, slow and signal lengths and the price source are adjustable. It invests the full equity per trade, includes a commission se
A long-only crypto spot strategy that builds support and resistance zones from pivots on 5-minute, 15-minute, 1-hour and 4-hour charts and enters after price retests a support zone, within a set number of bars. Touch zones are sized by ATR or ticks, and a mini
This indicator prints buy and sell labels on a five-minute chart using rules built from fifteen-minute data: an EMA gap filter, RSI limits with a neutral no-trade band, a VWAP check and pivot-based support and resistance levels used for stop and target zones.
An institutional decision engine based on Smart Money Concepts (SMC) that plots structure and zone reactions on the price chart. It automatically detects instrument profiles for Gold, FX, Indices, and Crypto to analyze order blocks, liquidity pools, sweeps, an
This price-chart indicator builds a right-side volume profile and an anchored VWAP for crypto analysis. Lookback, row count, value-area percent, and acceptance bars shape the profile, while daily, weekly, or monthly anchors and a standard-deviation multiplier
This Bitcoin trading strategy analyzes golden cycle phases using halving dates and custom lengths for pre- and post-halving rises and drops. It plots a rainbow ribbon, supply and demand zones, Ichimoku cloud, geometric mean indicator, and ZigZag lines on the p
An indicator that reads trend from a fast and slow EMA on four-hour data and requires a minimum percentage separation between them. Entries also need volume above its moving average by a multiple, an RSI check and on-balance volume above its EMA. A cooldown li
Lab-Doi-06 is a price-chart strategy that limits activity to a user-set start and end time. The visible code defines a Hull moving average helper, dashed vertical lines at chosen times, and a seven-day long buy interval described as dollar-cost averaging. It t
This strategy overlays the price chart to determine macro market direction by aggregating signals from an ensemble of up to 26 trend, momentum, and moving-average indicators. It incorporates an Augmented Dickey-Fuller (ADF) market regime filter to detect rangi
This strategy enters long and short trades when MACD histogram state agrees with KDJ filters. Longs need a positive histogram, MACD below zero, and K, D, and J below 30. Shorts need a negative histogram, MACD above zero, and those values above 70. It closes lo
A Pine v4 strategy that plots a session VWAP with an upper and lower band offset by a percentage of the high and low. It opens a long when a green candle opens above the upper band and a short when a red candle opens below the lower band, closing when the oppo
This indicator calculates the Supertrend direction across multiple selected symbols on the active timeframe using custom ATR length and multiplier settings. When the trend switches between bullish and bearish for any enabled asset, the script triggers formatte
This strategy simulates a dollar-cost averaging (DCA) trading bot that enters positions when a short moving average crosses over or under a long moving average. It manages trades by placing scaled safety orders as price drops, lowering the average position ent
Fractals v2 identifies custom swing highs and swing lows across configurable left and right bar periods and visualizes them on the price chart. It plots extended swing lines, labels, boxes, and optional volume or open interest delta data for crypto futures. Tr
This strategy executes trades on short-term cryptocurrency charts using a combination of pivot support and resistance levels and a multi-pole smoothed trend filter. Entries trigger when price crosses the smoothed trend line and confirms above or below a short-
This strategy executes trades based on candlestick engulfing patterns aligned with a 200-period exponential moving average trend filter. It enters long positions when a bullish engulfing candle follows three consecutive bearish candles while price trades above
This is a Pine Script strategy that executes a fixed historical backtest on BTC-USD. It places multiple manual trades using strategy.order at specific timestamps and prices, with corresponding close conditions based on time. Some trades are long and some are s
This indicator overlays background and color signals on the price chart based on Relative Strength Index (RSI) and Moving Average Convergence Divergence (MACD) conditions. It calculates RSI alongside a high-based MACD line and defines timeframe-specific overbo
This strategy plots a Keltner channel from an EMA basis and ATR bands on the price chart. It enters long when price crosses back above the lower band while trading above a slower trend EMA, and short when price crosses back below the upper band while below tha
This indicator calculates a customizable weighted blend of the Relative Strength Index and the Money Flow Index in a separate pane. It calculates a smoothed moving average of the hybrid line to show momentum direction, changing the hybrid line brightness when
This long-only trend-following strategy combines Ichimoku Kinko Hyo components with higher timeframe moving average filters. It triggers long entries when price trades above a higher timeframe EMA and a bullish Tenkan-Sen cross above Kijun-Sen occurs under fav
This strategy trades crossovers between a weekly-anchored Volume Weighted Average Price (VWAP) and a 4-hour 90-period exponential moving average. It plots both indicators directly on the price chart. A long position is opened when weekly VWAP crosses above the
This strategy trades trend pullbacks on the price chart. It goes long when the 50-period EMA is above the 200-period EMA, price is above the slower average, RSI of length 2 is below 20, and ADX is above 15. Shorts mirror that in a downtrend with RSI above 80.
Stella's MACD + RSI Combo plots both the Moving Average Convergence Divergence oscillator and the Relative Strength Index in a separate chart pane. It evaluates momentum by comparing the MACD line against its signal line alongside RSI overbought and oversold t
This strategy identifies price consolidation ranges during Asia session hours and trades mean-reversion reclaims following liquidity sweeps. It marks an initial range box, measures sweep depths past box boundaries using ATR multiples, and enters trades when pr
Lakshmi v1 Institutional Flow Engine is an overlay indicator that combines volatility channels, multi-timeframe order block levels, and volume-price anomaly signals. It plots an ATR-based adaptive channel alongside higher-timeframe supply and demand zones deri
This indicator plots a multi-asset correlation heatmap in a separate pane to measure statistical relationships between assets. It calculates Pearson correlation coefficients over a user-specified lookback period between a chosen primary symbol and up to twenty
This strategy applies a Supertrend calculation to Heikin Ashi price data to identify trend direction and potential market reversals. It executes trades based on Supertrend trend shifts and incorporates an On-Balance Volume filter. Risk management includes a co
A simple trend indicator that compares the close with a long moving average, 100 bars by default, and a hysteresis band of two percent to reduce whipsaws. A buy appears when price closes above the band and a sell to cash when it closes below. The moving averag
This strategy combines multiple technical indicators into a unified trading system, including RSI, Williams %R, TSI, KDJ, Bollinger Bands %B, Nadaraya-Watson filter, and an RCI Ribbon. Traders can individually toggle each indicator module on or off while custo
A long-only crypto spot strategy that finds support and resistance from pivots on four timeframes (5 minutes to 4 hours) and enters on a retest of support within a set number of bars. It blocks entries where price pierced support and reclaimed it, can treat br
Test fixture for a strategy-description simulator, drawn in a separate pane. It replays a generated rule set on the chart candles between a start and end time, with a ticker mapping check and an optional trace to the Pine logs. The comments state the policy: s
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.