Double Fractal Entry📘 Double Fractal Entry – Original Structure-Based Entry System 
Double Fractal Entry is a proprietary indicator that uses dynamic fractal structure to generate actionable buy/sell signals, with automatic Stop-Loss and Take-Profit placement. Unlike classic fractal tools or ZigZag-based visuals, this script constructs real-time structural channels from price extremes and offers precise entry points based on breakout or rejection behavior.
It is designed for traders who want a clear, structured approach to trading price action — without repainting, lagging indicators, or built-in oscillators.
 🧠 Core Logic 
This script combines three custom-built modules:
 1. Fractal Detection and Channel Construction 
 - Fractals are detected using a configurable number of left/right bars (sensitivity).
 - Confirmed upper/lower fractals are connected into two continuous channels.
 - These channels represent real-time structure zones that evolve with price.
 2. Entry Signal Logic 
You can choose between two signal types:
 - Breakout Mode – Triggers when price breaks above the upper fractal structure (for buys) or below the lower one (for sells).
 - Rebound Mode – Triggers when price approaches a fractal channel and then rejects it (forms a reversal setup).
Each signal includes:
 - Entry arrow on the chart
 - Horizontal entry line
 - Stop-Loss and Take-Profit lines
 3. SL/TP Calculation 
Unlike tools that use ATR or fixed values, SL and TP are dynamically set using the fractal range — the distance between the most recent upper and lower fractals. This makes the risk model adaptive to market volatility and structure.
 📊 Visuals on the Chart 
 - 🔺 Green/Red triangle markers = confirmed fractals
 - 📈 Lime/Red channel lines = evolving upper/lower structure
 - 🔵 Blue arrow = signal direction (buy/sell)
 - 📉 SL/TP lines = dynamically drawn based on fractal spacing
 - 🔁 Signal history = optional, toggleable for backtesting
 ⚙️ Settings and Customization 
 - Fractal sensitivity (bars left/right)
 - Entry mode: Breakout or Rebound
 - SL and TP multiplier (based on fractal range)
 - Visibility settings (signal history, lines, colors, etc.)
 💡 What Makes It Unique 
This is not just a variation of standard fractals or a ZigZag wrapper.
Double Fractal Entry was built entirely from scratch and includes:
 - ✅ A dual-channel system that shows the live market structure
 - ✅ Entry signals based on price behavior around key zones
 - ✅ Volatility-adaptive SL/TP levels for realistic trade management
 - ✅ Clean, non-repainting logic for both manual and automated use
The goal is to simplify structure trading and provide precise, repeatable entries in any market condition.
 🧪 Use Cases 
 - Breakout mode – Ideal for trend continuation and momentum entries
 - Rebound mode – Great for reversals, pullbacks, and range-bound markets
 - Can be used standalone or combined with volume/trend filters
 🔒 Invite-Only Notice 
This is an invite-only script with a fully closed source.
All logic is original and developed by the author. It does not use or copy public open-source scripts, built-in indicators (RSI, MA, etc.), or repainting tricks. The entire entry and risk system is based on custom structural logic built from real-time price action.
 ⚠️ Disclaimer 
This tool is intended for technical analysis and educational use. It does not predict future market direction and should be used with proper risk management and strategy confirmation.
比爾威廉指標
Smart Volatility Squeeze + Trend Filter📌 Purpose
This indicator detects volatility squeeze conditions when Bollinger Bands contract inside Keltner Channels and signals potential breakout opportunities.
It also includes an optional EMA-based trend filter to align signals with the dominant market direction.
🧠 How It Works
1. Squeeze Condition
Bollinger Bands (BB): Length = 20, StdDev = 2.0 (default)
Keltner Channels (KC): EMA Length = 20, ATR Multiplier = 1.5 (default)
Squeeze ON: Occurs when BB Upper < KC Upper and BB Lower > KC Lower (low volatility zone).
2. Breakout Signals
Long Breakout: Price crosses above BB Upper after squeeze.
Short Breakout: Price crosses below BB Lower after squeeze.
3. Trend Filter (optional)
EMA(50) used to confirm breakout direction:
Long signals allowed only if price > EMA(50)
Short signals allowed only if price < EMA(50)
Toggle Use Trend Filter to enable/disable.
4. Visual & Alerts
Green circle at chart bottom indicates Squeeze ON.
Green/Red triangles mark breakouts.
Background gradually brightens during squeeze buildup.
Alerts available for long and short breakouts.
📈 How to Use
Look for Squeeze ON → then wait for breakout arrows.
Trade in breakout direction, preferably with trend filter ON.
Works best on higher timeframes (1h, 4h, D) and trending markets.
Markets: Crypto, Forex, Stocks — effective in volatile assets.
⚙️ Inputs
BB Length / StdDev
KC EMA Length / ATR Multiplier
Use Trend Filter
Trend EMA Length
⚠️ Disclaimer
This script is for educational purposes only. It does not constitute financial advice.
Always test thoroughly before live trading.
BB + RSI Strategy Optimized✅ Pine Script Version 5 
✅ Complete Strategy: Long + Short 
✅ Automatic Entry and Exit 
✅ Visual Signals: Buy/Sell, Short/Cover 
✅ Trailing Take Profit 
✅ Progressive 
BB + RSI Strategy Optimizedbb+rsi+optimazed verry  god estrategy
 Complete strategy: long + short
Visual signals: buy, sell, resistance rejection, and confirmed support breakout
 Automatic entry and exit of trades (long and short)
William's Accelerator Oscillator (AC) - Log-ScaledA 5-34-5 MACD histogram, aka William's Accelerator Oscillator, scaled to log-price.
Useful for seeing the change in the speed of the momentum, particularly within the log-scaled AO. Works better than the original (non log) AC for long-term and volatile price action which exhibits logarithmic growth trends.
William's Awesome Oscillator (AO) - Log-scaledA 5-34-5 MACD plotted as a histogram, aka William's Awesome Oscillator (AO), scaled to log price.
Useful for finding momentum divergences in volatile and long-term price charts which show logarithmic trends. As you can see compared to the original (not log) AO indicator, it follows the momentum on the log-scaled price chart much more closely.
30M Scalping Strategy with Debug LogsWhat’s changed
Spot‑only: all short logic removed—only long entries and exits are generated.
Logging: uses log.info() to send entry/exit details (timestamp, price, ATR, RSI) to the Pine Logs console.
Clean & concise: core scalp logic (EMAs, RSI, MACD, volume, ATR SL/TP) remains intact.
RSI + VWAP Strategy by vipindaskr🔍 This script combines RSI and VWAP for intraday trend-based entries.
✅ *Buy Signal:*
- Price above VWAP
- RSI > 60
- Green background + up triangle shown
❌ *Sell Signal:*
- Price below VWAP
- RSI < 40
- Red background + down triangle shown
📈 Ideal for Nifty 50 intraday traders using 5-minute chart.
Developed by vipindaskr 💻
Improved Weinstein Stage AnalysisThe code provides an actionable, disciplined, and visually informative implementation of the “Stage Analysis” approach pioneered by Stan Weinstein, with enhancements to modernize, automate, and clarify the methodology for today’s traders using TradingView. It faithfully follows the workflow recommended: identify long-term cycles, confirm with volume and relative strength, and only engage aggressively with the market during the advancing (bullish) stage with all “clues” aligned.
Gator Trader FX ScannerThe Gator Trader FX Scanner is designed to identify high-probability reversals by combining the Relative Strength Index (RSI) with Bill Williams Divergent Candles.
How It Works:
The scanner continuously scans multiple assets and timeframes for overbought and oversold RSI conditions. It then filters for divergent candles that signal potential shifts in momentum.
Color-Coded Signals:
Dark Green: RSI > 70 (Overbought) — potential for a pullback.
Dark Red: RSI < 30 (Oversold) — watch for possible bounce.
Bright Green: RSI > 70 plus a bearish divergent bar — strong reversal alert to the downside.
Bright Red: RSI < 30 plus a bullish divergent bar — strong reversal alert to the upside.
Bollinger + Supertrend Hybrid Pro (Auto-Backtest)This strategy tell you when to huy and sell it is bollinger and supertrend 
Williams FractalsBoaBias Fractals High & Lows is an indicator based on Bill Williams' fractals that helps identify key support and resistance levels on the chart. It displays horizontal lines at fractal highs (red) and lows (green), which extend to the current bar. Lines automatically disappear if the price breaks through them, leaving only the relevant levels. Additionally, the indicator shows the price values of active fractals on the price scale for convenient monitoring.
Key Features:
Customizable Fractals: Choose between 3-bar or 5-bar fractals (default: 3-bar).
Period: Adjust the number of periods for calculation 
Visualization: Red lines for highs (resistance), green for lows (support). Lines are fixed on the chart and persist during scrolling or scaling changes.
Alert System: Notifications for the formation of a new fractal high/low and for level breaks (Fractal High Formed, Fractal Low Formed, Fractal High Broken, Fractal Low Broken).
How to Use:
Add the indicator to the chart.
Configure parameters: select the fractal type (3 or 5 bars) and period.
Set up alerts in TradingView to receive notifications about new fractals or breaks.
Use the lines as levels for entry/exit positions, stop-losses, or take-profits in fractal-based strategies.
Troubleshooting: If Levels Are Not Fixed on the Chart
If the levels (fractal lines) do not stay fixed on the chart and fail to move with it during scrolling or scaling (e.g., they remain stationary while the chart shifts), this is typically due to the indicator's scale settings in TradingView. The indicator may be set to "No scale," causing the lines to desynchronize from the chart's price scale.
What to Do:
Locate the Indicator Label: On the chart, find the indicator label in the top-left corner of the pane (or where "BoaBias Fractals High & Lows" is displayed).
Right-Click the Label: Click the right mouse button on this label.
Adjust the Scale:
In the context menu, look for the "Scale" or "Pin to scale" option.
If it shows "Pin to scale (now no scale)" or similar, select "Pin to right scale" (or "Pin to left scale," depending on your chart's main price scale—usually the right).
Refresh the Chart: After changing the setting, refresh the chart (press F5 or reload the page), or toggle the indicator off and on again to apply the changes.
After this, the lines should move and scale with the chart during scrolling (horizontal or vertical) or zooming. If the issue persists, check:
TradingView Limits: The indicator may draw too many lines (maximum ~500 per script). If there are many historical fractals, older lines might not display.
Chart Settings: Ensure the chart is not in logarithmic scale (if applicable) or that auto-scaling is enabled.
Indicator Version: Verify you are using the latest script version (Pine Script v6) and check for errors in the TradingView console.
This indicator is ideal for traders working with Bill Williams' chaos theory or those seeking dynamic support/resistance levels. It is based on standard fractals but with enhancements for convenience: automatic removal of broken levels and integration with the price scale.
Note: The indicator does not provide trading signals on its own — use it in combination with other tools. Test on historical data before real trading.
Code written in Pine Script v6. Original template: Mit Nayi.
Fair Value Gap [Custom]📌 FVG Indicator – Smart Money Concepts Tool
This script is based on Smart Money Concepts (SMC) and automatically detects and marks Fair Value Gaps (FVG) on the chart, helping traders identify unbalanced price areas left behind by institutional moves.
🧠 What is an FVG?
An FVG (Fair Value Gap) is the price gap formed when the market moves rapidly, leaving behind a candle range where no trading occurred — typically between Candle 1’s high and Candle 3’s low (in a three-candle pattern). These gaps often signal imbalance, created during structural breaks or liquidity grabs, and may act as retrace zones or entry points.
🛠 Features:
✅ Automatically detects and highlights FVG zones (high-low range)
✅ Differentiates between open (unfilled) and closed (filled) FVGs
✅ Adjustable timeframe settings (works best on 1H–4H charts)
✅ Option to toggle display of filled FVGs
✅ Great for identifying pullback entries, continuation zones, or reversal setups
💡 Recommended Use:
After BOS/CHoCH, watch for price to return to the FVG for entry
Combine with Order Blocks and liquidity zones for higher accuracy
Best used as part of an ICT or SMC-based trading system
KST Strategy [Skyrexio]Overview 
KST Strategy   leverages Know Sure Thing (KST) indicator in conjunction with the Williams Alligator and Moving average to obtain the high probability setups. KST is used for for having the high probability to enter in the direction of a current trend when momentum is rising, Alligator is used as a short term trend filter, while Moving average approximates the long term trend and allows trades only in its direction. Also strategy has the additional optional filter on Choppiness Index which does not allow trades if market is choppy, above the user-specified threshold. Strategy has the user specified take profit and stop-loss numbers, but multiplied by Average True Range (ATR) value on the moment when trade is open. The strategy opens only long trades.
 Unique Features 
 
 ATR based stop-loss and take profit.  Instead of fixed take profit and stop-loss percentage strategy utilizes user chosen numbers multiplied by ATR for its calculation.
 Configurable Trading Periods.  Users can tailor the strategy to specific market windows, adapting to different market conditions.
 Optional Choppiness Index filter.  Strategy allows to choose if it will use the filter trades with Choppiness Index and set up its threshold.
 
 Methodology 
The strategy opens long trade when the following price met the conditions:
 
 Close price is above the Alligator's jaw line
 Close price is above the filtering Moving average
 KST line of Know Sure Thing indicator shall cross over its signal line (details in justification of methodology)
 If the Choppiness Index filter is enabled its value shall be less than user defined threshold
 
When the long trade is executed algorithm defines the stop-loss level as the low minus user defined number, multiplied by ATR at the trade open candle. Also it defines take profit with close price plus user defined number, multiplied by ATR at the trade open candle. While trade is in progress, if high price on any candle above the calculated take profit level or low price is below the calculated stop loss level, trade is closed.
 Strategy settings 
In the inputs window user can setup the following strategy settings:
 
 ATR Stop Loss  (by default = 1.5, number of ATRs to calculate stop-loss level)
 ATR Take Profit  (by default = 3.5, number of ATRs to calculate take profit level)
 Filter MA Type  (by default = Least Squares MA, type of moving average which is used for filter MA)
 Filter MA Length  (by default = 200, length for filter MA calculation)
 Enable Choppiness Index Filter  (by default = true, setting to choose the optional filtering using Choppiness index)
 Choppiness Index Threshold  (by default = 50, Choppiness Index threshold, its value shall be below it to allow trades execution)
 Choppiness Index Length  (by default = 14, length used in Choppiness index calculation)
 KST ROC Length #1  (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
 KST ROC Length #2  (by default = 15, value used in KST indicator calculation, more information in Justification of Methodology)
 KST ROC Length #3  (by default = 20, value used in KST indicator calculation, more information in Justification of Methodology)
 KST ROC Length #4  (by default = 30, value used in KST indicator calculation, more information in Justification of Methodology)
 KST SMA Length #1  (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
 KST SMA Length #2  (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
 KST SMA Length #3  (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
 KST SMA Length #4  (by default = 15, value used in KST indicator calculation, more information in Justification of Methodology)
 KST Signal Line Length  (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
 
User can choose the optimal parameters during backtesting on certain price chart.
 Justification of Methodology 
Before understanding why this particular combination of indicator has been chosen let's briefly explain what is KST, Williams Alligator, Moving Average, ATR and Choppiness Index.
The KST (Know Sure Thing) is a momentum oscillator developed by Martin Pring. It combines multiple Rate of Change (ROC) values, smoothed over different timeframes, to identify trend direction and momentum strength. First of all, what is ROC? ROC (Rate of Change) is a momentum indicator that measures the percentage change in price between the current price and the price a set number of periods ago.
 ROC = 100 * (Current Price - Price N Periods Ago) / Price N Periods Ago 
In our case N is the KST ROC Length inputs from settings, here we will calculate 4 different ROCs to obtain KST value:
 KST = ROC1_smooth × 1 + ROC2_smooth × 2 + ROC3_smooth × 3 + ROC4_smooth × 4 
 ROC1 = ROC(close, KST ROC Length #1), smoothed by KST SMA Length #1,
ROC2 = ROC(close, KST ROC Length #2), smoothed by KST SMA Length #2,
ROC3 = ROC(close, KST ROC Length #3), smoothed by KST SMA Length #3,
ROC4 = ROC(close, KST ROC Length #4), smoothed by KST SMA Length #4 
Also for this indicator the signal line is calculated:
 Signal = SMA(KST, KST Signal Line Length) 
When the KST line rises, it indicates increasing momentum and suggests that an upward trend may be developing. Conversely, when the KST line declines, it reflects weakening momentum and a potential downward trend. A crossover of the KST line above its signal line is considered a buy signal, while a crossover below the signal line is viewed as a sell signal. If the KST stays above zero, it indicates overall bullish momentum; if it remains below zero, it points to bearish momentum. The KST indicator smooths momentum across multiple timeframes, helping to reduce noise and provide clearer signals for medium- to long-term trends.
Next, let’s discuss the short-term trend filter, which combines the Williams Alligator and Williams Fractals. Williams Alligator
Developed by Bill Williams, the Alligator is a technical indicator that identifies trends and potential market reversals. It consists of three smoothed moving averages:
 
 Jaw (Blue Line):  The slowest of the three, based on a 13-period smoothed moving average shifted 8 bars ahead.
 Teeth (Red Line):  The medium-speed line, derived from an 8-period smoothed moving average shifted 5 bars forward.
 Lips (Green Line):  The fastest line, calculated using a 5-period smoothed moving average shifted 3 bars forward.
 
When the lines diverge and align in order, the "Alligator" is "awake," signaling a strong trend. When the lines overlap or intertwine, the "Alligator" is "asleep," indicating a range-bound or sideways market. This indicator helps traders determine when to enter or avoid trades.
The next indicator is Moving Average. It has a lot of different types which can be chosen to filter trades and the Least Squares MA is used by default settings. Let's briefly explain what is it.
The Least Squares Moving Average (LSMA) — also known as Linear Regression Moving Average — is a trend-following indicator that uses the least squares method to fit a straight line to the price data over a given period, then plots the value of that line at the most recent point. It draws the best-fitting straight line through the past N prices (using linear regression), and then takes the endpoint of that line as the value of the moving average for that bar. The LSMA aims to reduce lag and highlight the current trend more accurately than traditional moving averages like SMA or EMA.
Key Features:
 
 It reacts faster to price changes than most moving averages.
 It is smoother and less noisy than short-term EMAs.
 It can be used to identify trend direction, momentum, and potential reversal points.
 
ATR (Average True Range) is a volatility indicator that measures how much an asset typically moves during a given period. It was introduced by J. Welles Wilder and is widely used to assess market volatility, not direction.
To calculate it first of all we need to get True Range (TR), this is the greatest value among:
 
 High - Low
 abs(High - Previous Close)
 abs(Low - Previous Close)
 
 ATR = MA(TR, n) , where n is number of periods for moving average, in our case equals 14.
ATR shows how much an asset moves on average per candle/bar. A higher ATR means more volatility; a lower ATR means a calmer market.
The Choppiness Index is a technical indicator that quantifies whether the market is trending or choppy (sideways). It doesn't indicate trend direction — only the strength or weakness of a trend. Higher Choppiness Index usually approximates the sideways market, while its low value tells us that there is a high probability of a trend.
 Choppiness Index = 100 × log10(ΣATR(n) / (MaxHigh(n) - MinLow(n))) / log10(n) 
where:
 
 ΣATR(n)  = sum of the Average True Range over n periods
 MaxHigh(n)  = highest high over n periods
 MinLow(n)  = lowest low over n periods
 log10  = base-10 logarithm
 
Now let's understand how these indicators work in conjunction and why they were chosen for this strategy. KST indicator approximates current momentum, when it is rising and KST line crosses over the signal line there is high probability that short term trend is reversing to the upside and strategy allows to take part in this potential move. Alligator's jaw (blue) line is used as an approximation of a short term trend, taking trades only above it we want to avoid trading against trend to increase probability that long trade is going to be winning.
Almost the same for Moving Average, but it approximates the long term trend, this is just the additional filter. If we trade in the direction of the long term trend we increase probability that higher risk to reward trade will hit the take profit. Choppiness index is the optional filter, but if it turned on it is used for approximating if now market is in sideways or in trend. On the range bounded market the potential moves are restricted. We want to decrease probability opening trades in such condition avoiding trades if this index is above threshold value.
When trade is open script sets the stop loss and take profit targets. ATR approximates the current volatility, so we can make a decision when to exit a trade based on current market condition, it can increase the probability that strategy will avoid the excessive stop loss hits, but anyway user can setup how many ATRs to use as a stop loss and take profit target. As was said in the Methodology stop loss level is obtained by subtracting number of ATRs from trade opening candle low, while take profit by adding to this candle's close.
 Backtest Results 
 
 Operating window:  Date range of backtests is 2023.01.01 - 2025.05.01. It is chosen to let the strategy to close all opened positions.
 Commission and Slippage:  Includes a standard Binance commission of 0.1% and accounts for possible slippage over 5 ticks.
 Initial capital:  10000 USDT
 Percent of capital used in every trade:  60%
 Maximum Single Position Loss:  -5.53%
 Maximum Single Profit:  +8.35%
 Net Profit:  +5175.20 USDT (+51.75%)
 Total Trades:  120 (56.67% win rate)
 Profit Factor:  1.747
 Maximum Accumulated Loss:  1039.89 USDT (-9.1%)
 Average Profit per Trade:  43.13 USDT (+0.6%)
 Average Trade Duration:  27 hours
 
These results are obtained with realistic parameters representing trading conditions observed at major exchanges such as Binance and with realistic trading portfolio usage parameters.
 How to Use 
Add the script to favorites for easy access.
Apply to the desired timeframe and chart (optimal performance observed on 1h BTC/USDT).
Configure settings using the dropdown choice list in the built-in menu.
Set up alerts to automate strategy positions through web hook with the text: {{strategy.order.alert_message}}
 Disclaimer: 
Educational and informational tool reflecting Skyrexio commitment to informed trading. Past performance does not guarantee future results. Test strategies in a simulated environment before live implementation.
Williams VIX For Bottoms [DCD]Williams VIX Original - Authentic Volatility Fear Gauge 
 What This Indicator Does 
The Williams VIX Fix measures market fear by calculating how far current lows deviate from recent highs, identifying potential market bottoms during high volatility periods. This implementation provides Larry Williams' original formula in its purest form.
 How It Works 
Core Formula:
 VIX Fix = ((Highest High over 22 periods - Current Low) / Highest High over 22 periods) × 100 
 The calculation process: 
 
 Measures Relative Distance: Compares current low to highest high over lookback period
 Converts to Percentage: Normalizes values for cross-market comparison
 Applies Statistical Analysis: Uses Bollinger Bands (2 std dev) around VIX Fix values
 Filters with Percentiles: 85th percentile threshold removes noise
 
 Signal Generation 
Green Flash Signals trigger when either condition is met:
 
 VIX Fix exceeds upper Bollinger Band (2 standard deviations above 20-period MA)
 VIX Fix exceeds Range High (85th percentile of recent values)
 
This dual-condition approach reduces false signals while capturing genuine volatility spikes.
 What Makes This Original 
 
 Pure Formula Implementation: Uses Williams' exact original calculation without modifications
 Dual Confirmation System: Combines Bollinger Bands with percentile analysis
 Professional Visualization: Histogram display, background highlighting, and live value table
 Comprehensive Alerts: Signal start/end notifications plus Green Flash alerts
 
 How to Use 
Primary Purpose: Spot high-probability reversal zones during market fear climaxes
Signal Interpretation:
 
 Green triangle + background highlight = High volatility reversal zone
 Higher VIX Fix values = Stronger fear/better reversal potential
 Use with price action confirmation for best results
 
Optimal Settings:
 
 Timeframes: 4H, Daily, Weekly
 Markets: All (stocks, crypto, forex, commodities)
 Combine with support levels and candlestick patterns
 
Key Parameters:
 
 VIX Fix Length (22): Lookback period for highest high
 Std Dev Multiplier (2.0): Bollinger Band sensitivity
 Percentile High (0.85): Only top 15% of readings trigger signals
 
The VIX Fix excels at identifying market fear climaxes that coincide with significant price bottoms, making it valuable for swing traders seeking high-probability entries during market stress.
Stephis Supply & Demand Zones v3
📉 Support
Definition: Support is a price level where a downtrend can be expected to pause or reverse due to a concentration of buying interest.
Why it matters: When the price of an asset falls to a support level, traders expect buyers to step in, preventing the price from falling further.
Visual clue: On a chart, support often appears as a horizontal line where the price has bounced up multiple times.
📈 Demand
Definition: Demand refers to the willingness and ability of buyers to purchase an asset at a given price.
In trading context: High demand typically pushes prices up, while low demand can lead to price drops.
Relation to support: A support level exists because of demand—buyers are willing to buy at that price, creating a floor.
🧠 How They Work Together
When price approaches a support level, traders watch to see if demand increases—if it does, the price may bounce.
If the support level is broken, it may signal that demand has weakened, and the price could fall further.
🔁 Opposite Concept: Resistance & Supply
Resistance is the opposite of support—it's a level where selling pressure (supply) may stop a price from rising.
Just like demand creates support, supply creates resistance.
Zigzag Simple [SCL]🟩  OVERVIEW 
Draws zigzag lines from pivot Highs to pivot Lows. You can choose between three different ways of calculating pivots:
 • True Highs and Lows
 • Williams pivots
 • Oscillator pivots 
🟩  HOW TO USE 
This indicator can be used to understand market structure, which is arguably the primary thing you need to be aware of when trading. The zigzag by itself does not display a market structure bias, nor any information about prices of pivots, HH and HL labels, or anything like that. Nevertheless, a simple zigzag is perhaps the easiest and most intuitive way to understand what price is doing.
Choose a pivot style that you like, customise the colours and line style, and enjoy!
🟩  PIVOT TYPES EXPLAINED 
 True Highs and Lows 
This is not an invention of mine (all credit to my humble mentor), but I haven't seen anyone else code them up. A true High is a close below the low of the candle with the highest high. A true Low is a close above the high of a candle with the lowest low. These are solid, price action-based pivots that can sometimes confirm quickly.
  Williams pivots 
This is how most people calculate pivots. They're simply the highest high for x bars back and x bars forwards. They're the vanilla of pivots IMO: serviceable but not very interesting. They're very convenient to code because there are built-in Pine functions for them:  ta.pivothigh  and  ta.pivotlow . They confirm a predictable number of bars after they happen, which is great for coding but also makes the trader wait for confirmation.
 Oscillator pivots 
This is a completely different concept, which uses momentum in order to define pivots. For example, when you get a rise in momentum and momentum then drops a configurable amount, it confirms a pivot high, and vice versa for a pivot low. I don't know if anyone else does it –- although some indicators do mark pivots in momentum itself, and plenty do divergences, I wasn't able to find one that specifically marked *pivots in price* because of pivots in momentum 🤷♂️
Anyway, while this approach needs a whole investigation on its own, here we simply plot some pivots in a smoothed RSI. This indicator doesn't plot the actual momentum values -- for a more visual understanding of how this works, refer to the examples in the  OscillatorPivots  library.
🟩  UNIQUE ADVANTAGES 
In contrast to other zigzag indicators available, this one lets you choose between the standard and some more unique methods of generating the zigzags. Additionally, because it's based on libraries, it is relatively easy for programmers to use as a basis for experimentation.
🟩  GEEK STUFF 
Although there is considerable practical use for pivot-based zigzags in trading, this script is primarily a demonstration in coding -- specifically the power of libraries!
Most of the script consists of setup, especially defining inputs. The final section sacrifices some readability for conciseness, simply to emphasise  how little code you need when the heavy lifting is done by libraries . 
The actual calculations and drawing are achieved in just 8 lines.
The equivalent code in the libraries is ~250 lines long.
All libraries used are my own, public and open-source:
 •  MarketStructure 
 •  DrawZigZag 
 •  OscillatorPivots
Simple Fractals with Wick Filter & BOSThis advanced fractal indicator combines traditional Williams Fractal analysis with sophisticated wick filtering and Break of Structure (BOS) detection to identify high-probability reversal points and structural breaks in price action.
🔍 How It Works
Fractal Detection: Uses the classic Williams Fractal methodology to identify swing highs and lows. A fractal high occurs when a candle's high is greater than N periods before and after it. Similarly, a fractal low occurs when a candle's low is lower than N periods on both sides.
Wick Filtering: Only displays fractals where the rejection wick meets a minimum threshold, ensuring the fractal represents genuine price rejection rather than minor fluctuations.
Break of Structure (BOS): Monitors when strong candles close beyond previous fractal levels within a specified lookback period, indicating potential trend changes or continuation patterns.
⚙️ Parameter Guide
 
 Periods (Default: 7) - Controls fractal sensitivity
 Wick Threshold (Default: 0.4 / 40%) - Minimum wick size relative to total candle range
 BOS Lookback Bars (Default: 90) - How far back to monitor fractal levels for potential breaks
 Strong Candle Body % (Default: 0.5 / 50%) - Minimum body size required to trigger BOS, Higher values reduce false signals but may miss some valid breaks
 
📊 Visual Elements
 
 Colored Dots: Small circles mark validated fractals
 Top Wick Fractals: Customizable color (default red) above bars
 Bottom Wick Fractals: Customizable color (default green) below bars
 BOS Lines: Dotted horizontal lines connecting fractal origin to break point
 Green Lines: Bullish BOS (price closes above fractal high)
 Red Lines: Bearish BOS (price closes below fractal low)
 Faded Fractals (Optional): Shows all fractals that didn't meet wick requirements for comparison
 
🔔 Alerts
The indicator includes built-in alerts for:
 
 High fractal formation with sufficient wick
 Low fractal formation with sufficient wick
Liquidity-Quant Execution Score (LQES)Liquidity-Quant Execution Score (LQES)
Precision execution insights made simple — your go-to score for market clarity.
What you see:
A dynamic line score plotted clearly below your chart that reflects the market’s execution strength.
Color-coded threshold bands —
The upper red band signals zones where caution is advised (potential bearish conditions).
The lower green band marks areas of potential bullish strength.
A shaded purple zone between the bands that highlights “normal” or neutral conditions.
Features:
Designed to give you a clear sense of market execution dynamics without complex numbers.
Adjustable input parameters allow you to tailor the sensitivity and timeframe to your strategy.
Includes fixed alert conditions to notify you when the score crosses key zones — so you never miss important signals.
How to use it:
Watch for the score crossing above the upper red line — this could hint at increasing market pressure to the downside.
When the score drops below the lower green line, it may suggest bullish momentum picking up.
Use the middle purple zone to identify calm or balanced periods — ideal for preparation or cautious trading.
Why traders rely on LQES:
This indicator translates complex market execution data into one straightforward, visually intuitive score — making it easier to spot shifts in liquidity and price action that matter most for smart entries and exits.
No need to second guess. Just watch the score, respect the zones, and integrate it smoothly with your trading plan.






















