High Low ChannelBasic high and low channels, allows for two high and two low channels of specified lengths.
Use for channel breakout trades, basic idea is to go long when the longer high channel is broken and close when shorter low channel is broken, vice versa for shorts
Feel free to leave me a tip if you like this script: 1MprT7YEEWaM6bUcpD7eeHM3Ht8n3R5jP1
在脚本中搜索"break"
Channel Break Out Binary StrategyI am learning pine script at the moment and this is my first attempt at creating an expire time based strategy for binary options based on a simple example like the built-in Channel Break Out Strategy.
[RS]Open Range Breakout V3Request for DCC/coondawg71
added support for using session.
theres a issue with the session it needs to have the format inverted:
(start-end) to (end-start)
'0000-1500' to '1500-0000'
Multi BB Heat Vis - SMA/EMA/Breakout - r2I don't expect to iterate any further on this script, unless any weird issue crops up.
Description and usage detailed in the comments at the top of the script. Cheers!
To repaint or not to repaint, all the relevant sources are exposed as inputs for customisation - so the choice is yours.
Cheers!
CamarillaStrategy -V1 - H4 and L4 breakout - exits addedExits added using trailing stops.
2.6 Profit Factor and 76% Profitable on SPY , 5M - I think it's a pretty good number for an automated strategy that uses Pivots. I don't think it's possible to add volume and day open price in relation to pivot levels -- that's what I do manually ..
Still trying to add EMA for exits.. it will increase profitability. You can play in pinescript with trailing stops entries..
PBKO - Progressive Break Out 2.0Progressive Fibonacci level, intercept support/resistance from lenght bars default 120 bars, best use to 1H chart
Hyper Squeeze Sniper (Dual Side: Long + Short)Hyper Squeeze Sniper (Dual Side: Long + Short)
Tagline: A professional-grade volatility breakout system designed to catch explosive moves in both Bull and Bear markets.
Description
The Hyper Squeeze Sniper is a comprehensive momentum indicator that combines Volatility Analysis, Volume Spread Analysis, and Trend Following logic into a single system. It is designed to identify the "Squeeze" (consolidation phase) and signal high-probability entries exactly when the price explodes.
This script features a built-in State Machine to manage trade status (Wait, Long, Short) and prevent conflicting signals.
🛠 Concepts & Calculations (The Logic)
This indicator uses a 3-step validation process to generate signals:
1. The Squeeze Detection (Consolidation)
Before a trend explodes, volatility usually contracts. We measure this using the relationship between Bollinger Bands (BB) and Keltner Channels (KC).
Logic: When the Bollinger Bands (Length 20, Mult 2.0) narrow completely inside the Keltner Channels (Length 20, Mult 1.5), the background turns Gray.
Meaning: Energy is building up. This is a "No Trade" zone.
2. The Breakout & Confirmation (Entry)
We do not trade every breakout. The script filters for "Smart Money" moves using:
Momentum Filter: Uses Linear Regression (20 periods) to calculate the true slope of the price. We only go Long if the slope is Positive, and Short if Negative.
Volume Filter: The breakout candle must have a volume at least 1.2x higher than the 20-period average (vol_mult = 1.2). This filters out fake breakouts with low participation.
Price Action: The candle must close in the direction of the trend (Green for Long, Red for Short).
3. The Trailing Stop (Risk Management)
Once a position is taken, an ATR Trailing Stop (Chandelier Exit logic) is activated.
Calculation: It uses a 14-period ATR with a multiplier of 3.0.
Behavior: The stop line only moves in favor of the trade (Ratcheting effect) to lock in profits as the trend extends.
📊 How to Use
For LONG Setups (Bullish)
Wait: Look for the Gray Squeeze Zone.
Signal: A Green Triangle labeled "LONG" appears below the bar.
Hold: Stay in the trade as long as the price remains ABOVE the Green Safety Line.
Exit: Close the position when the 'X' mark appears (Price closes below the Green Line).
For SHORT Setups (Bearish)
Wait: Look for the Gray Squeeze Zone.
Signal: A Red Triangle labeled "SHORT" appears above the bar.
Hold: Stay in the trade as long as the price remains BELOW the Orange Safety Line.
Exit: Close the position when the 'X' mark appears (Price closes above the Orange Line).
⚙️ Settings (Default)
Squeeze Settings: BB (20, 2.0) / KC (20, 1.5).
Volume Filter: 1.2 (Requires 20% higher volume than average).
ATR Exit: 3.0 (Wide stop for capturing large trends).
🖥 Dashboard
A status table is located at the top-right corner to provide real-time data:
Trend: Shows the current market phase (Squeeze, Bullish, or Bearish).
Status: Displays the current signal state (LONG, SHORT, or WAIT).
Stop Loss: Displays the precise price level for the trailing stop.
Compression Breakout [30min 65+33 EMA]Compression Breakout
by GhostMMXM (inspired by Chris Cady & Steidlmayer Market Profile principles)
This indicator automates the exact compression-to-displacement setup that veteran CBOT floor trader and Market Profile pioneer Chris Cady describes in interviews and his work with Peter Steidlmayer.
Core idea
Chris Cady uses two simple moving averages on the 30-minute chart — a 33-period and a 65-period — to visually detect when the market falls into “balance” (compression). When both lines go almost perfectly flat for several bars, the market is in a low-volatility, high-consensus state — the calm before a violent vertical breakout.
What this script does
• Detects when both the 33 EMA and 65 EMA are virtually flat (user-adjustable sensitivity)
• Requires a minimum of 6 consecutive flat bars (adjustable) before declaring compression
• Draws a light-grey background + live-updating box showing the detecting compression
• Triggers only on the first strong displacing bar that:
– closes entirely above the compression high OR entirely below the compression low
– has a range ≥ 1.5× the average bar range inside the compression zone (adjustable)
• Plots a clear “LONG Cady Break” or “SHORT Cady Break” label on the breakout bar
• Fires a clean alert instantly usable on entire watchlists:
BTC → Compression LONG breakout!
ES1! → Compression SHORT breakout!
Designed for 30-minute charts (BTC, ETH, SOL, NQ, CL, GC, etc.) but works on any timeframe.
Perfect for traders who want to catch the highest-conviction vertical moves that Chris Cady has traded for decades with only a few contracts scaled in aggressively on the break.
Settings
• Minimum flat bars for compression (default 6)
• Max % slope to be considered flat (default 0.08 %)
• Minimum range multiplier vs compression average (default 1.5×)
Enjoy the cleanest, most mechanical version of Chris Cady’s famous compression breakout strategy available on TradingView.
Happy trading!
Volatility Resonance CandlesVolatility Resonance Candles visualize the dynamic interaction between price acceleration, volatility, and volume energy.
They’re designed to reveal moments when volatility expansion and directional momentum resonate — often preceding strong directional moves or reversals.
🔬 Concept
Traditional candles display direction and range, but they miss the energetic structure of volatility itself.
This indicator introduces a resonance model, where ATR ratio, price acceleration, and volume intensity combine to form a composite signal.
* ATR Resonance: compares short-term vs. long-term volatility
* Acceleration: captures the rate of price change
* Volume Energy: reinforces the move’s significance
When these components align, the candle color “resonates” — brighter, more intense candles signal stronger volatility–momentum coupling.
⚙️ Features
* Adaptive Scaling
Normalizes energy intensity dynamically across a user-defined lookback period, ensuring consistency in changing market conditions.
* Power-Law Transformation
Optional non-linear scaling (gamma) emphasizes higher-energy events while keeping low-intensity noise visually subdued.
* Divergence Mode
When enabled, colors can invert to highlight energy divergence from candle direction (e.g., bearish pressure during bullish closes).
* Customizable Styling
Full control over bullish/bearish base colors, transparency scaling, and threshold sensitivity.
🧠 Interpretation
* Bright / High-Intensity Candles → Strong alignment of volatility and directional energy.
Often signals the resonant phase of a move — acceleration backed by volatility expansion and volume participation.
* Dim / Low-Intensity Candles → Energy dispersion or consolidation.
These typically mark quiet zones, pauses, or inefficient volatility.
* Opposite-Colored Candles (if divergence mode on) → Potential inflection zones or hidden stress in the trend structure.
⚠️ Disclaimer
This script is for educational purposes only.
It does not constitute financial advice, and past performance is not indicative of future results. Always do your own research and test strategies before making trading decisions.
Breakdown or Buyable Dip? Pullback Depth Can HelpAs a common adage says, “the market doesn’t move in a straight line.” But when prices have fallen, it’s not always clear whether buying makes sense. That’s where today’s script may help.
Most traditional indicators judge movement based on price. That’s obviously important, but time can also be helpful. After all, there’s a big difference between probing a low from 2-3 weeks ago versus a low from months or even years in the past.
Pullback Depth clearly illustrates this by answering the question: “Today’s low is the lowest in how many bars?”
The resulting integer is plotted in a simple histogram. Values are always negative because bars with higher absolute values (meaning more negative, or further below zero) are potentially more bearish.
The study also has a maximum lookback period to avoid overwhelming the study with too many bars. Its default setting of 125 bars includes enough history to illustrate the trend.
The stock market’s recent run has seen only shallow pullbacks. Most dips have probed 1-2 weeks in the past, while Friday’s selloff only turned back the clock a month.
Consider two other previous moments.
First, the great bull run of 1995 saw only shallow pullbacks. (None exceeded 50 days.):
In contrast, early 2022 saw the S&P 500 test levels more than 100 candles into the past. It soon fell into an official “bear market:”
TradeStation has, for decades, advanced the trading industry, providing access to stocks, options and futures. If you're born to trade, we could be for you. See our Overview for more.
Past performance, whether actual or indicated by historical tests of strategies, is no guarantee of future performance or success. There is a possibility that you may sustain a loss equal to or greater than your entire investment regardless of which asset class you trade (equities, options or futures); therefore, you should not invest or risk money that you cannot afford to lose. Online trading is not suitable for all investors. View the document titled Characteristics and Risks of Standardized Options at www.TradeStation.com . Before trading any asset class, customers must read the relevant risk disclosure statements on www.TradeStation.com . System access and trade placement and execution may be delayed or fail due to market volatility and volume, quote delays, system and software errors, Internet traffic, outages and other factors.
Securities and futures trading is offered to self-directed customers by TradeStation Securities, Inc., a broker-dealer registered with the Securities and Exchange Commission and a futures commission merchant licensed with the Commodity Futures Trading Commission). TradeStation Securities is a member of the Financial Industry Regulatory Authority, the National Futures Association, and a number of exchanges.
TradeStation Securities, Inc. and TradeStation Technologies, Inc. are each wholly owned subsidiaries of TradeStation Group, Inc., both operating, and providing products and services, under the TradeStation brand and trademark. When applying for, or purchasing, accounts, subscriptions, products and services, it is important that you know which company you will be dealing with. Visit www.TradeStation.com for further important information explaining what this means.
Leading Indicator by Parag RautBreakdown of the Leading Indicator:
Linear Regression (LRC):
A linear regression line is used to estimate the current trend direction. When the price is above or below the regression line, it indicates whether the price is deviating from its mean, signaling potential reversals.
Rate of Change (ROC):
ROC measures the momentum of the price over a set period. By using thresholds (positive or negative), we predict that the price will continue in the same direction if momentum is strong enough.
Leading Indicator Calculation:
We calculate the difference between the price and the linear regression line. This is normalized using the standard deviation of price over the same period, giving us a leading signal based on price divergence from the mean trend.
The leading indicator is used to forecast changes in price behavior by identifying when the price is either stretched too far from the mean (indicating a potential reversal) or showing strong momentum in a particular direction (predicting trend continuation).
Buy and Sell Signals:
Buy Signal: Generated when ROC is above a threshold and the leading indicator shows the price is above the regression line.
Sell Signal: Generated when ROC is below a negative threshold and the leading indicator shows the price is below the regression line.
Visual Representation:
The indicator oscillates around zero. Values above zero signal potential upward price movements, while values below zero signal potential downward movements.
Background colors highlight potential buy (green) and sell (red) areas based on our conditions.
How It Works as a Leading Indicator:
This indicator attempts to predict price movements before they happen by combining the trend (via linear regression) and momentum (via ROC).
When the price significantly diverges from the trendline and momentum supports a continuation, it signals a potential entry point (either buy or sell).
It is leading in that it anticipates price movement before it becomes fully apparent in the market.
Next Steps:
You can adjust the length of the linear regression and ROC to fine-tune the indicator’s sensitivity to your trading style.
This can be combined with other indicators or used as part of a larger strategy
Breakout Condition Indicator - Long - V2 - Mega 86Script used for swing trading - contains certain adjustable metrics that I use for scanning and day or entry
Break & Retest + Liquidity Sweep EntryIdentify a BOS (vertical line appears).
Wait for price to retest the broken level (circle shows up).
Optionally confirm with liquidity sweep.
Enter long/short trades based on bullish/bearish retest signals.
Use ATR or personal risk management for stop-loss placement.
Breakout Bar CandidateShows the values of True Range, LS volatility and whether the volume is above or below average
MAC's V6 finalBreakout retest strategy
Works best on a NQ 1 hour chart
Also works on other futures charts
Adjust the initial capital to 100000
and the margin requirement percent to 0
ORB 5 Minute w/FVG and Retracement Breakout strategy creates five minute breakout lines on the 1 minute chart. Highlights any fair value gaps created within ORB and creates an arrow showing when a candle retraces into the fvg.
Breakout ORB + HTF EMA + ATR Targets (America/Denver)This is a perfect simple chart for those trading Crypto pairs between the London and US market overlays.
Saty Volume StackBreaks volume into buy and sell volume and stacks them based on which side has higher volume.
Dynamic Buy / Sell Stack
Unlike other buy/sell volume indicators, which statically display this information (typically green over red), this indicator dynamically stacks the higher volume side on top. For example, green over red indicates more buy-side volume, red over green indicators more sell-side volume.
Current Candle Volume Buy/Sell %
A label shows the % buy vs sell volume for the current candle in real-time. This label is also dynamic with the left position being higher volume.
How the Buy/Sell Volume is Calculated
Buy/Sell % is calculated based on price.
Buy % is calculated using the distance between the low of the candle to the closing value of the candle and dividing that by the total range of the candle high to low.
Sell % is calculated using the distance between the high of the candle to the closing value of the candle and dividing that by the total range of the candle high to low.
Please note this is a proxy metric and while it is incredibly useful, it is not going to match up exactly with actual buy/sell volume that can be found on tape.






















