⚡ VWAP (Recent Segment Only)VWAP, RECENT segment on a horizontal line, so it does not break or squueze the chart like traditional VWAP
find it very useful visually, it does not clutter the chart like traditional VWAP. it will not make the chart messy. clean usefull most recent VWAP line.
Enjoy!
チャートパターン
Change in State of Delivery CISD [AlgoAlpha]🟠 OVERVIEW
This script tracks how price “changes delivery” after failed attempts to push in one direction. It builds swing levels from pivots, watches for those levels to be wicked, and then checks if price delivers cleanly in the opposite direction. When the pattern meets the script’s tolerance rules, it marks a Change in State of Delivery (CISD). These CISD levels are drawn as origin lines and are used to spot shifts in intent, failed pushes, and continuation attempts. A CISD becomes stronger when it forms after opposing liquidity is swept within a defined lookback.
🟠 CONCEPTS
The script first defines structure using swing highs/lows. These levels act as potential liquidity points. When price wicks through a swing, the script registers a mitigation event. After this, it looks for a reversal-style candle sequence: a failed push, followed by a counter-move strong enough to pass a tolerance ratio. This ratio compares how far price expanded away from the failed attempt versus the counter-move that followed. If the ratio is high enough, this becomes a CISD. The idea is simple: liquidity interaction sets context , and the tolerance logic identifies actual intent . CISD levels and sweep markers combine these two ideas into a clean map of where delivery flipped.
🟠 FEATURES
Liquidity tracking: marks swing highs/lows and updates them until expiry
Liquidity sweep confirmation when CISD aligns with recent mitigations
Alert conditions for all key events: mitigations, CISDs, and strong CISDs
🟠 USAGE
Setup : Add the script to your chart. Use it on any timeframe where swing behavior matters. Set the Swing Period for how wide a pivot must be. Set Noise Filter to control how strict the CISD detection is. Liquidity Lookback defines how recent a wick must be to confirm a sweep.
Read the chart : Origin lines mark where the CISD began. A green line signals bullish intent; a red line signals bearish intent. ▲ and ▼ shapes show CISDs that form after liquidity is swept, these mark strong signals for potential entry. Swing dots show recent swing highs/lows. Candle colors follow the latest CISD trend.
Settings that matter : Increasing Swing Period produces fewer but stronger swings. Raising Noise Filter requires cleaner counter-moves and reduces false CISDs. Liquidity Lookback controls how strict the sweep confirmation is. Expiry Bars decides how long swing levels remain active.
FancyITM💰-Honey DripFancyITM💰 – Honey Drip is an all-in-one trading toolkit built for members of the Honey Drip Network.
It combines smart-money style Order Blocks & Breaker Blocks with a full intraday framework:
Automatic bullish & bearish order blocks
Breaker blocks and polarity shifts
VWAP, 200 SMA, EMA 21 & EMA 9
Bollinger Bands (volatility and squeeze structure)
Premarket High/Low and Previous Day High/Low key levels
How to use it (Honey Drip style):
Use VWAP + MAs to define trend and intraday bias.
Mark liquidity zones with Order Blocks, Premarket H/L, and Previous Day H/L.
Watch Bollinger Bands for volatility expansions, squeezes, and extended moves.
Look for liquidity sweeps and retests of OBs or key levels in the direction of your bias.
Use the opposite OBs, VWAP, or prior day levels as logical targets/trim zones.
Everything is color-configurable and designed to be professional, readable, and friendly how FancyITM trades with the Honey Drip Network!
Learn more at honeydripnetwork.com and follow @fancyITM on instagram
ETH/USDT Advanced Liquidity + TrendAuto-detect high-volume nodes (liquidity zones) using a simple proxy method.
Combine trend confirmation from multiple timeframes (Daily + 4H).
Mark dynamic support/resistance zones.
ORB Break & Retest by QuantCrawlerFree professional Opening Range Breakout indicator built by QuantCrawler.
I'm releasing this as a completely free tool - no subscriptions, no hidden costs. Just add it to your chart and trade.
That said, if this helps your trading:
- Hit subscribe on YouTube (@AutomateWithAaron) - it helps more than you know
- Visit QuantCrawler.com to see our AI-powered analysis platform
- Your support lets me keep building free resources like this
Now let's get into how it works...
═══════════════════════════════════
📊 HOW IT WORKS
1. Captures the Opening Range (default: 9:30-9:35 AM ET) from the first 5-minute candle
2. Draws OR High, OR Low, and Midpoint levels on your chart
3. Detects breakouts when price closes beyond the OR zone + your specified distance
4. Fires LONG/SHORT entry signals when price retests the OR midpoint after breakout
═══════════════════════════════════
✓ FEATURES
- Universal - works on futures, forex, stocks, and crypto
- Customizable sessions - NY, London, Asia, or any custom timeframe
- Adjustable breakout distance to match your instrument
- Clean visual signals - only shows actionable entries
- Session end time stops monitoring after market close
- Runs on 1-minute chart for precise timing
═══════════════════════════════════
⚙️ SETTINGS
- Breakout Distance (Points): Distance outside OR zone to confirm breakout
- Timezone: Select your trading session
- Opening Range Time: First 5 minutes to capture (default 9:30-9:35)
- Session End Time: When to stop monitoring (default 16:00)
═══════════════════════════════════
🎯 IDEAL FOR
Day traders and scalpers who trade the opening session using mechanical, rules-based setups. Works best on liquid instruments during active market hours.
═══════════════════════════════════
🚀 WANT MORE?
This indicator pairs perfectly with QuantCrawler's AI-powered chart analysis:
- Multi-timeframe futures analysis (15m/5m/1m scalping, 4H/1H/30m intraday, 1D/4H/1H swing)
- Precision entry points, stop losses, and profit targets
- Confidence scoring for every setup
- Covers futures, forex, and crypto markets
Visit quantcrawler.com to see how AI can level up your trading.
═══════════════════════════════════
⚠️ DISCLAIMER
This indicator is for educational purposes only. Past performance does not guarantee future results. Always use proper risk management and never risk more than you can afford to lose.
═══════════════════════════════════
Built with ❤️ by Aaron @ QuantCrawler
quantcrawler.com | AI-Powered Futures Trading Technical Analysis
Systemic Net Liquidity (Macro Fuel for Crypto & Stocks)This indicator tracks Systemic Net Liquidity, the single most important macro factor for determining the long-term trend of risk assets like Bitcoin (BTC) and major indices (S&P 500). It measures the amount of actual cash available in the financial system to chase speculative assets, distinguishing between money that is circulating and money that is locked up at the Federal Reserve.
Mechanism (What It Measures)
The script uses direct data from the FRED (Federal Reserve Economic Data) to calculate the true state of market funding:
\text{Net Liquidity} = \text{Fed Assets (WALCL)} - \text{Treasury General Account (TGA)} - \text{Reverse Repo (RRP)}
1. Fed Assets (WALCL): The total balance sheet of the Fed (The overall supply of money).
2. Treasury General Account (TGA): Funds the US Treasury collects via bond issuance. When the TGA rises, liquidity is actively drained from the banking system (A major bearish pressure).
3. Overnight Reverse Repo (RRP): Cash parked by banks and money market funds at the Fed, effectively frozen and not contributing to market activity.
How to Interpret Signals
Treat the Net Liquidity line as the market's "Fuel Gauge":
📈 BULLISH SIGNAL (Liquidity Injection): When the Net Liquidity line is rising, money is flowing back into the system, signalling a tailwind for risk assets.
📉 BEARISH SIGNAL (Liquidity Drain): When the line is falling (often due to high TGA balances), cash is being removed. This signals major friction and pressure on price action.
⚠️ DIVERGENCE WARNING: A strong signal is generated when Price (e.g., BTC) rises, but Net Liquidity falls. This macro divergence strongly suggests a major trend reversal or correction is imminent.
Important Notes
Data Source: Data is directly sourced from FRED and updates daily/weekly. This tool is best used for macro analysis and identifying high-level cycles, not short-term scalping.
Disclaimer: Use this indicator as a confirmation tool within your broader strategy. It is not a standalone trading signal.
Amiya's Nifty 50 Doji Buy Sell IndicatorDoji Candle to be identified and coloured as Yellow.
Only such Doji candle is to be coloured as yellow, that fulfils the following criteria and both conditions must be met simultaneously
1. The candle's total range (high - low) must be greater than 10 points AND less than 21.5 points.
2. The combined length of upper and lower shadows must be at least 2 times the body size. This means the body should be relatively small compared to the shadows.
The key characteristic is that the body is small relative to the total candle range, indicating indecision in the market, with the total candle size being within a specific point range (10-21.5 points) - likely designed for index trading like NIFTY or BANKNIFTY.
Long Entry alert to be given when both the below conditions are met simultaneously:
1. When LTP crosses above the high of the Doji Candle
2. RSI is > 60
Long Entry SL should be when LTP goes 2 points below the low of the Doji Candle. Draw a red dotted line at that level.
Long Entry Take Profit level should be the ( Long Entry price + Doji candle's total range (high - low) X 5). Draw a green dotted line at that level.
For Sort entry alert, to be given when both the below conditions are met simultaneously:
1. When LTP crosses below the low of the Doji Candle
2. RSI is < 40
Short Entry SL should be when LTP goes 2 points above the high of the Doji Candle. Draw a red dotted line at that level.
Long Entry Take Profit level should be the ( Short Entry price - Doji candle's total range (high - low) X 5). Draw a green dotted line at that level.
Universal Exit should be suggested at 3:25 PM.
Systemic Net Liquidity (Macro Fuel for Crypto & Stocks)This indicator tracks Systemic Net Liquidity, the single most important macro factor for determining the long-term trend of risk assets like Bitcoin (BTC) and major indices (S&P 500). It measures the amount of actual cash available in the financial system to chase speculative assets, distinguishing between money that is circulating and money that is locked up at the Federal Reserve.
Mechanism (What It Measures)
The script uses direct data from the FRED (Federal Reserve Economic Data) to calculate the true state of market funding:
\text{Net Liquidity} = \text{Fed Assets (WALCL)} - \text{Treasury General Account (TGA)} - \text{Reverse Repo (RRP)}
1. Fed Assets (WALCL): The total balance sheet of the Fed (The overall supply of money).
2. Treasury General Account (TGA): Funds the US Treasury collects via bond issuance. When the TGA rises, liquidity is actively drained from the banking system (A major bearish pressure).
3. Overnight Reverse Repo (RRP): Cash parked by banks and money market funds at the Fed, effectively frozen and not contributing to market activity.
How to Interpret Signals
Treat the Net Liquidity line as the market's "Fuel Gauge":
📈 BULLISH SIGNAL (Liquidity Injection): When the Net Liquidity line is rising, money is flowing back into the system, signalling a tailwind for risk assets.
📉 BEARISH SIGNAL (Liquidity Drain): When the line is falling (often due to high TGA balances), cash is being removed. This signals major friction and pressure on price action.
⚠️ DIVERGENCE WARNING: A strong signal is generated when Price (e.g., BTC) rises, but Net Liquidity falls. This macro divergence strongly suggests a major trend reversal or correction is imminent.
Important Notes
Data Source: Data is directly sourced from FRED and updates daily/weekly. This tool is best used for macro analysis and identifying high-level cycles, not short-term scalping.
Disclaimer: Use this indicator as a confirmation tool within your broader strategy. It is not a standalone trading signal.
Friendly IT Algo SystemFriendly IT Algo System
Hello, this is the YouTube channel 'Friendly IT'.
This indicator is an All-in-One tool designed to help beginners easily identify trends and entry points by automating complex chart analysis.
It goes beyond simple moving average crosses by analyzing Volume (Whale Activity), Divergence, and Support/Resistance to display highly reliable signals.
The most significant feature of this indicator is that it clearly displays the specific Long and Short entry prices directly on the chart. This allows traders to know exactly at what price to enter the market without confusion.
Users can freely adjust all setting values, such as EMA lengths and volume multipliers, to optimize the strategy for the specific stock or cryptocurrency they are trading.
1. Whale Volume Hunter
- Displays fluorescent candles and entry prices only when volume exceeds 1.5x the average.
- Filters out fake signals and captures genuine trends driven by institutional activity.
2. Smart Order Block
- Green Box: High probability support zone (Buy area).
- Red Box: High probability resistance zone (Sell area).
- Automatically draws boxes to help set price targets and stop-loss levels.
3. Divergence Lines
- Bullish Divergence (Green Line): Price makes a lower low, but the indicator makes a higher low (Reversal signal).
- Bearish Divergence (Red Line): Price makes a higher high, but the indicator makes a lower high (Drop signal).
- Visually connects highs and lows with lines for intuitive reading.
4. Auto Fibonacci
- Automatically plots the key reversal levels: 0.618 (Bold White Line) and 0.5.
5. Noise Filter (Sideways Market)
- Uses the ADX indicator to highlight choppy, sideways markets with a Gray Background.
- It is recommended to avoid trading during these periods to prevent losses.
1. Entry
- LONG: Consider buying when a Green Neon Candle appears with a price number at the bottom.
- SHORT: Consider selling when a Pink Neon Candle appears with a price number at the top.
2. Exit
- Take partial profits at Order Blocks (Colored Boxes).
- Take profit when price touches the White Bold Line (Fib 0.618).
- React immediately if an opposing Divergence Line appears.
3. Note
- Reliability is low during Gray Backgrounds (Sideways market); avoid entering trades.
Friendly IT Algo System
안녕하세요, 유튜브 채널 '친절한 아이티'입니다.
이 지표는 복잡한 차트 분석을 자동화하여 초보자도 쉽게 추세와 타점을 잡을 수 있도록 설계된 올인원(All-in-One) 보조지표입니다.
단순한 이동평균선 크로스가 아니라, 거래량(세력 개입), 다이버전스, 매물대를 복합적으로 분석하여 신뢰도 높은 신호만 표시합니다.
이 지표의 가장 큰 장점은 차트에 롱(Long)과 숏(Short)의 진입 가격을 숫자로 명확하게 표시해 준다는 것입니다. 덕분에 사용자는 헷갈리지 않고 정확한 가격에 진입 타점을 잡을 수 있습니다.
이동평균선(EMA) 길이를 비롯한 모든 설정값은 본인이 거래하는 주식이나 코인의 특성에 맞게 자유롭게 변경하여 최적화할 수 있습니다.
1. 세력 거래량 감지 (Whale Volume Hunter)
- 평균 거래량의 1.5배 이상이 터질 때만 형광색 캔들과 진입 가격을 표시합니다.
- 속임수 신호를 걸러내고 세력이 개입한 진짜 추세만 포착합니다.
2. 스마트 오더블락 (Smart Order Block)
- 초록색 박스: 가격이 지지받을 확률이 높은 매수 구간
- 빨간색 박스: 가격이 저항받을 확률이 높은 매도 구간
- 차트에 자동으로 박스를 그려주어 목표가 및 손절 라인 설정에 도움을 줍니다.
3. 다이버전스 라인 (Divergence Lines)
- 상승 다이버전스 (초록선): 가격은 하락했으나 지표가 상승할 때 (반등 신호)
- 하락 다이버전스 (빨간선): 가격은 상승했으나 지표가 하락할 때 (하락 신호)
- 꼬리와 꼬리를 잇는 선으로 직관적으로 표시됩니다.
4. 자동 피보나치 (Auto Fibonacci)
- 반등의 핵심 구간인 0.618(흰색 굵은 선)과 0.5 구간을 자동으로 작도합니다.
5. 횡보장 필터 (Noise Filter)
- ADX 지표를 활용해 추세가 없는 지루한 횡보장은 회색 배경으로 표시합니다.
- 이때는 매매를 쉬면서 손실을 방지할 수 있습니다.
1. 진입 (Entry)
- LONG: 초록색 형광 캔들과 함께 하단에 가격(숫자)이 뜨면 매수 고려
- SHORT: 핑크색 형광 캔들과 함께 상단에 가격(숫자)이 뜨면 매도 고려
2. 청산 (Exit)
- 오더블락(색깔 박스)에 도달했을 때 분할 익절
- 하얀색 굵은 선(피보나치 0.618)에 닿았을 때 익절
- 반대 방향의 다이버전스 선이 생기면 즉시 대응
3. 주의사항
- 회색 배경(횡보장)에서는 신뢰도가 낮으니 진입을 자제하세요.
MA Suite 10/50/150/200 + Legend (v6)ma 10 50 150 200 that i have made with chat gpt to help find moving avarage
CBS Strategy with Trailing Stop _ IK3-Candle High/Low Breakout Strategy – Clean, Powerful, Fully Customizable (Pine Script v6)
A simple yet effective momentum breakout strategy that triggers trades when price closes above the highest high or below the lowest low of the previous 3 completed candles.
Perfect for trending markets (stocks, forex, crypto, indices) on any timeframe.
Key Features:
• Pure price-action breakout logic (no repainting)
• Long & Short entries with visual triangle signals
• Built-in Stop Loss & Take Profit (fixed % or ATR-based)
• Optional Trailing Stop (percentage or ATR multiplier)
• All risk parameters fully adjustable from the settings panel
• Clean on-chart visualization of SL, TP, and active trailing stop levels
• Works on all instruments and timeframes
Default Settings (2:1 Reward/Risk):
• Stop Loss: 1.5%
• Take Profit: 3.0%
• Trailing Stop: 1.0% (optional)
How to Use:
1. Add to chart
2. Adjust risk settings to match your style (fixed % or ATR)
3. Enable/disable trailing stop as needed
4. Backtest and optimize per instrument/timeframe
Fully open-source • No external libraries • Pine Script v6
Great for swing trading, intraday breakouts, or as a base for further enhancements.
Happy trading!
Gabbie - LiquidityGabbie – Liquidity identifies high-probability liquidity pools on your current trading timeframe. It detects swing highs/lows that fail to meaningfully break prior highs/lows, marking areas where liquidity is most likely resting.
It also plots:
Asia Session High / Low as a key liquidity and mean-reversion zone
Support & Resistance zones derived from recent swing behavior on the active timeframe
This indicator is designed to support discretionary traders who model liquidity, sessions, and structure.
Settings
Adjust the font size of the liquidity labels ($$$).
All other features are optimized to work on default settings.
Limitations / reminder
Liquidity levels are probabilistic. Use alongside confirmation tools and always apply your own risk management.
Gabbie - FVG/OBGabbie – FVG-OB plots Fair Value Gaps (FVGs) and Order Blocks (OBs) to help visualize price imbalances and institutional reaction zones.
Fair Value Gaps
Bullish FVGs and Bearish FVGs are marked automatically.
The indicator also shows when an FVG is mitigated (price returns to fill the imbalance).
If price wicks into an FVG without a full body close through it, the FVG remains valid under this model.
Order Blocks / Breaker Blocks
Bullish OBs are marked in green
Bearish OBs are marked in red
Breaker Blocks are marked in yellow
Use these zones for confluence with your market structure and liquidity framework.
Settings
Choose the timeframe source for OB/BB detection.
Adjust the number of active FVGs displayed. Defaults are designed for immediate use.
Limitations / reminder
Zones are plotted from historical price action and are not trade guarantees. Always confirm with structure, liquidity, and risk rules.
3 Fib Strategy – Automatic Trend Fib Extension ConfluenceWhat This Script Does
✔ Auto-detects swing highs and lows
Using pivot detection, adjustable by the user.
✔ Builds 3 independent trend-based Fib extension projections
Measures:
Wave 1 → Wave 2 → Wave 3
Wave 2 → Wave 3 → Wave 4
Wave 3 → Wave 4 → Wave 5
✔ Calculates the exact fib levels:
1.0 (1:1 extension)
1.236 extension
1.382 extension
✔ Detects confluence zones
When all 3 fib measurement sets overlap at the same target:
Green label = 1:1 confluence
Orange label = 1.236–1.382 confluence
✔ Draws long dotted lines across the chart
So you can visually track confluence zones.
Otomatik Trend ÇizgileriOtomatik Trend Çizgileri çizen bu indikatörle zahmetsizce trendleri görebilirisiniz
Otomatik Destek ve Direnç (Pivot)Otomatik Destek ve Dirençleri gösteren bu indikatörler kolayca destek ve dirençleri görebilirsiniz.
Trader Dogout
“Trader Dogout — Official team template.
Combines EMA20, EMA200, and optimized volume for a clear read of trend, momentum, and decision zones.
Designed for traders who operate with precision, simplicity, and zero distractions.
Perfect for both day trading and swing trading.”
Multi-Asset Option Strike PricesMulti-Asset Option Strike Prices automatically plots dynamic option strike levels for multiple assets on your chart. The indicator detects the active symbol and draws strike ladders above and below the current price using customizable strike increments (FX, indices, commodities, metals, etc.).
It also rounds price to the nearest strike, giving a precise structural reference used by institutional options desks. These strike levels help traders visualize trend direction, trend boundaries, and potential turning points based on how price interacts with known option clusters.
By mapping evenly spaced strike steps, the indicator also highlights natural stop-loss and take-profit zones within a trend, allowing traders to manage risk around predictable option-driven price levels.
Supports up to 10 assets, includes custom line styling, and provides automatic strike labeling.
Prob Stats PPIBW Prob Stats PPIBW - Data-Driven Trading Decisions
Transform historical price patterns into actionable probabilities. This indicator analyzes thousands of periods to show you the real odds behind pivot hits, range
expansions, inside bars, and weekend breakouts.
What It Tracks
Pivot Hit Rates (D/W/M/Q/6M/Y)
What percentage of pivot points get touched during their period? Includes recent period comparison to spot regime changes.
Example: "Daily: 82.3% (450/547) | L30: 76.7% (23/30)"
Previous Period Levels (D/W/M)
How often does current period break previous period's high or low? Only counts actual range expansion, not equilibrium crossings. Helps gauge breakout probability.
Inside Bar Analysis (D/W/M)
When price consolidates inside previous period's range, what are the odds of a breakout? Only appears when currently in an inside bar.
Weekend Breakdown
When Sat/Sun breaks Mon-Fri range, does the following week continue? Critical for crypto traders and weekend gap analysis.
Key Features
- Recent Period Comparison: See if recent behavior differs from historical averages
- Self-Documenting: Hover over any header for instant explanations
- Color-Coded Sections: Yellow (Pivots), Orange (Prev Period), Pink (Inside Bar), Green (Weekend)
- Blue Background: Recent stats highlighted for easy identification
- Dynamic Layout: Adapts based on market conditions
- Real-Time Updates: Includes current period for live probability tracking
How To Use
1. Add to any chart (best on Daily+ for maximum historical data)
2. Hover over column headers to understand each statistic
3. Compare historical vs recent probabilities
4. Use probabilities to inform position sizing and expectations
Example: Weekly pivot shows 78% historical hit rate but only 60% in last 30 weeks. Recent regime change suggests lower probability of test.
Technical Details
- Pine Script v6
- Rolling window arrays track last 30/30/12 periods for D/W/M
- Previous Period excludes EQ crossings for accurate stats
- Works on all timeframes, optimized for Daily+
- Configurable table position
Perfect For
Traders seeking data-driven confirmation, those wanting to quantify probability vs guessing, regime change detection, and crypto traders analyzing weekend patterns.
Note: Past performance doesn't guarantee future results. Use these statistics as one input in your overall trading strategy.
FVG – (auto close + age) GR V1.0FVG – Fair Value Gaps (auto close + age counter)
Short Description
Automatically detects Fair Value Gaps (FVGs) on the current timeframe, keeps them open until price fully fills the gap or a maximum bar age is reached, and shows how many candles have passed since each FVG was created.
Full Description
This indicator automatically finds and visualizes Fair Value Gaps (FVGs) using the classic 3-candle ICT logic on any timeframe.
It works on whatever timeframe you apply it to (M1, M5, H1, H4, etc.) and adapts to the current chart.
FVG detection logic
The script uses a 3-candle pattern:
Bullish FVG
Condition:
low > high
Gap zone:
Lower boundary: high
Upper boundary: low
Bearish FVG
Condition:
high < low
Gap zone:
Lower boundary: high
Upper boundary: low
Each detected FVG is drawn as a colored box (green for bullish, red for bearish in this version, but you can adjust colors in the inputs).
Auto-close rules
An FVG remains on the chart until one of the following happens:
Full fill / mitigation
A bullish FVG closes when any candle’s low goes down to or below the lower boundary of the gap.
A bearish FVG closes when any candle’s high goes up to or above the upper boundary of the gap.
Maximum bar age reached
Each FVG has a maximum lifetime measured in candles.
When the number of candles since its creation reaches the configured maximum (default: 200 bars), the FVG is automatically removed even if it has not been fully filled.
This keeps the chart cleaner and prevents very old gaps from cluttering the view.
Age counter (labels inside the boxes)
Inside every FVG box there is a small label that:
Shows how many bars have passed since the FVG was created.
Moves together with the right edge of the box and stays vertically centered in the gap.
This makes it easy to distinguish fresh gaps from older ones and prioritize which zones you want to pay attention to.
Inputs
FVG color – Main fill color for all FVG boxes.
Show bullish FVGs – Turn bullish gaps on/off.
Show bearish FVGs – Turn bearish gaps on/off.
Max bar age – Maximum number of candles an FVG is allowed to stay on the chart before it is removed.
Usage
Works on any symbol and any timeframe.
Can be combined with your own ICT / SMC concepts, order blocks, session ranges, market structure, etc.
You can also choose to only display bullish or only bearish FVGs depending on your directional bias.
Disclaimer
This script is for educational and informational purposes only and is not financial advice. Always do your own research and use proper risk management when trading.
SMC BOS/CHoCH + Auto Fib (5m/any TF) durane//@version=6
indicator('SMC BOS/CHoCH + Auto Fib (5m/any TF)', overlay = true, max_lines_count = 200, max_labels_count = 200)
// --------- Inputs ----------
left = input.int(3, 'Pivot Left', minval = 1)
right = input.int(3, 'Pivot Right', minval = 1)
minSwingSize = input.float(0.0, 'Min swing size (price units, 0 = disabled)', step = 0.1)
fib_levels = input.string('0.0,0.236,0.382,0.5,0.618,0.786,1.0', 'Fibonacci levels (comma separated)')
show_labels = input.bool(true, 'Show BOS/CHoCH labels')
lookbackHighLow = input.int(200, 'Lookback for structure (bars)')
// Parse fib levels
strs = str.split(fib_levels, ',')
var array fibs = array.new_float()
if barstate.isfirst
for s in strs
array.push(fibs, str.tonumber(str.trim(s)))
// --------- Find pivot highs / lows ----------
pHigh = ta.pivothigh(high, left, right)
pLow = ta.pivotlow(low, left, right)
// store last confirmed swings
var float lastSwingHighPrice = na
var int lastSwingHighBar = na
var float lastSwingLowPrice = na
var int lastSwingLowBar = na
if not na(pHigh)
// check min size
if minSwingSize == 0 or pHigh - nz(lastSwingLowPrice, pHigh) >= minSwingSize
lastSwingHighPrice := pHigh
lastSwingHighBar := bar_index - right
lastSwingHighBar
if not na(pLow)
if minSwingSize == 0 or nz(lastSwingHighPrice, pLow) - pLow >= minSwingSize
lastSwingLowPrice := pLow
lastSwingLowBar := bar_index - right
lastSwingLowBar
// --------- Detect BOS & CHoCH (simple robust logic) ----------
var int lastBOSdir = 0 // 1 = bullish BOS (price broke above), -1 = bearish BOS
var int lastBOSbar = na
var float lastBOSprice = na
// Look for price closes beyond last structural swings within lookback
// Bullish BOS: close > recent swing high
condBullBOS = not na(lastSwingHighPrice) and close > lastSwingHighPrice and bar_index - lastSwingHighBar <= lookbackHighLow
// Bearish BOS: close < recent swing low
condBearBOS = not na(lastSwingLowPrice) and close < lastSwingLowPrice and bar_index - lastSwingLowBar <= lookbackHighLow
bosTriggered = false
chochTriggered = false
if condBullBOS
bosTriggered := true
if lastBOSdir != 1
// if previous BOS direction was -1, this is CHoCH (change of character)
chochTriggered := lastBOSdir == -1
chochTriggered
lastBOSdir := 1
lastBOSbar := bar_index
lastBOSprice := close
lastBOSprice
if condBearBOS
bosTriggered := true
if lastBOSdir != -1
chochTriggered := lastBOSdir == 1
chochTriggered
lastBOSdir := -1
lastBOSbar := bar_index
lastBOSprice := close
lastBOSprice
// --------- Plot labels for BOS / CHoCH ----------
if bosTriggered and show_labels
if chochTriggered
label.new(bar_index, high, text = lastBOSdir == 1 ? 'CHoCH ↑' : 'CHoCH ↓', style = label.style_label_up, color = color.new(color.orange, 0), textcolor = color.white, yloc = yloc.abovebar)
else
label.new(bar_index, high, text = lastBOSdir == 1 ? 'BOS ↑' : 'BOS ↓', style = label.style_label_left, color = lastBOSdir == 1 ? color.green : color.red, textcolor = color.white, yloc = yloc.abovebar)
// --------- Auto Fibonacci drawing ----------
var array fib_lines = array.new_line()
var array fib_labels = array.new_label()
var int lastFibId = na
// Function to clear previous fibs
f_clear() =>
if array.size(fib_lines) > 0
for i = 0 to array.size(fib_lines) - 1
line.delete(array.get(fib_lines, i))
if array.size(fib_labels) > 0
for i = 0 to array.size(fib_labels) - 1
label.delete(array.get(fib_labels, i))
array.clear(fib_lines)
array.clear(fib_labels)
// Decide anchors for fib: if lastBOSdir==1 (bullish) anchor from lastSwingLow -> lastSwingHigh
// if lastBOSdir==-1 (bearish) anchor from lastSwingHigh -> lastSwingLow
if lastBOSdir == 1 and not na(lastSwingLowPrice) and not na(lastSwingHighPrice)
// bullish fib: low -> high
startPrice = lastSwingLowPrice
endPrice = lastSwingHighPrice
// draw
f_clear()
for i = 0 to array.size(fibs) - 1 by 1
lvl = array.get(fibs, i)
priceLevel = startPrice + (endPrice - startPrice) * lvl
ln = line.new(x1 = lastSwingLowBar, y1 = priceLevel, x2 = bar_index, y2 = priceLevel, xloc = xloc.bar_index, extend = extend.right, color = color.new(color.green, 60), width = 1, style = line.style_solid)
array.push(fib_lines, ln)
lab = label.new(bar_index, priceLevel, text = str.tostring(lvl * 100, '#.0') + '%', style = label.style_label_right, color = color.new(color.green, 80), textcolor = color.white, yloc = yloc.price)
array.push(fib_labels, lab)
if lastBOSdir == -1 and not na(lastSwingHighPrice) and not na(lastSwingLowPrice)
// bearish fib: high -> low
startPrice = lastSwingHighPrice
endPrice = lastSwingLowPrice
f_clear()
for i = 0 to array.size(fibs) - 1 by 1
lvl = array.get(fibs, i)
priceLevel = startPrice + (endPrice - startPrice) * lvl
ln = line.new(x1 = lastSwingHighBar, y1 = priceLevel, x2 = bar_index, y2 = priceLevel, xloc = xloc.bar_index, extend = extend.right, color = color.new(color.red, 60), width = 1, style = line.style_solid)
array.push(fib_lines, ln)
lab = label.new(bar_index, priceLevel, text = str.tostring(lvl * 100, '#.0') + '%', style = label.style_label_right, color = color.new(color.red, 80), textcolor = color.white, yloc = yloc.price)
array.push(fib_labels, lab)
// --------- Optional: plot lastSwing points ----------
plotshape(not na(lastSwingHighPrice) ? lastSwingHighPrice : na, title = 'LastSwingHigh', location = location.absolute, style = shape.triangledown, size = size.tiny, color = color.red, offset = 0)
plotshape(not na(lastSwingLowPrice) ? lastSwingLowPrice : na, title = 'LastSwingLow', location = location.absolute, style = shape.triangleup, size = size.tiny, color = color.green, offset = 0)
// --------- Alerts ----------
alertcondition(bosTriggered and lastBOSdir == 1, title = 'Bullish BOS', message = 'Bullish BOS detected on {{ticker}} @ {{close}}')
alertcondition(bosTriggered and lastBOSdir == -1, title = 'Bearish BOS', message = 'Bearish BOS detected on {{ticker}} @ {{close}}')
alertcondition(chochTriggered, title = 'CHoCH Detected', message = 'CHoCH detected on {{ticker}} @ {{close}}')
// End
V15.0 Adaptive Chameleon [Pro]
# **V15.0 Adaptive Chameleon – Strategy Description**
**Adaptive Chameleon** is a fully automated TradingView strategy powered by a signal engine based on multi-timeframe trend analysis, adaptive moving averages, and a volatility filter. The goal is to trade in the direction of a strong and confirmed trend, avoid opening trades in weak or manipulative price zones, and establish positions with a clearly defined risk/reward ratio.
---
## **1. General Logic and Philosophy**
The strategy divides tasks between two timeframes:
* **4-Hour Chart → Trend Manager (Boss)**
Determines the direction and strength of the trend.
* **4-Minute Chart → Entry Trigger (Operating Unit)**
Generates the ideal entry signal in the direction of the trend.
Thanks to this structure, the strategy both follows the long-term main direction and finds clear entries with low lag on smaller timeframes.
---
## **2. Trend Detection (4H)**
The strategy uses **KAMA (Kaufman Adaptive Moving Average)** and **ADX** to identify trends on the higher timeframe.
### **KAMA – Adaptive Trend Line**
* The KAMA is much more "smart" than traditional moving averages.
* It accelerates during price movements and decelerates during sideways movements.
* This allows for much clearer detection of trend direction.
### **ADX – Trend Strength Meter**
The strategy only opens trades when **trend strength** is rising (above the ADX average).
This prevents unnecessary trades when the trend is weak.
### **Trend Rules**
* Price above the KAMA → **Uptrend**
* Price below the KAMA → **Downtrend**
* ADX widening → **Trend strong**
The entry trigger is activated when these three conditions are met together.
---
## **3. Entry Engine (45m)**
On the 45-minute timeframe, the system uses the following components:
### **AlphaTrend (MFI + ATR-Based Adaptive Line)**
* Measures market flow direction with MFI (Money Flow Index),
* Measures price level breakouts with ATR (Volatility).
AlphaTrend detects whether the price is likely to reverse upwards or downwards.
### **Entry Signal**
* **Buy signal:** If the AlphaTrend has reversed upwards based on recent bars
* **Sell signal:** If the AlphaTrend has broken downwards
### **Pivot Points (For Stop)**
* The **pivotLow** and **pivotHigh** levels of the last 10 bars are calculated.
* These are used to determine the most logical stop distance.
---
## **4. Protection Shields**
The strategy uses two main filters to protect against the most dangerous conditions in the crypto market:
### **1. Pump/Dump Filter**
* A candlestick length greater than 4% is considered a "pump bar."
* Never open a trade on these bars.
The goal: to avoid sudden manipulation candlesticks.
### **2. RSI Filter**
* Long trades: RSI > 45 (open long on weak momentum)
* Short trades: RSI < 55 (open short on extremely strong momentum)
These filters provide more balanced entries.
---
## **5. Final Entry Conditions**
### **All conditions are required simultaneously for long:**
1. 4H trend up
2. ADX trend strength increasing
3. 45m AlphaTrend issued a "buy" signal
4. RSI > 45
5. No candlestick pump
6. Date range is suitable
### **All conditions apply in the opposite direction for short.**
---
## **6. Exit Mechanism (Stop, TP, Trailing)**
The strategy uses a three-layer structure on the exit side:
### **1. Pivot-Based Stop**
* Stop distance = Entry price − Pivot Low (for long)
* Minimum stop distance = **1% of the price**
Provides both structural and mathematical security.
### **2. Fixed R:R (Default 1:2)**
* TP = Entry + Stop Distance × R:R
The default 2R target is ideal for trend systems.
### **3. Optional Trailing Stop**
* Dynamic trailing stop that follows the price by a certain percentage.
* Allows trend trades to yield greater profits.
---
## **7. Chart Displays**
* Purple line:** 4H WEDGE (main trend line)
* Yellow background:** Pump protection is active (trades will not be opened on that bar)
---
## **8. Practical Effect of the Strategy**
This system has an adaptive structure based on trend variations.
**Strengths:**
* Very high accuracy (76–80% in SOL and ETH tests)
* Low drawdown (approximately 6–7%)
* Safe entries thanks to pump/dump and extreme momentum filters
* Clearly defined stop and target structure
* Low noise thanks to multi-timeframe compatibility
**Weaknesses:**
* Performance may decrease in sideways markets without trends
* Overtrading may occur if the ADX filter is closed
* Very small stops can sometimes cause unnecessary triggers
---
## **9. Conclusion**
**Adaptive Chameleon** is a trend-based and highly stable strategy with well-established risk management, manipulation filtering, and entry into lower timeframes with clear trend direction detection and low-latency signals.
SOL and ETH demonstrated strong and balanced performance in backtests with metrics such as:
* **600+ trades**
* **30–37% profit**
* **76–80% win rate**
* **Low max drawdown**






















