1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
ACE Squeeze builds a histogram and an optional cycle phase line from a base cycle length, sensitivity, and price source, then can adjust the reading with volatility, volume delta, relative range expansion, market regime, statistical filtering, and an optional Hilbert transform. Visual settings control gradient colors, glow tiers, and heat-map bands at extremes. Signal projection is off by default. It does not place trades or define exits.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Base Cycle Length
int
20
length
Sensitivity
float
0.65
sensitivity
Price Source
source
hlc3
bandsSrc
Vary Opacity by Signal Strength
bool
true
useOpacityModulation
Use Volatility-Adjusted Cycle Detection
bool
true
useVACD
Volatility Influence
float
0.4
volInfluence
Use Volume Delta Confirmation
bool
true
useVolumeDelta
Volume Influence
float
0.35
volumeInfluence
Use Relative Range Expansion Detection
bool
true
useRRED
RRED Lookback
int
15
rredLookback
Use Market Regime Detection
bool
true
useMarketRegimeDetection
Use Advanced Volume Footprint
bool
true
useVolumeFootprint
Show all 40 settings
Setting
Type
Default
Variable
Use Statistical Filtering
bool
true
useStatFiltering
Use Dynamic Timeframe Selection
bool
false
useDynamicTimeframes
Use True Hilbert Transform
bool
true
useHilbertTransform
Regime Update Frequency (bars)
int
10
regimeUpdateFreq
Show Cycle Phase Line
bool
true
showCycles
Use Gradient Colors for Histogram
bool
true
useGradientColors
Show Histogram
bool
true
showHistogram
Show Signal Projection
bool
false
showProjection
Enable Histogram Glow Effects
bool
true
showGlowEffects
Enable Heat Map Bands at Extremes
bool
true
showHeatMapBands
Tier 1: Building Momentum - Start
int
35
glow1Threshold
Tier 1: Building Momentum - End
int
55
glow1ThresholdHigh
Tier 1: Opacity %
int
50
glow1Opacity
Tier 1: Width Bonus
int
0
glow1WidthAdd
Tier 2: Strong Signal - Start
int
55
glow2Threshold
Tier 2: Strong Signal - End
int
80
glow2ThresholdHigh
Tier 2: Opacity %
int
35
glow2Opacity
Tier 2: Width Bonus
int
1
glow2WidthAdd
Tier 3: Extreme Signal - Start
int
80
glow3Threshold
Tier 3: Opacity %
int
20
glow3Opacity
Tier 3: Width Bonus
int
2
glow3WidthAdd
Histogram Width
int
4
histogramWidth
Bullish Color
color
#00ff88
bullishColor
Bullish Weak Color
color
#00cc66
bullishWeakColor
Bearish Color
color
#ff4444
bearishColor
Bearish Weak Color
color
#cc3333
bearishWeakColor
Squeeze Color
color
color.rgb(40, 40, 40)
squeezeColor
Signal Line Width
int
2
signalLineWidth
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
This indicator standardizes price inputs using z-score normalization before calculating a relative strength index (RSI). It generates trade signals when standardized price components cross over or under the standardized RSI feature. Signals can be filtered by
PPO ATR Bands plots a percentage price oscillator in a separate pane. It compares a Hull average of typical price with a volume-weighted exponential average of Parabolic SAR, then scales three true-range bands around the slow average into matching oscillator l
The Expectation Maximization Gaussian Mixture Regime indicator clusters market states into two to five components using an online Expectation-Maximization Gaussian Mixture Model. It processes three input features: volatility-normalized momentum, relative volat
This indicator calculates the Relative Strength Index (RSI) alongside a simple moving average to generate directional momentum signals in a separate pane. It supports Break Flip and Break Continuous scanning modes for long and short setups. A wide array of opt
This Pine v4 study ports early NostalgiaForInfinity V6 conditions onto the price chart. It computes two Bollinger setups, several EMAs and SMAs, RSI, MFI, a percent SMA spread labeled EWO, a 14-period choppiness value, and short and longer volume medians. Fixe
The script calculates a variant of the Fear & Greed Index using rate of return, accumulation distribution money flow weighted by volume, and volatility from VIX. It offers display options for the raw index value or price candles scaled by the index level. Smoo