Calculates the correlation coefficient and covariance between the current crypto asset and a reference market index, such as CRYPTOCAP:TOTAL2, using higher-timeframe data. It tracks percentage price changes in rolling arrays to compute correlation alongside a
This strategy enters trades based on EMA crossovers and manages exits with tight tick-based bracket orders on the price chart. It calculates fast and slow Exponential Moving Averages, triggering long entries on bullish crossovers and short entries on bearish c
This strategy plots a fast and a slow exponential moving average on the price chart and flips position when they cross. A crossover of the fast EMA above the slow EMA enters one unit long, and a crossunder enters one unit short. There is no stop loss, take pro
This strategy combines a three-tier EMA stack, RSI momentum filtering, and channel breakout rules to generate trend-following entries on the price chart. It detects swing highs and swing lows to draw connecting trend lines across pivot points. Entries trigger
PF Probe Trendmaster Trend Line Projection is a Pine Script strategy designed to evaluate trend line projections and slope math. It identifies swing pivot highs and lows using a configurable pivot strength setting and draws trend lines directly on the price ch
This strategy calculates the Aroon Oscillator along with the Relative Strength Index (RSI) to generate long trading signals. It opens an initial long position when the Aroon Oscillator crosses above the zero line, and pyramids into the position if price dips b
This strategy detects long and short signals using a fast EMA crossing above or below a slow EMA. Entries only trigger when a recent pivot exists for anchoring. Long entries place a stop loss at the last pivot low and a take profit at 2R distance using the ent
This strategy evaluates a triple-confluence entry gate combining trend, momentum, and structure filters on the price chart. It enters long when a fast exponential moving average is above a slow exponential moving average, RSI exceeds a defined threshold, and t
Calculates fast and slow Exponential Moving Averages (EMAs) to identify trend shifts on the price chart. When the fast EMA crosses above the slow EMA, any open short position is closed before opening a long trade. When the fast EMA crosses below, any open long
This strategy calculates breakout thresholds around the previous bar's close using a 14-period Average True Range multiplier. It plots dynamic upper buy lines and lower stop-loss lines directly on the price chart. Long entries trigger when price breaches the u
This strategy serves as a validation probe to test default order execution timing where orders are processed on the open of the following bar. It implements a simple long-only system using a 9-period and 21-period exponential moving average crossover filtered
This strategy tests deferred position flips under pyramiding. It enters long at market when a 9-period EMA crosses above a 21-period EMA and RSI stays below 70, and it queues short stop entries when RSI crosses under 50, with the stop placed a quarter of ATR b
This Pine Script strategy evaluates fast and slow exponential moving average crossovers gated by an RSI boundary to enter long positions. It utilizes fixed cash position sizing and permits up to three pyramided entries, converting cash to fractional contract a
This strategy plots daily ATR bands, an optional midline, and an exponential moving average directly on the price chart. It executes long trades when price breaks above the upper ATR band and opens short positions when price falls below the lower band, with an
PF session-dst probe 01 - NY spring forward is a validation strategy designed to test session time calculation and Daylight Saving Time transition behavior. It evaluates the New York equity session hours from 09:30 to 16:00 in the America/New_York time zone. T
This indicator highlights high volume and open interest (OI) extremities directly on the price chart. It identifies potential support and resistance zones, naked levels, and liquidation ranges using visual dots, lines, and boxes. An optional on-screen table di
An automated trend-following investment strategy designed for Bitcoin. It compares two customizable trend lines (such as TEMA, LSMA, EMA, or SMA) to detect crossovers and filters entries using an ATR-based trailing stop channel. Positions are exited when the p
This strategy calculates a custom Signal-to-Noise ratio derived from logarithmic aggregation of inverse close prices and compares it against a Simple Moving Average. It plots both lines in a separate pane and alters price bar colors based on signal direction.
This strategy simulates a 3Commas dollar-cost averaging (DCA) bot directly on the price chart. It opens long or short deals based on configurable conditions such as immediate execution, RSI-7 thresholds, or TradingView technical presets. As price moves against
This strategy combines Bollinger Bands, the Relative Strength Index (RSI), and On-Balance Volume (OBV) to generate trade signals directly on the price chart. Long entries trigger when price is above the middle SMA band, RSI is over 50, and OBV is rising. Short
This strategy executes trades based on Bollinger Bands with optional filter conditions from RSI and MACD oscillators. It overlays on the price chart and plots MACD lines directly across the bars. Entries trigger according to band interactions combined with mom
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
BB策略 is an overlay strategy combining standard Bollinger Bands with candlestick pattern recognition logic, including engulfing patterns, dojis, and long upper shadows. It calculates an SMA basis line and standard deviation bands, plotting them directly on the
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
Best Crypto DEMA is a long-only trend-following strategy that generates trading signals based on Double Exponential Moving Average crossovers. It calculates fast and slow DEMAs across a user-defined timeframe resolution, with an option to derive prices from He
This strategy isolates global pending-order cancellation and a full position close on the price chart. At 04:15 it places a long limit at 80 percent of close and a short limit at 120 percent of close so they are unlikely to fill. At 04:30 it cancels every pend
Big Bar Strategy identifies unusually large candles relative to a moving average of recent bar body sizes. It executes contrarian trades by opening long positions following a large bearish bar and short positions after a large bullish bar, with an optional con
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
Binance Liquidations is a strategy and separate-pane indicator that estimates derivative volume activity by calculating the volume spread between Binance perps and Coinbase spot data. It applies Weighted Moving Averages and a SuperSmoother filter to the volume
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 strategy calculates custom moving averages weighted by binomial coefficients. It plots a fast and a slow binomial moving average directly on the price chart, filling the space between them according to the trend direction. A long position enters when the
This strategy isolates request.security with gaps on and lookahead off. On a 15-minute chart it requests the 60-minute close and stores the last non-empty higher-timeframe close. A roll up is a newly returned close above that stored value, and a roll down is o
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
This strategy detects large single-candle body expansions exceeding approximately 1.91% of price to enter momentum breakouts. It enters long positions on large bullish candles and short positions on large bearish candles. Positions are closed when the 144-peri
The Bollinger %B Candles Strategy evaluates price volatility and momentum by calculating Bollinger Bands %B oscillator values in a separate pane. It incorporates customizable moving average filters, ATR multipliers, and optional higher-timeframe yearly high or
This strategy builds a 3x3 covariance matrix from three collinear price series (close, close*2, close*3) and evaluates its eigenvalues to detect rank deficiency via NaN propagation. It generates long entries and exits using a 9/21 EMA crossover on the price ch
This Pine Script strategy implements a custom long-only EMA crossover on the price chart. It defines a UDT struct Cfg with a threshold method that accepts default parameter values. The strategy computes RSI and ATR indicators then uses three call styles to the
This Pine Script v6 strategy is a validation probe for nested method calls on a user-defined type. Each bar it feeds close, a simple moving average, and standard deviation through a method chain that returns a z-score. It enters long only when that z-score is
This strategy plots Bollinger Bands on the price chart using the middle band as a simple moving average and standard deviation bands. It signals long entries when the close price crosses below the middle band combined with Aroon up trending above 90 and within
This strategy combines Stochastic RSI and a normalized Bollinger Bands calculation into a composite oscillator named MIX, plotted in a separate pane. Long positions are entered when the MIX line crosses above the oversold threshold of 20. The strategy utilizes
This strategy calculates a simple moving average basis flanked by three upper and three lower volatility bands scaled using Fibonacci ratios of the Average True Range. It enters long when the bar intersects a chosen target band and enters short when price touc
This indicator analyzes capital rotation and volume flow across 20 major cryptocurrency pairs. It compares volume changes and relative flow momentum across selected symbols to identify where market capital is migrating. The script overlays findings directly on
This strategy calculates Bollinger Bands and RSI to trigger dollar-cost averaging buy orders. It enters long positions whenever the closing price dips below the lower Bollinger Band while the RSI is below 50. Order units are calculated dynamically based on a f
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 strategy attempts to capture temporary market dips by identifying high-volume spikes during oversold conditions. It enters a long position when volume exceeds a upper standard deviation channel based on its simple moving average while the RSI remains belo
This strategy trades swing high breakouts on lower timeframes in alignment with higher-timeframe moving average trends. It evaluates price highs using a configurable lookback period and applies higher-timeframe moving average filters along with an optional ATR
BT-5M-1H is a mean-reversion strategy designed for 5-minute charts that simulates 1-hour Bollinger Bands to identify overbought and oversold conditions. It takes positions when price crosses standard deviation multiplier levels and exits using configurable log
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.