WLI Swing High/Low advnc indicatorfor Class members
else
label.set_xy(lowMsg, bar_index, close)
label.set_text(lowMsg, "making New Low")
label.set_color(lowMsg, newSwingLowColor)
label.set_textcolor(lowMsg, color.white)
else
if not na(lowMsg)
label.delete(lowMsg)
lowMsg := na
Chart patterns
Heikin-Ashu IndicatorHarshubh strategy etuihetuiaehfguoishguiwheuiqwfhuihgwuirsguiwhfuhwesguiaeuihguisrhguiaeg
TTM Squeeze Pro Pine ScreenerThis script is extension of TTM Squeeze Pro originally published by Beardy_Fred to scan conditions of TTM Squeeze and moving averages alignment on pine screener.
Overview:
This indicator combines the classic TTM Squeeze methodology with a robust set of Exponential Moving Averages (EMAs) and advanced scanning capabilities. Designed for traders who want to monitor momentum, squeeze conditions, and trend alignments simultaneously, it provides a comprehensive toolkit for technical analysis.
Key Features:
1. **TTM Squeeze Logic**:
- Uses Bollinger Bands and Keltner Channels to identify four squeeze states: No Squeeze (Green), Low Squeeze (Black), Mid Squeeze (Red), and High Squeeze (Orange).
- Plots squeeze dots and a momentum histogram in a lower pane for easy visualization.
2. **Exponential Moving Averages (EMAs)**:
- Overlays 7 EMAs on the price chart: 8, 21, 34, 55, 89, 144, and 233.
- Trend-based coloring: Rising EMAs in bright shades (e.g., Lime, Yellow, Fuchsia), falling in darker shades (e.g., Green, Orange, Red).
3. **Scan Alerts**:
- Transition Alerts: Squeeze Started, High Squeeze Started, Squeeze Fired, High Squeeze Fired, plus individual Low/Mid/No Squeeze Fired events.
- EMA Alignment Alerts: EMA 8>21, EMA 34>55>89, and EMA 89>144>233 for spotting bullish trends.
- State Alerts: Current squeeze condition (No, Low, Mid, High).
4. **Scan Columns (Data Window)**:
- Days since last No, Low, Mid, High Squeeze, and High Squeeze Fired.
- Percentage distance from the 52-week low (% From 52wk Low).
Usage:
- **Chart**: Apply to any symbol to see squeeze states, momentum, and EMAs in action.
- **Alerts**: Set up alerts for squeeze transitions, firings, or EMA alignments to catch key moments.
- **Watchlist**: Use scan columns in a watchlist (Premium feature) to monitor multiple symbols.
- **Customization**: Adjust squeeze length and multipliers via inputs to suit your trading style.
Inputs:
- TTM Squeeze Length (default: 20)
- Bollinger Band STD Multiplier (default: 2.0)
- Keltner Channel Multipliers: High (1.0), Mid (1.5), Low (2.0)
- Alert Toggles: Price Action Squeeze, Squeeze Firing
Notes:
- Optimized for daily charts (252 bars ≈ 52 weeks), but works on any timeframe—interpret "days" as bars.
- Colors are TradingView-standard and distinct for clarity.
Enjoy trading with this all-in-one squeeze and trend tool!
50 EMA Bulls Trader Pk OfficialSimpal 50 EMA Lines to find and
follow trends easily.
Exponential Moving Average (EMA)
Stochastic RSI K-Line Alertsentry indicator on the 15min timeframe. For use only after confirmation on higher timeframe
GRID EXTENSIONGRID EXTENSION
Overview
The GRID EXTENSION is a simple grid-based indicator for TradingView, built with Pine Script v6. It plots horizontal price levels starting from a user-defined anchor price, with spacing set by a tick increment. Use it to identify key support, resistance, or price zones on charts for Crypto, Forex, or Futures.
Key Features
Custom Grid Levels: Plot up to 22 levels (e.g., 0, 0.25, 1.25, -2.50) with options to show/hide, set values, and choose colors.
Market-Specific Tick Increments: Select your asset type (Crypto, Forex, Futures) and choose from a range of tick increments tailored for each market:
Crypto: 1 to 5000 ticks (e.g., 100 ticks = $0.001 on ADA/USD, 5000 ticks = $50 on BTC/USD).
Forex: 5 to 5000 ticks (e.g., 100 ticks = 1 pip on EUR/USD, 5000 ticks = 50 pips).
Futures: 1 to 2500 ticks (e.g., 25 ticks = 6.25 points on E-mini S&P 500, $312.50 per contract).
Visual Options:
Extend lines to the right.
Show price and level labels (as values or percentages).
Place labels on the left or right.
Adjust background transparency for filled areas between levels.
How to Use
Set Asset Type: Choose "Crypto," "Forex," or "Futures" to match your chart.
Set Anchor Price: Enter a starting price for the grid.
Pick Tick Increment: Select a tick increment from the dropdown, following the guidance for your asset type (see Key Features).
Customize Levels: Turn levels on/off, set values, and pick colors.
Add to Chart: Apply the indicator to see the grid on your chart.
Tips
Use levels to mark support/resistance zones for entries or exits.
Extend lines to project future price zones.
Choose smaller increments (e.g., 5 ticks) for scalping, or larger ones (e.g., 1000 ticks) for swing trading.
Combine with indicators like moving averages for better signals.
Settings
Asset Type: Select "Crypto," "Forex," or "Futures" (default: "Crypto").
Anchor Price: Starting price for the grid (default: 0.0).
Tick Increment: Space between levels (options: 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000). Choose based on asset type.
Extend Right: Extend lines to the right (default: true).
Show Prices: Show price labels (default: true).
Show Levels: Show level values or percentages (default: true).
Format: Display levels as "Values" or "Percent" (default: "Values").
Labels Position: Place labels on "Left" or "Right" (default: "Left").
Background Transparency: Set transparency for filled areas (default: 100, range 0-100).
Level Options: Enable/disable levels, set values, and choose colors.
Notes
Set the anchor price to a key level (like a recent high or low) for best results.
Check the tick increment tooltip to ensure the spacing suits your market type.
Works on any chart, best for clear price trends or ranges.
Acknowledgments
Made with Pine Script v6 for TradingView. This is v1.0—feedback welcome for future updates!
Inverse FVG with Quadrants [Modified]# Inverse FVG with Quadrants
*Modified version of original indicator by **tradeforopp**
## Overview
This advanced Fair Value Gap (FVG) indicator identifies both regular and inverse fair value gaps with precision, displaying them in a visually intuitive quadrant-based system. The enhanced version now features automatic timeframe selection that aligns higher timeframe FVGs with your current chart period for multi-timeframe analysis.
## Key Features
### 🔹 Fair Value Gap Detection
- **Regular FVGs**: Identifies traditional bullish and bearish fair value gaps
- **Inverse FVGs**: Automatically detects and displays inverse fair value gaps when price closes through a regular FVG
- **Quadrant Display**: Shows only the relevant half of each FVG for cleaner visual analysis (upper quadrant for bullish patterns, lower quadrant for bearish)
### 🔹 Smart Timeframe Management
- **Auto Timeframe Selection**: Automatically selects the appropriate higher timeframe based on your current chart:
- 1min → 15min
- 3min → 30min
- 5min → 1h
- 15min → 4h
- 1h → Daily
- 4h → Weekly
- **Manual Override**: Optional manual timeframe selection still available
### 🔹 Visual Customization
- Adjustable colors for both regular and inverse FVGs
- Optional box extension
- Customizable display limits to prevent chart clutter
- Session filtering capabilities
### 🔹 Trading Signals
- FVGs provide potential support/resistance zones and price targets
- Inverse FVGs offer confirmation of trend continuation or reversal
- Alert conditions for new FVG creation, regular FVG, and inverse FVG events
## How to Use
1. Apply the indicator to your chart
2. Enable "Auto Timeframe Selection" for multi-timeframe analysis (recommended)
3. Adjust displacement settings to filter for more significant FVGs
4. Use regular FVGs as potential zones where price may return to fill the gap
5. Watch for inverse FVGs as confirmation signals when price breaks through regular FVGs
This refined indicator combines powerful FVG analysis with automatic timeframe alignment to provide traders with clear, actionable insights across multiple timeframes. Perfect for both intraday traders and swing traders looking for high-probability entry and exit points.
Credits to @tradeforopp for creating the original version of this indicator. This is a modified version with enhanced features while preserving the core functionality.
## Tips
- Blue boxes (FVG+) indicate bullish fair value gaps (potential support)
- Red boxes (FVG-) indicate bearish fair value gaps (potential resistance)
- When price closes through an FVG, watch for the inverse FVG as a confirmation signal
- Use the dashed centerline as a potential target within each FVG
diamondpattern.Diamond Pattern (Elmas Formasyonu) İndikatörü
Bu indikatör, fiyat hareketlerinde Elmas Formasyonu (Diamond Pattern) tespit etmek için geliştirilmiştir. Elmas formasyonu genellikle trend dönüş sinyali olarak kabul edilir ve güçlü fiyat hareketleriyle sonuçlanabilir.
Özellikler:
✅ Otomatik Algılama – Grafik üzerinde Elmas Formasyonu oluştuğunda tespit eder.
✅ Trend Dönüş Sinyalleri – Formasyon tamamlandığında olası yön değişimlerini gösterir.
✅ Uyumlu Zaman Dilimleri – Tüm zaman dilimlerinde kullanılabilir.
✅ Kullanıcı Dostu – Karmaşık ayarlara gerek kalmadan kolayca kullanılır.
Nasıl Kullanılır?
1. İndikatörü grafiğe ekleyin.
2. Elmas Formasyonu belirdiğinde takip edin.
3. Formasyonun kırılım yönüne göre işlem stratejinizi belirleyin.
Not: Formasyon tespiti tek başına alım-satım sinyali değildir. Diğer teknik analiz araçlarıyla birlikte değerlendirilmelidir.
One Time FramingMarks green arrows above candles that made or maintain one time framing up, blue circles above balance candles, and red arrows below candles that made or maintain one time framing down.
Example Scenario & Expected Behavior
Candle Action New State
1 High Break Balance (Circle)
2 High Break OTFU (Up Arrow)
3 Low Break Balance (Circle)
4 No High or Low Break (Inside Day) Still Balance
5 Low Break OTFD (Down Arrow)
6 Inside Day Still OTFD
7 Outside Day (Breaks High First) Balance (Circle)
8 Outside Day (Breaks Low First) OTFD (Down Arrow)
9 No High or Low Break (Inside Day) Still OTFD
Essa's Indicator V3Essa's Indicator V3 – Advanced Market Structure & Session Levels
A comprehensive TradingView tool designed for market structure analysis, session tracking, and trend identification. It combines session high/low plotting, adaptive exponential moving averages (EMAs), ZigZag patterns, fractals, and higher high/lower low (HH/LL) recognition. This indicator provides insights into price action, volatility, and breakout potential.
Core Features
1. Adaptive Exponential Moving Averages (EMAs)
Fast EMA (Blue Line, default: 9-period EMA) – Identifies short-term market trends.
Slow EMA (Red Line, default: 21-period EMA) – Highlights longer-term trend direction.
Volatility-Adjusted EMA Calculation – Uses ATR (Average True Range) to dynamically adjust smoothing, making the EMAs more responsive to market conditions.
EMAs can be toggled on or off in the settings.
2. Trading Session Highs and Lows
Tracks and plots the highs and lows of the three major trading sessions:
London Session (Red lines, 08:00-17:00 LDN / 03:00-12:00 NY)
New York Session (Blue lines, 12:00-21:00 LDN / 07:00-16:00 NY)
Asia Session (Yellow lines, 22:00-08:00 LDN / 18:00-03:00 NY)
Highs and lows for each session are marked, with breakouts potentially signaling key trading opportunities.
Background shading distinguishes active session times:
London Session – Light red background.
New York Session – Light blue background.
Asia Session – Light yellow background.
3. Breakout Alerts
Alerts notify traders when price crosses key session highs or lows:
Break Above Session Highs – Signals potential bullish momentum.
Break Below Session Lows – Indicates possible bearish movement.
Customizable alert settings allow users to focus on specific sessions.
4. ZigZag Market Structure Detection
Highlights significant price swings by identifying peaks and troughs.
Helps visualize trend direction and potential reversals.
Configurable ZigZag length for adjusting sensitivity to price movements.
5. Higher Highs (HH), Lower Lows (LL), Higher Lows (HL), and Lower Highs (LH) Identification
Detects and labels key market structure points:
Higher Highs (HH) and Higher Lows (HL) – Indicate an uptrend.
Lower Highs (LH) and Lower Lows (LL) – Suggest a downtrend.
Provides insights into trend continuation or possible reversals.
6. Fractal Markers
Identifies potential market turning points using fractal-based detection:
Up Fractals (Green Triangles above price) – Indicate potential upward reversals.
Down Fractals (Red Triangles below price) – Signal potential downward reversals.
Useful as a secondary confirmation tool for trade setups.
7. Custom Timezone Options
Allows switching between London (LDN) and New York (NY) timezones to align session markers with the trader’s location.
Ensures session high/low levels are accurately displayed for forex, crypto, and other markets.
Use Cases
Day traders and scalpers can track session high/low breakouts and real-time market structure shifts.
Swing traders can identify trend continuation or reversal opportunities.
Volatility-based traders benefit from adaptive EMAs that dynamically adjust to market conditions.
Price action traders can use market structure indicators to enhance entry and exit strategies.
Essa’s Indicator V3 is a multi-functional tool designed for traders who require a structured approach to technical analysis, with configurable session tracking, adaptive moving averages, and market structure insights.
Essa - Yearly High, Low & MidYearly High, Low & Midpoint Indicator
This TradingView indicator helps traders track key yearly price levels by plotting the high, low, and midpoint values for each year within a user-specified range.
Features & Functionality:
Automatic Yearly Calculation: Determines the highest and lowest price for each year and computes the midpoint as their average.
Clear & Customisable Visuals:
The Yearly High is plotted as a solid green line.
The Yearly Low appears as a solid red line.
The Midpoint is displayed as a blue dashed line for easy distinction
Detailed Labels:
Each level is labeled at the far right of the chart, showing the year, level type (High, Low, or Mid), and price (e.g., 2016 High - 1.20000).
Labels are right-aligned in white, ensuring clear visibility against any background.
This indicator is perfect for traders who rely on long-term technical analysis, providing a quick and structured way to visualise significant yearly price levels.
Title of Chart [Unitah]Title of Chart
A simple yet effective TradingView indicator designed to enhance your charting experience by displaying essential information directly on your charts.
Key Features:
✅ Customizable Title & Subtitle – Add a personalized title and subtitle to your chart. Customize text, color, size, and alignment to match your preferences.
✅ Date, Symbol & Timeframe Display – Easily view the current trading symbol, timeframe, and date directly on your chart. Customize the position, color, and text size for clear visibility.
✅ Flexible Positioning – Adjust the placement of the title, subtitle, and symbol information anywhere on the chart (top, middle, bottom, left, center, or right).
This indicator is particularly useful for traders who frequently save or share their charts, ensuring that every chart includes clear and professional-looking labels.
1-3-1 Setup DetectorThis indicator will highlight the last 1 candle on every 1-3-1 Setup. You must be on the 12HR time frame for the indicator to work. Simple to add and use. Favorite this script, go to your charts and to your indicators and go to your favorites. Add it to the chart by clicking on it and go to the 12HR time frame. If you do not have a plan on tradingview you might not be able to get the 12HR time frame since you need to have a plan to get more intervals. After all of this is done you should see a red highlight like in the picture over every last 1 on a 1-3-1 setup so that you can chart that candle and set yourself up for the trade. Thank you and let me know if you have any questions or concerns or any suggestions for this script. YOU CAN CHANGE THE COLOR OF THE HIGHLIGHT IN THE SETTINGS OF THE SCRIPT.
1-3-1 Detector with LevelsTHIS IS NOT A INDICATOR, THIS SCRIPT IS MADE PURELY FOR ALERTS. YOU WILL NOT SEE ANYTHING ON YOUR CHART. YOU WILL ADD IT TO YOUR CHART AND GET A BLACK BOX UNDER YOUR CHART BUT YOU CAN JUST HIDE IT. YOU WILL ONLY USE THE SCRIPT ON ALERTS TO DETECT 1-3-1 SETUPS ON THE 12 HR TIME FRAME. IF YOU DO NOT KNOW WHAT THE 1-3-1 SETUP IS THEN DO NOT USE THE SCRIPT. INSTRUCTIONS BELOW SHOW YOU HOW TO SETUP THE ALERT USING THIS SCRIPT. ONCE AGAIN THIS SCRIPT IS PURELY JUST AN ALERT SCRIPT FOR 1-3-1 SETUPS THAT TRIGGER EVERY TRADING DAY WHEN AFTER MARKET CLOSES. MESSAGE ME FOR ANY QUESTIONS. THIS WARNING IS MADE FOR TRADINGVIEW SO THEY DO NOT HIDE MY SCRIPT AND BAN ME FOR WHATEVER REASON.
When you apply this script to your chart you must do the following to get alerts.
1. Apply to chart
2. Make sure you are on the 12HR time frame on the stock you want to detect the setup
3. Go to alerts and make a new alert with this script and the specific stock. (it will not work with watchlist because the watchlist feature is bugged, so it has to be a specific stock)
4. On the alert UI make sure you click
Condition - 1-3-1 Levels
(under that you will click 1-3-1 setup alert)
Trigger - Once per bar close
Expiration - open ended
5. Make sure not to touch anything else, the code will automatically detect the stock its tracking.
6. Change notifications to what you prefer.
7. Enjoy, at 8pm EST if there is a valid 1 in a 1-3-1 setup it will notify you and give you the levels you need to chart.
Prism Confluence SystemPrism Confluence System: Strategy Overview
The Prism Confluence System is a multi-factor trading strategy that combines trend analysis, price action patterns, volume confirmation, and volatility management to generate high-probability signals. Below is a detailed breakdown of its components and customizable inputs:
________________________________________
Core Components
1. Trend Identification
o Dual EMA crossover system (short/long-term EMAs)
o ADX filter to confirm trending markets
2. Price Action Signals
o Engulfing patterns (bullish/bearish)
o Hammer/Inverted Hammer with trend alignment
o Fair Value Gaps (FVGs) with fill detection
3. Volume Validation
o Volume spikes relative to moving average
4. Risk Management
o ATR-based dynamic stop-loss (SL) and take-profit (TP)
o Separate thresholds for strong/weak signals
________________________________________
User-Adjustable Inputs
(Accessible via strategy settings UI)
1. Trend Identification
Parameter Default Description
Short EMA Length 20 Period for fast EMA (trend direction)
Long EMA Length 50 Period for slow EMA (trend confirmation)
ADX Trend Filter Length 14 ADX period to filter non-trending markets
Adjustment Tips:
• Increase EMA lengths for slower trend response
• Lower ADX threshold (default 20) to allow weaker trends
________________________________________
2. Support/Resistance
Parameter Default Description
Support/Resistance Length 14 Lookback for pivot highs/lows
Adjustment Tips:
• Shorter lengths = more reactive S/R levels
• Longer lengths = broader price zones
________________________________________
3. Fair Value Gaps (FVG)
Parameter Default Description
FVG Lookback 10 Bars back to check for gap formation
FVG Fill Window 5 Max bars allowed to fill a gap (hardcoded)
Adjustment Tips:
• Increase lookback for larger timeframes
• Reduce fill window for quicker gap closures
________________________________________
4. Volume Analysis
Parameter Default Description
Volume Spike Multiplier 1.5 Current volume vs MA threshold
Secondary Volume Threshold 1.2 Previous bar volume confirmation
Adjustment Tips:
• Increase multipliers for stricter volume confirmation
• Lower to 1.0-1.1 for active markets
________________________________________
5. Volatility Management
Parameter Default Description
ATR Length 14 Period for Average True Range
ATR Stop-Loss Multiplier 2 SL distance (ATR × multiplier)
ATR Take-Profit Multiplier 3 TP distance (ATR × multiplier)
Adjustment Tips:
• Increase SL multiplier for wider stops in volatile markets
• Adjust TP ratio (default 1:1.5 risk/reward)
________________________________________
6. Signal Priority
(Hardcoded but adjustable via logic)
• Strong Signals: Require FVG + Engulfing + Volume + Trend
• Weak Signals: Require Pattern + Volume + S/R Break
Customization Example:
Pinescript:
// Modify in Signal Logic section
strongBuy = (fvgBull and fvgBullFilled) and (engulfingBull or hammer) // Add more patterns
________________________________________
Visual Customization
(Non-input but code-modifiable)
1. Support/Resistance Style:
o Change plot.style_circles to plot.style_line for solid lines
2. Signal Markers:
o Adjust size.large/size.small values
o Modify RGB colors in color.new(#00FF00, 0)
________________________________________
Optimization Guidelines
1. Gold/XAU-Specific Defaults:
o Works best with 15M-4H timeframes
o Default ATR multipliers calibrated for 10-20 pip volatility
2. Equities/Forex Adaptation:
o Reduce ATR multipliers for lower volatility assets
o Increase volume thresholds for liquid markets
________________________________________
Unique Features
• Anti-Repainting S/R: Uses confirmed historical pivots
• Adaptive FVG Tracking: Gap fills expire after 5 bars
• Tiered Signals: Differentiates conviction levels via size/color
This system allows deep customization while maintaining a structured approach to balancing trend, momentum, and risk. Defaults are optimized for trending commodities but can be adapted to any market via the modular input system.
Morning & Evening Star Pattern (No Inside Candle)morning star and evening star for buying and selling by prudentfx
SMA con cambio de color y órdenesEstrategia de medias móviles pueden cambiarse datos de fichas y media. Simples. Pero. SMA con cambio de color y órdenes
Bullish & Bearish Engulfingbuying and selling signal for bullish engufing and bearish engufing by prudent fx
5 Consecutive Candle Alert Multi-TimeframeMaximize your trading strategy with our sophisticated "5 Consecutive Candle Alert Multi-Timeframe" indicator, designed for the TradingView platform using Pine Script version 6. This custom indicator is meticulously crafted to monitor five consecutive green or red candles across multiple key timeframes, including 1-minute, 5-minute, 15-minute, 1-hour, and 4-hour charts.
**Key Features:**
- **Multi-Timeframe Analysis:** Simultaneously tracks and alerts on consecutive candle patterns across five different timeframes, providing a comprehensive view of market momentum and trend consistency.
- **Custom Alerts:** Receive real-time notifications when five consecutive green or red candles close on any of the specified timeframes. These alerts are tailored to keep you abreast of significant market movements, enabling timely and informed trading decisions.
- **Easy Visualization:** Uses distinct plotting features to clearly mark the occurrence of these patterns directly on your trading chart. Green labels below the bar indicate a bullish streak, while red labels above the bar denote a bearish streak, making it visually intuitive.
- **Precision and Confirmation:** Integrates Pine Script's `barstate.isconfirmed` to ensure alerts are based on fully formed candles, adding an extra layer of precision to your trading signals.
**Ideal for Traders Who:**
- Are momentum or trend traders looking for clear signals of market continuation or potential exhaustion.
- Want to enhance their trading decisions by analyzing behavior across multiple timeframes from a single chart.
- Prefer to be alerted about significant events without the need to constantly monitor the charts.
**How to Use:**
Simply add this script to your TradingView chart, customize the alert settings in the TradingView UI according to your preferences, and start receiving alerts that help you capitalize on market movements efficiently and effectively.
Leverage the power of advanced scripting to make your trading as proactive and responsive as possible. Try out our "5 Consecutive Candle Alert Multi-Timeframe" indicator today and experience a significant improvement in your trading approach!
Breakout of 8:30 AM High/Lowhere is the script Wyell.
Breakout strategy of the 930 opening bell. high win rate and testing the data deeper
NeoWave cash data by MikhepoolThe NeoWave Chart: indicator is a technical analysis tool designed to visualize significant price movements by drawing dynamic lines between key highs and lows on the chart. Using a user-defined resolution, the indicator identifies new bars and connects the highest high and lowest low within each segment, updating the lines in real-time as new data becomes available. All lines are rendered in black, providing a clean and consistent visual representation of price action without color-coded directional bias. This tool is particularly useful for traders and analysts employing NeoWave theory or similar methodologies, as it helps identify structural patterns and trends in the market.
Cash Data (NeoWave)NeoWave: Cash Data: @MikhePool channel
The NeoWave Chart - cash data: indicator is a technical analysis tool designed to visualize significant price movements by drawing dynamic lines between key highs and lows on the chart. Using a user-defined resolution, the indicator identifies new bars and connects the highest high and lowest low within each segment, updating the lines in real-time as new data becomes available. All lines are rendered in black, providing a clean and consistent visual representation of price action without color-coded directional bias. This tool is particularly useful for traders and analysts employing NeoWave theory or similar methodologies, as it helps identify structural patterns and trends in the market.
Swing High/Swing LowSwing High/Swing Low shows levels where market recently turned up, producing a new swing low (red dots) or turned down, leaving a new swing high (green dots).
This indicator finds market turns based on at least 3 candles.
To detect a swing low , this indicator is looking for two candles with lower highs and lower lows. Then, if the third or any subsequent candle closes above the high of the first candle, market has turned up producing a swing low.
Similarly, to detect a swing high , the indicator is looking for two candles with higher highs and higher lows. Then, if the third or any subsequent candle closes below the low of the first candle, market has turned down producing a swing high.
Additionally, if there are inside candles after first candle, those are skipped and and overall pattern is analyzed without them.