2013-2025 Moon Phases & Mercury RetrogradesIndicator Description: 2013-2025 Moon Phases & Mercury Retrogrades
This Pine Script (version 5) indicator overlays key astrological events on a TradingView chart, specifically tracking full moons, new moons, and Mercury retrograde periods from 2013 to 2025. It is designed to help traders and astrology enthusiasts visualize these celestial events alongside price action, potentially identifying correlations or patterns.
Features:
New Moons:
Visualization: Plotted as small white circles above the price bars.
Data: Includes 156 specific new moon dates from January 11, 2013, to December 20, 2025.
Purpose: Marks the start of the lunar cycle, often associated with new beginnings or shifts in energy.
Full Moons:
Visualization: Plotted as small orange circles above the price bars.
Data: Includes 157 specific full moon dates from January 27, 2013, to December 15, 2025.
Purpose: Highlights the peak of the lunar cycle, often linked to heightened emotions or market volatility in astrological analysis.
Mercury Retrogrades:
Visualization: Displayed as a light red background highlight across the chart.
Data: Covers 39 Mercury retrograde periods, with precise start and end timestamps from February 23, 2013, to November 29, 2025.
Purpose: Indicates periods traditionally associated with communication issues, delays, or reversals, which some traders monitor for potential market impacts.
Technical Details:
Overlay: The indicator is set to overlay=true, meaning it displays directly on the price chart rather than in a separate pane.
Date Matching: Uses a helper function is_date(y, m, d) to check if the current chart date matches any of the predefined event dates, leveraging TradingView's year, month, and dayofmonth variables.
Visualization Methods:
plotshape: Used for new moons (white circles) and full moons (orange circles), positioned above bars for clear visibility.
bgcolor: Used for Mercury retrograde periods, applying a semi-transparent red highlight (transparency level 85) to the background during active retrograde periods.
Time Range: Spans from January 2013 to December 2025, providing a comprehensive 13-year view of these astrological events.
Usage:
Add the script to your TradingView chart to see new moons, full moons, and Mercury retrograde periods overlaid on your chosen symbol and timeframe.
The white and orange circles appear on specific dates, while the red background highlights extend across the duration of each Mercury retrograde period.
Useful for traders incorporating astrology into their analysis or anyone interested in tracking these celestial events alongside financial data.
Notes:
The script assumes accurate date data as provided; users should verify dates against astronomical sources if precision is critical.
The transparency of the Mercury retrograde background can be adjusted by modifying the value in color.new(color.red, 85) (0 = fully opaque, 100 = fully transparent).
Best viewed on daily or higher timeframes for clarity, though it works on any timeframe supported by TradingView.
This indicator provides a visual tool to explore the potential influence of lunar phases and Mercury retrograde periods on market behavior, blending astrology with technical analysis in a clear, customizable format.
نماذج فنيه
Multi-Timeframe S/R & Breakout Projection1) What This Script Does
Collects S/R levels from the 15-minute and 1-hour timeframes, using each timeframe’s pivot detection.
Sorts those pivot-based levels by their distance from the current price, so you see the nearest levels first.
Draws up to a user-defined number of those levels as horizontal rays on the current chart.
Checks breakouts at the nearest S/R line (the one with the smallest distance from price):
Real Breakout: price breaks above a level and sustains above it for the specified number of bars.
False Breakout: price breaks above but quickly closes back below within the specified lookback.
On confirmation of a real or false breakout, that S/R line changes color to green if price is going higher, or red if price is going lower.
Displays a small table in the corner with:
Daily Trend: bullish or bearish, using an SMA on a 30-minute timeframe.
Sentiment: bullish or bearish, using RSI on the same 30-minute timeframe.
2) How It Works
Multi-Timeframe Pivot Detection
The script uses request.security() to fetch pivot highs/lows from two higher timeframes (15m and 60m).
It collects up to a user-specified number of these pivots (numRecent) from each TF.
Sorting & Plotting S/R Lines
Once pivot values are gathered, the script calculates their “distance” from current price.
It sorts them so that the S/R lines drawn on your chart are the nearest ones first.
Each line is drawn with a color and style you can customize:
srRayColor sets the overall color (e.g. yellow).
srRayStyleOptions can be Solid, Dashed, or Dotted.
Breakout Determination
After drawing the lines, the script looks at the nearest line and applies two specialized checks (f_isFalseBreakout & f_isRealBreakout):
A real breakout occurs if price closes above (or below) and remains on that side for breakLook bars.
A false breakout occurs if price closes above (or below) but quickly returns.
When a breakout is confirmed, that nearest line changes color to:
Green if price is ultimately going up,
Red if price is going down.
Daily Trend & Sentiment Table
A small table in the bottom-right corner shows:
Daily Trend: uses a 30-minute SMA to see if your price is above/below on that timeframe.
Sentiment: uses the RSI (also on 30m). A value over 50 suggests bullish sentiment; under 50 suggests bearish.
3) How to Use It
Timeframes & Pivots
Choose how many pivots (numRecent) from each TF to fetch (up to 10 total). A higher number means you’ll see more historical S/R lines.
Customize pivotLeft & pivotRight for how “wide” the pivot detection is.
Line Customization
In the script’s Inputs tab, you’ll find:
S/R Rays Color – sets the hue of the lines.
S/R Line Style – pick from Solid, Dashed, or Dotted.
Liquidity Lines Color – color for the smaller pivot lines from your chart timeframe’s pivot detection.
Breakout Lookback
breakLook determines how many bars must confirm or refute the breakout. Adjust it based on how conservative or aggressive you want the breakout detection.
Check the Table
In the bottom-right, watch the script’s “Daily Trend” & “Sentiment”. This can be a quick filter for trades:
“Bullish” daily trend with a bullish sentiment is often more favorable for long trades.
Conversely, “Bearish” daily trend & sentiment can confirm short ideas.
Scenarios
If you see a “Real Breakout” label near the line, the script recolors that line green or red, indicating a possible continuous move.
A “False Breakout” label suggests the price has quickly retraced.
4) Originality & Concepts
Multi-Timeframe Approach: Many S/R indicators fetch only local pivot lines; here, we explicitly gather pivot points from two separate TFs (15m & 60m) and project them onto your lower timeframe chart.
Distance-Based Sorting ensures you only see the nearest lines on the chart, preventing clutter from excessive lines.
Breakout Logic used is straightforward but effective: it checks if price truly holds beyond a level (real breakout) or fails to hold (false breakout).
Line Recoloring provides immediate visual feedback on the success or failure of the breakout.
5) Chart Usage
Plot this script on a relatively low timeframe chart (like the 1m, 5m, or 15m) to see the higher timeframe S/R lines.
Select how many S/R lines you want to show, choose the line style, set your pivot detection parameters, then watch for breakouts.
Tips:
Start with fewer lines (maxLevels=3 or 5) so the chart remains clear.
You can experiment with a small breakLook if you want more immediate breakout signals, or a higher breakLook if you need stronger confirmation.
Enjoy using the “Multi-Timeframe S/R & Breakout Projection” script! It simplifies the manual process of spotting higher timeframe pivot lines and helps you quickly assess potential breakouts or fakes on your intraday charts, all while giving you a snapshot of the higher timeframe’s trend and sentiment.
D3m4h GIFVGDescription
D3m4h GIFVG is an indicator designed to automatically detect market imbalances—often referred to as FVGs (Fair Value Gaps)—and potential pivot-based shifts in market structure. It offers a dynamic approach to visualizing supply/demand inefficiencies and pivot-based trend changes. Key features include:
1. Pivot-Based Bullish/Bearish Detection
The indicator identifies higher-high/lower-low pivot logic as well as “outside bar” pivots.
It tracks when the market transitions from bullish to bearish ranges, or vice versa, by using multiple checks:
Pivot low/high detection
Break-of-structure (when price crosses the last pivot)
Opposing FVG detection to confirm an intraday pivot shift
2. FVG (Fair Value Gap) Detection
The script automatically scans for bullish or bearish FVG conditions:
Bullish FVG: Candle at position (bar_index - 2) has a high below the current candle’s low.
Bearish FVG: Candle at position (bar_index - 2) has a low above the current candle’s high.
When it detects an FVG, it draws a box on the chart to highlight the price gap (yellow boxes by default).
3. Pivot Range FVG
If an FVG forms while the market is in a bullish pivot range, the script can paint a special “blue” FVG to underscore its significance. The same logic applies if a newly formed FVG appears in a bearish pivot range.
4. Filled Gap Cleanup
You can optionally hide standard FVG boxes once they’re filled. For example, if the candle’s body (or candle range) covers that gap, the box is removed to keep your chart clean.
5. Pivot-Range FVG “Raided” Cleanup
If the pivot-based FVG is later filled from the opposing direction, it turns green and can optionally remove itself after a set number of bars.
6. Informative Table
A small table on the chart optionally displays whether or not the pivot-based FVG has been “raided”. You can toggle this table on/off in the settings.
How It Works
1. Pivot Shifts
The script tracks the last pivot high/low using a combination of candle-based pivot detection and break-of-structure checks (when price crosses the last pivot in the opposite direction).
When a shift is detected, the pivot range ID increments—this helps the script know when to remove old pivot-based FVGs or draw new ones.
2. FVG Formation
Each new bar checks if a bullish or bearish FVG formed (comparing the high of bar two bars ago to the current low, or the low of bar two bars ago to the current high).
If one is found, a box is drawn to highlight the imbalance. Its color and extension depend on script settings.
3. Imbalance or Pivot FVG
Standard imbalance boxes appear in yellow.
If the new imbalance coincides with a bullish or bearish pivot range, a special “pivot imbalance” box in blue is drawn.
3. Hide Filled
If a newly formed candle’s body fully covers the FVG, the box is considered filled. If Hide Filled Gaps is enabled, the box is deleted once it’s covered.
4. Raid Status
For the pivot-based (blue) FVG, once price invalidates it from the opposite side, it changes color to green and gets removed after a user-defined number of bars.
How to Use
1. Look for FVGs
Observe yellow boxes to identify potential intraday imbalances. Watch for price returning to fill these zones.
If you see a “blue” box, it signifies a pivot-based FVG in line with a recognized shift in structure—arguably a higher-probability zone.
2. “Hide Filled Gaps”
Turn this on if you only want to see currently active or partially filled imbalances. The script cleans up old, fully covered boxes to keep your chart neat.
3. Pivot Shifts
Note the script’s internal pivot logic. Each new pivot re-defines bullish or bearish states. Use these states to gauge the short-term trend shifts.
4. Toggle the Table
You can show or hide the chart table by enabling/disabling “Show Table” from the inputs. This table indicates if the pivot-based “GIFVG” has been “raided” or not.
5. Extend Count
Adjust the extendCount in the code if you want FVG boxes to extend further or shorter in time.
Underlying Concepts
Fair Value Gaps
Market inefficiencies that occur when price jumps, leaving a “gap” from the candle 2 bars ago to the current candle. They can act like mini supply/demand zones where price may revisit for balance.
Pivot Ranges
The script tries to maintain an internal sense of whether the market is in a bullish or bearish pivot range. When it sees a contrary FVG or break-of-structure, it flips the pivot state.
Outside Bars
A candle that has both a higher high and a lower low than the previous bar. The script uses these to mark significant pivot shifts.
By combining pivot-based logic with FVG detection, the D3m4h GIFVG indicator helps highlight potential areas of liquidity or unfilled value. Traders can use these zones to plan entries/exits or to confirm short-term trend shifts.
GALFER {GALFER} SMCGentryIntroducing Our TradingView Indicator
This leading indicator is designed to automatically mark major swing points in any market of your choice—forex, crypto, indices, or commodities.
✅ It adapts to your strategy and is ideal for:
Day Trading
Swing Trading
Scalping (even on second-based timeframes)
📌 Important Note:
The true value of this tool depends on your understanding of forex basics and price action. With the right knowledge, you'll be ready to trade with precision and confidence.
🎯 Whether you're a beginner or an experienced trader, this indicator is your edge in identifying key market turning points—before they happen.
Multi-timeframe Trend & Momentum DashboardMulti-Timeframe Trend & Momentum Dashboard
This indicator is a comprehensive multi-timeframe analysis tool designed for traders who want to quickly assess market trends and momentum across several timeframes. It combines trend detection with duration tracking and displays key information in an easy-to-read on-chart table. Key features include:
Multi-Timeframe Analysis:
Analyzes nine different timeframes (from 1-minute up to 1-week) simultaneously, helping you gauge the overall market trend at a glance.
Trend Detection & Duration:
Uses a combination of a short-term EMA and a long-term SMA to determine whether the market is bullish, bearish, or neutral. It also tracks how long the current trend has persisted in terms of consecutive bars and displays this duration next to each timeframe.
RSI Display & Visual Alerts:
Calculates the RSI for each timeframe. RSI values are color-coded—green when above 50 (indicating bullish momentum) and red when below 50 (indicating bearish conditions). Additionally, if the market is bearish on a particular timeframe while the RSI is above 50, the RSI cell flashes yellow to alert you of a potential trend reversal or divergence.
On-Chart Trend Start Markers:
When a new trend is detected on your current chart’s timeframe, the indicator automatically marks the bar with a label showing the new trend direction, providing a clear visual cue for trend changes.
This powerful tool is perfect for traders looking to combine multi-timeframe trend analysis with momentum indicators, enabling a more informed and dynamic trading strategy. Whether you’re a day trader or swing trader, the Multi-Timeframe Trend & Momentum Dashboard brings clarity to market conditions across multiple time horizons.
GoldenPocket & CRT IndicatorWith this script, you will be able to see Golden Pocket Fibonacci Levels and Candle Range Theory Highs, Lows and EQs.
You can set lookback bar numbers to define Fibonacci highs and lows.
You can set CRT High Time-frame.
Simple and effective script. Please let me know if you have any comments and support me if you like it.
QT/TD.Den Quarterly Theory QT//Quarterly Theory/OPTD
These Quarters represent:
A - Accumulation (required for a cycle to occur)
M - Manipulation
D - Distribution
X - Reversal/Continuation
The latter are going to always be in this specific sequence; however the cycle can be transposed to have its beginning in X, trivially followed by A, M, and finally D.
This feature is not automatic and at the subjective discretion of the Analyst.
Note: this theory has been developed on Futures, hence its validity and reliability may change depending on the market Time.
This tool does provide a dynamic and auto-adapting aspect to different market types and Times, however they must be seen as experimental.
> Quarterly Cycles
The Quarterly Cycles currently supported are: Yearly, Monthly, Weekly, Daily, 90 Minute, Micro Sessions.
– Yearly Cycle:
Analogously to financial quarters, the year is divided in four sections of three months each
Q1 - January, February, March
Q2 - April, May, June (True Open, April Open)
Q3 - July, August, September
Q4 - October, November, December
JW Momentum IndicatorJW Momentum Indicator
This indicator provides clear and actionable buy/sell signals based on a combination of volume-enhanced momentum, divergence detection, and volatility adjustment. It's designed to identify potential trend reversals and momentum shifts with a focus on high-probability setups.
Key Features:
Volume-Enhanced Momentum: The indicator calculates a custom oscillator that combines momentum with volume, giving more weight to momentum when volume is significant. This helps to identify strong momentum moves.
Divergence Detection: It detects bullish and bearish divergences using pivot highs and lows, highlighting potential trend reversals.
Volatility-Adjusted Signals: The indicator adjusts signal sensitivity based on the Average True Range (ATR), making it more reliable in varying market conditions.
Clear Visuals: Buy and sell signals are clearly indicated with up and down triangles, while divergences are highlighted with distinct labels.
How to Use:
Buy Signals: Look for green up triangles or bullish divergence labels.
Sell Signals: Look for red down triangles or bearish divergence labels.
Oscillator and Thresholds: Use the plotted oscillator and thresholds to confirm signal strength.
Parameters:
Momentum Period: Adjusts the length of the momentum calculation.
Volume Average Period: Adjusts the length of the volume average calculation.
Volatility Period: Adjusts the length of the ATR calculation.
Volatility Multiplier: Adjusts the sensitivity of the volatility-adjusted signals.
Disclaimer:
This indicator is for informational purposes only and should not be considered financial advice. Always conduct 1 thorough research and use appropriate risk management techniques when trading.
LUX CLARA - EMA + VWAP (No ATR Filter) - v6EMA STRAT SHOUT OUTOUTLIERSSSSS
Overview:
an intraday strategy built around two core principles:
Trend Confirmation using the 50 EMA (Exponential Moving Average) in relation to the VWAP (Volume-Weighted Average Price).
Entry Signals triggered by the 8 EMA crossing the 50 EMA in the direction of that confirmed trend.
Key Logic:
Bullish Trend if the 50 EMA is above VWAP. Only long entries are allowed when the 8 EMA crosses above the 50 EMA during that bullish phase.
Bearish Trend if the 50 EMA is below VWAP. Only short entries are allowed when the 8 EMA crosses below the 50 EMA during that bearish phase.
Intraday Focus: Trades are restricted to a user-defined session window (default 7:30 AM–11:30 AM), aligning entries/exits with peak intraday liquidity.
Exit Rule: Positions close automatically when the 8 EMA crosses back in the opposite direction of the entry.
Why It Works:
EMA + VWAP helps detect both immediate momentum (EMAs) and overall institutional bias (VWAP).
By confining trades to a set intraday window, the strategy aims to capture morning volatility while avoiding choppy afternoon or overnight sessions.
Customization:
Users can adjust EMA lengths, session times, or incorporate stops/targets for additional risk management.
It can be tested on various symbols and intraday timeframes to gauge performance and robustness.
Smart Money Breakout & Order Block StrategySmart Money Breakout & Order Block Strategy
Created by Shubham
This strategy was developed by Shubham, designed to provide traders with a structured approach to smart money trading by combining breakout entries and order block reversals. It focuses on liquidity zones, volatility filters, and ATR-based stop management to adapt to different market conditions.
🔹 Strategy Overview
The Smart Money Breakout & Order Block Strategy is built for traders who want to identify institutional moves while avoiding false breakouts. This non-repainting strategy helps traders detect:
✅ Momentum Breakouts – Price breaking key support & resistance levels.
✅ Order Block Reversals – Institutional buying & selling zones.
✅ Dynamic Stop Management – No fixed SL/TP; uses ATR-based trailing stops.
✅ Volatility Filtering – Avoids choppy market conditions.
🔹 Trading Logic
1️⃣ Breakout Trading (Momentum Entries)
Long Entry: When price breaks above resistance with high volatility.
Short Entry: When price breaks below support with high volatility.
2️⃣ Order Block Reversals (Liquidity Entries)
Bullish Order Block: A strong price rejection after consecutive bearish candles signals smart money accumulation, triggering a long trade.
Bearish Order Block: A strong price rejection after consecutive bullish candles signals smart money distribution, triggering a short trade.
3️⃣ Volatility Filter (False Signal Prevention)
Uses normalized volatility to ensure breakouts are backed by strong momentum.
Helps filter out low-volume, choppy market conditions.
4️⃣ ATR-Based Position Management (Dynamic Stops & Trailing Stop)
No fixed SL/TP → Uses ATR-based stop-loss to adapt to market volatility.
Implements a trailing stop for maximizing potential profits in trending markets.
🔹 Key Features
✔️ Developed by Shubham – Designed for precision trading with institutional techniques.
✔️ Smart Money Concept – Identifies liquidity zones, breakouts, and order blocks.
✔️ Volatility Filter – Prevents false breakouts by analyzing market momentum.
✔️ ATR-Based Dynamic Stops – No fixed SL/TP, making it more adaptive.
✔️ Trailing Stop Functionality – Allows profits to run while reducing risk.
✔️ Fully Automated Execution – Uses TradingView’s strategy functions for automatic trade placement and exits.
✔️ Commission-Adjusted Backtesting – Includes realistic commission settings to ensure accurate results.
📊 Backtesting & Realistic Expectations
✅ Best for Higher Timeframes (1H, 4H, Daily) – Avoids market noise.
✅ Most Effective in Trending & Volatile Markets – Crypto, forex, indices, and commodities.
✅ Performance Varies with Market Conditions – Works best in strong trends.
✅ No Unrealistic Promises – Strategy performance is dependent on market behavior and risk management.
📌 IMPORTANT DISCLAIMER:
This strategy is provided for educational purposes only and should not be considered financial advice. Past performance in backtesting does not guarantee future results. Users should conduct their own research before applying this strategy in live markets.
🚀 Developed by Shubham – Test it yourself and see how it performs! 🚀
TrendSync Pro (SMC)📊 TrendSync Pro (SMC) – Advanced Trend-Following Strategy with HTF Alignment
Created by Shubham Singh
🔍 Strategy Overview
TrendSync Pro (SMC) is a precision-based smart trend-following strategy inspired by Smart Money Concepts (SMC). It combines: Real-time pivot-based trendline detection
Higher Time Frame (HTF) filtering to align trades with dominant trend
Risk management via adjustable Stop Loss (SL) and Take Profit (TP)
Directional control — trade only bullish, bearish, or both setups
Realistic backtesting using commissions and slippage
Pre-optimized profiles for scalpers, intraday, swing, and long-term traders
🧠 How It Works:
🔧 Strategy Settings Image:
beeimg.com
The strategy dynamically identifies trend direction by using swing high/low pivots. When a new pivot forms: It draws a trendline from the last significant pivot
Detects whether the trend is up (based on pivot lows) or down (based on pivot highs)
Waits for price to break above/below the trendline
Confirms with HTF price direction (HTF close > previous HTF close = bullish)
Only then it triggers a long or short trade
It exits either at TP, SL, or a manual trendline break
🛠️ Adjustable Parameters:
Trend Period: Length for pivot detection (affects sensitivity of trendlines)
HTF Timeframe: Aligns lower timeframe entries with higher timeframe direction
SL% and TP%: Customize your risk-reward profile
Commission & Slippage: Make backtests more realistic
Trade Direction: Choose to trade: Long only, Short only, or Both
🎛️ Trade Direction Control:
In settings, you can choose: Bullish Only: Executes only long entries
Bearish Only: Executes only short entries
Both: Executes both long and short entries when conditions are met
This allows you to align trades with your own market bias or external analysis.
📈 Entry Logic: Long Entry:
• Price crosses above trendline
• HTF is bullish (HTF close > previous close)
• Latest pivot is a low (trend is considered up)
Short Entry:
• Price crosses below trendline
• HTF is bearish (HTF close < previous close)
• Latest pivot is a high (trend is considered down)
📉 Exit Logic: Hit Take Profit or Stop Loss
Manual trendline invalidation: If price crosses opposite of the trend direction
⏰ Best Timeframes & Recommended Settings:
Scalping (1m to 5m):
HTF = 15m | Trend Period = 7
SL = 0.5% | TP = 1% to 2%
Intraday (15m to 30m):
HTF = 1H | Trend Period = 10–14
SL = 0.75% | TP = 2% to 3%
6 Hour Trading (30m to 1H):
HTF = 4H | Trend Period = 20
SL = 1% | TP = 4% to 6%
Swing Trading (4H to 1D):
HTF = 1D | Trend Period = 35
SL = 2% | TP = 8% to 12%
Long-Term Investing (1D+):
HTF = 1W | Trend Period = 50
SL = 3% | TP = 15%+
Note: These are recommended base settings. Adjust based on volatility, asset class, or personal trading style.
📸 Testing Note:
beeimg.com
TradingView limits test length to 20k bars (~40 trades on smaller timeframes). To show long-term results: Test on higher timeframes (e.g., 1H, 4H, 1D)
Share images of backtest result in description
Host longer test result screenshots on Imgur or any public drive
📍 Asset Behavior Insight:
This strategy works on multiple assets, including BTC, ETH, etc.
Performance varies by trend strength:
Sometimes BTC performs better than ETH
Other times ETH gives better results
That’s normal as both assets follow different volatility and trend behavior
It’s a trend-following setup. Longer and clearer the trend → better the results.
✅ Best Practices: Avoid ranging markets
Use proper SL/TP for each timeframe
Use directional filter if you already have a directional bias
Always forward test before going live
⚠️ Trading Disclaimer:
This script is for educational and backtesting purposes only. Trading involves risk. Always use risk management and never invest more than you can afford to lose.
EMI, RSI, Pivot based technical IndicatorsMulti-Indicator Trading Toolkit for Comprehensive Market Analysis
This Pine Script-based trading tool integrates multiple technical indicators to provide traders with a holistic view of market trends, volatility, and key price levels. Designed for flexibility, the script allows users to customize settings to match their trading strategy.
Key Features & Functionalities
1. Exponential Moving Averages (EMA)
Plots four configurable EMAs (default: 9, 21, 50, and 200) to identify trend direction and potential support/resistance zones.
2. Relative Strength Index (RSI)
Calculates RSI (default length: 14) to highlight overbought (70) and oversold (30) market conditions.
Customizable thresholds allow traders to adapt the RSI to different market conditions.
3. Pivot Points with Support & Resistance Levels
Computes pivot levels based on the previous day’s high, low, and close.
Includes dynamic support (S1-S5) and resistance (R1-R5) levels to assist in trade decision-making.
4. Volume-Weighted Average Price (VWAP)
Tracks the average price weighted by volume over a session, helping traders determine fair value zones.
5. Opening Range Breakout (ORB)
Identifies potential breakout opportunities based on the highest and lowest price within a user-defined opening range (5m, 15m, or 30m, etc.).
Highlights these levels to assist in trade entries and exits.
6. Multi-Timeframe RSI Analysis
Retrieves and displays RSI values from multiple timeframes (e.g., 1m, 5m, 15m, 1H, 1D).
Helps traders analyze RSI trends across different timeframes in a single view.
7. Volatility Index (VIX) Tracking
Monitors VIX data to gauge market volatility.
Displays daily percentage change and short-term variations (15 min, 1 hour), aiding in risk assessment.
8. Dynamic Table Display
Organizes key data (RSI values, VIX levels, and volatility changes) in customizable tables for an easy-to-read format.
Users can modify table position, colors, and display settings for personalized analysis.
9. Advanced Plotting for Visual Clarity
Clearly plots EMA, RSI, pivot levels, ORB levels, VWAP, and VIX movements on the chart.
Uses distinct colors and styles to enhance readability.
10. Customizable Inputs for Personalized Analysis
Provides a user-friendly input panel to modify settings, including EMA periods, RSI thresholds, ORB duration, table position, and plotting preferences.
Enables traders to tailor the script to their preferred trading style.
🧠 How the Indicators Work Together (Strategy Logic)
This script is not just a visual dashboard of common indicators — it’s a cohesive trading assistant designed to help traders make data-driven decisions through multi-layered confluence logic:
1. Trend Confirmation using EMAs:
The combination of 9/21/50/200 EMAs filters trades based on overall trend strength.
For example, long trades are considered only when the 21 EMA is above the 50 EMA and price is above the 9 EMA, confirming bullish momentum.
2. Momentum Alignment via Multi-Timeframe RSI:
Traditional RSI can give early or false signals. This script fetches RSI values from multiple timeframes (1m, 5m, 15m, 1H, 1D) to identify consistent strength or weakness across market structures.
3. Only when RSI is oversold/overbought across multiple timeframes does the signal become valid — reducing noise.
Breakout Confirmation with ORB + VWAP:
The script detects opening range breakouts (ORB) and filters them using VWAP and EMA zones to confirm whether breakouts are supported by volume and trend.
For instance, a long breakout above the ORB high is validated only when price is also above VWAP and EMAs align.
4. Volatility Context with VIX:
Incorporates VIX changes (live, 15m, 1h) to assess whether market conditions favor breakouts or consolidation.
If VIX is rising sharply, the script highlights caution zones — useful for adjusting position size or avoiding false breakouts.
5. Dynamic Signal Filtering:
Instead of triggering alerts directly, this script displays aligned conditions visually in a dynamic table.
Traders can see at a glance whether all confluence layers are in agreement, helping reduce over trading and enhance timing.
🌟 What Makes This Script Unique
✅ Strategic Integration of trend, momentum, volatility, and range-breakout concepts — not just plotted indicators.
✅ Multi-timeframe RSI logic presented in a table — letting traders spot alignment across timeframes without switching charts.
✅ Built-in volatility filter (VIX) for risk context, a feature rarely combined with ORB and trend indicators in a single script.
✅ Adaptive to all timeframes and instruments, especially useful for high-beta indices like Bank Nifty or Nasdaq.
✅ User-friendly customization, allowing traders to tailor everything from ORB window size to table position and indicator settings.
This all-in-one trading toolkit is designed for traders seeking a structured, data-driven approach to technical analysis. Whether you’re a short-term trader or a long-term investor, this script offers the flexibility and insight needed to navigate the markets effectively.
CISD [TradeWithRon]The CISD (Change in State of Delivery) indicator helps traders identify significant price action events by tracking liquidity sweeps and CISD events. It highlights key market structure shifts by marking liquidity levels and failed breakouts, offering insights into potential reversals and breakout confirmations.
Features:
CISD Detection: Identifies high and low CISD events with customizable display settings.
Customizable Display: Users can control how many CISD lines and liquidity lines are shown.
Customization:
- Adjust the number of CISD and liquidity lines displayed.
- Modify the swing length and back-checking period for greater flexibility.
- Choose different colors and line styles to match your charting preferences.
Use Cases:
- Spot traps and reversals.
- Identify breakout confirmations.
- Enhance market structure analysis.
- Combine with other technical indicators for improved decision-making.
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (Tradewithron) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future
Engulfing Candle Indicator with Single AlertEngulfing Candle Indicator with Alerts
This custom Pine Script indicator identifies Bullish and Bearish Engulfing Candles on the price chart, which are key reversal patterns. A Bullish Engulfing occurs when a smaller bearish candle is completely engulfed by a subsequent bullish candle, signaling a potential upward trend. Conversely, a Bearish Engulfing happens when a bullish candle is engulfed by a following bearish candle, indicating a possible downward trend.
The indicator highlights these patterns on the chart with green arrows for Bullish Engulfing and red arrows for Bearish Engulfing. It also includes an alert system that notifies the user whenever either of these patterns occurs.
The script uses an Average True Range (ATR) filter to ensure that the engulfing candles have sufficient size relative to market volatility. Additionally, users can adjust the minimum engulfing size to fine-tune the signal.
Dynamic Zone Risk Manager [Algo Seeker]Introduction
The Algo Seeker: Dynamic Zone Risk Manager excels in both ranging and trending market conditions. It merges two critical trading components: a zone identification system that allows traders to anticipate price movement within structured ranges and a dynamic risk assessment table that optimizes position sizing based on account parameters and zone-specific characteristics, while also calculating trade-specific risk and reward.
For traders struggling with consistent risk management and identifying high-probability zones, particularly in challenging ranging market conditions, this tool provides a structured framework that enhances precision in trading decisions and capital allocation — addressing two of the most common challenges in trading.
🟠 Unique Features & Trading Benefits
Advanced Zone Structuring:
🟢 The indicator adapts to different trading styles through Scalp, Swing, and Investor modes. Scalp mode generates tight, precise zones optimized for intraday price movements and quick trades completed within minutes or hours. Swing mode creates intermediate zones calibrated for positions held for the entire day or a few weeks, providing optimal zone structures for medium-term trading approaches. Investor mode establishes broader zones designed specifically for positions spanning a few weeks to a few months, identifying major support and resistance levels for extended holding periods.
🟢 These zones are particularly useful during ranging markets. They define clear price ranges within which movement may oscillate based on the selected trading horizon. Such clarity helps traders anticipate potential bounce areas and manage trades more effectively, even when the market lacks a clear directional trend.
🟢 The system transforms static price levels into comprehensive trading zones with clearly defined boundaries. The multi-dimensional architecture creates actionable entry, exit, and management levels that remain relevant across different market conditions.
Unique Risk Management:
🟢 A dynamic risk table that calculates position sizing based on the trader's actual account size. When traders select Scalp, Swing, or Investor mode, the table automatically computes the optimal capital allocation specifically for that mode and the current zone.
🟢 The table provides exact dollar amounts for both risk and potential reward based on current price position within the zone. If price is already moving through a zone, the table dynamically updates to show how much of the potential reward remains available.
🟢 This precise risk management system gives traders a clear, quantified understanding of exactly how much capital to allocate per trade, the specific dollar amount at risk, and the remaining profit potential—all updating in real-time as price moves through the zones.
Dynamic Cost Basis Analysis:
🟢 Continuously calculates optimal midpoints within each zone, creating additional precision pivot points that traditional tools can lack. These dynamic reference points enhance trade accuracy in ranging markets while providing essential data points for the integrated risk management calculations.
🟠 The Power of Integration: Zones Meet Risk Management
The true power of the Algo Seeker: Dynamic Zone Risk Manager emerges when these components work together as a unified system. The trader-selected strategy zones and dynamic risk table create a complete trading ecosystem that addresses the three critical elements of successful trading:
1. Precision Entry Points: Zone boundaries provide clear entry thresholds optimized for your selected trading mode (Scalp, Swing, or Investor), eliminating guesswork around optimal trade initiation points.
2. Disciplined Risk Control: The risk table's exact dollar calculations remove emotional decision-making from position sizing and stop placement, creating a consistent risk approach regardless of market volatility.
3. Strategic Exit Management: As price moves through zones, both visual cues and quantified metrics guide intelligent profit-taking decisions, preventing the common mistake of exiting too early or holding too long.
This synchronized framework transforms theoretical analysis into practical execution, giving traders a complete toolset for managing the entire lifecycle of each trade with precision and confidence.
🟠 Additional Algo Benefits
Psychological Trading Edge:
The Algo Seeker: Dynamic Zone Risk Manager addresses the most challenging aspect of trading—emotional decision-making. By transforming complex risk/reward calculations into clear, quantified metrics, the system eliminates decision paralysis and reactionary trading. Traders gain immediate clarity during volatile conditions through the visual integration of precise zones and risk parameters. This psychological framework cultivates discipline and confidence when market noise typically triggers impulsive decisions, allowing for consistent execution even during challenging market environments.
Efficiency and Time Value:
The system delivers exceptional time efficiency by eliminating the need for manual risk calculations, zone identification, and position sizing. What typically requires multiple tools and extensive spreadsheet calculations is seamlessly integrated into a unified interface. Traders receive immediate, actionable insights without the cognitive burden of juggling separate indicators. This allows professionals to focus on strategic decisions rather than technical calculations.
Advanced User Customization:
Unlike one-size-fits-all indicators, the Algo Seeker: Dynamic Zone Risk Manager adapts to individual trading methodologies. The system accommodates personalized account parameters and allocates capital differently based on three distinct trading modes—scalping, swing trading, and investing. This flexibility allows professional traders to implement their unique strategy while maintaining precise risk control across different positions and time horizons. The customizable table positioning and color schemes further enhance workflow integration for diverse trading environments.
🟠 How to Use
Initial Setup
1. Lookback Parameter: The Lookback Period determines which candle data the Dynamic Zone Risk Manager uses to establish trading zones:
🟢Lookback = 1 (Default): Uses the most recent closed candle to calculate zones. This provides stable analysis based on completed price action and is recommended for most trading scenarios.
🟢Lookback = 0: Uses the current, still-forming candle. This offers more immediate responsiveness, but zones may change as the candle develops. For consistent zone analysis, Lookback = 1 typically offers a better foundation.
2. Configure Account Parameters: Input your total trading capital in the settings panel to customize risk calculations specific to your account size.
3. Select Trading Mode: Choose between Scalp, Swing, or Investor modes based on your preferred trade style:
🟢Scalp: For intraday movements (minutes to hours)
🟢Swing: For medium-term positions (days to weeks)
🟢 Investor: For longer-term positions (weeks to months)
4. Account Parameters Setup: The risk management component requires your account size to provide accurate position sizing calculations.
🟢Total Account Size: Enter your total trading capital in the "Total Account Size ($)" input. All risk calculations are based on this value.
🟢Trading Allocation Percentages: The system allows you to divide your capital across three trading modes.
1. Scalp Allocation (%): Percentage of capital reserved for short-term trades
2. Swing Allocation (%): Percentage of capital for medium-term positions
3. Invest Allocation (%): Percentage of capital for longer-term investments
These percentages can be customized to match your personal trading strategy and risk tolerance.
Margin Multiplier: Adjust the margin multiplier value based on your broker's requirements and your preferred leverage.
The system uses these parameters to calculate appropriate position sizes for each trading mode, ensuring your risk exposure remains aligned with your capital management plan.
5.Visual Customization: Adjust color schemes and table positions to optimize for your workspace layout and visual preferences.
🟠 Risk Table Explanation
The dynamic risk tables provide real-time position sizing and risk metrics as price moves through different zones:
1. Zone Column: Displays the current zone where price is located.
2. Zone Size: Shows the total price range of the current zone.
3. Trade Type: Indicates the trading style (Scalp, Swing, or Invest).
4. Shares: Displays the calculated position size (number of shares) based on your account parameters and the current zone.
5. Risk($): Shows the approximate dollar amount at risk if the trade moves against you within the zone.
6. Reward($): Displays the potential dollar return if price moves completely through the zone in your favor.
7. Left: Indicates how much potential movement remains within the current zone based on the latest price.
The table updates dynamically as price moves, giving you real-time risk/reward information. Each trading style is displayed separately, allowing you to compare potential position sizes across different trade modes while maintaining consistent risk management.
🟠 Strategic Execution
Strategy Usage Example
The Algo Seeker: Dynamic Zone Risk Manager provides a complete framework for precise trading decisions. Here's how you might leverage its power:
1. Zone-Based Trading: The indicator identifies key zones and levels that serve as powerful pivot points. These are not arbitrary levels but mathematically derived zones where price is likely to react. Use these zones directly for your trading decisions.
2. Precision Entries: For long positions, enter near the lower boundary of a zone with targets at the upper boundary. For shorts, enter near the upper boundary with targets at the lower boundary. These levels identify potential entry points based on the underlying market structure.
3. Risk Management: The zone, level, or cost basis below your entry (for longs) or above your entry (for shorts) can serve as logical places to set stop losses, helping you define your risk on each trade.
4. Position Sizing Precision: Use the exact share/contract quantities displayed in the risk table. This eliminates guesswork in position sizing and provides both risk and profit calculations that align perfectly with your capital management strategy.
5. Strategic Exits: Take profits at the target zone boundaries identified by the indicator. These levels represent mathematical points where price may encounter resistance or support, providing potential exit opportunities.
6. Advanced Strategy Options:
🟢Consider taking partial profits at cost basis (midpoint) levels
🟢Trade from zone to zone using the defined boundaries
🟢Scale in or out at specific zone transitions
🟢Set trailing stops at subsequent zone boundaries as price progresses
The strength of this indicator lies in its ability to provide all the critical decision points needed for a complete trade - from entry to exit, with precise position sizing - all derived from its sophisticated algorithmic analysis rather than subjective interpretation.
🟠 Alert Configuration
1. Zone Crossovers: Set alerts for when price transitions between key zones.
2. Cost Basis Interactions: Configure notifications for when price approaches optimal entry points.
The Algo Seeker Wizard Ultra Risk represents years of development and refinement in professional trading environments. Its integration of sophisticated zone identification with precise risk management creates a comprehensive framework that transforms theoretical market analysis into actionable trading decisions with quantified risk parameters.
Smart Money Template📈 Smart Money Concepts – BOS / CHoCH / Order Blocks / OTE / FVG
Version: 1.0
Framework: Pine Script v5
Category: Smart Money / Price Action / Institutional Concepts
🧠 Indicator Overview
This indicator is a complete Smart Money Concepts (SMC) toolkit, built to help traders identify institutional activity and market structure shifts using key SMC principles:
• BOS (Break of Structure)
• CHoCH (Change of Character)
• Order Blocks (OB)
• OTE Zones (Optimal Trade Entry)
• FVGs (Fair Value Gaps / Imbalances)
This tool provides visual clarity and high-probability trade zones by automating what professional traders do manually.
⸻
🔍 Core Features
✅ BOS & CHoCH Detection
Automatically detects market structure breaks using HH/LL logic. BOS is highlighted when price breaks significant swing highs/lows.
✅ Order Block Zones
Draws boxes around the last bullish/bearish candle before a displacement (impulse move), showing potential institutional OB zones.
✅ OTE Zone Mapping
Calculates the Optimal Trade Entry zone between 0.705–0.79 of a price leg using Fibonacci logic. A powerful confluence area when combined with OBs.
✅ Fair Value Gap (FVG)
Detects imbalances between candles that often act as magnets for price. Visualizes price inefficiencies for future retests.
✅ Custom Inputs
You can toggle any feature on/off for cleaner analysis: BOS/CHoCH, OBs, OTE, and FVGs.
⸻
⚙️ How It Works
1. Structure Recognition:
• The script checks for Higher Highs / Lower Lows to determine trend context.
• A BOS/CHoCH label appears when structure shifts.
2. Order Blocks:
• A bullish OB is detected when the previous candle is bearish and the current one closes above its high.
• A bearish OB is vice versa.
3. OTE Levels:
• Based on daily range from high to low.
• Highlights 0.705–0.79 as a potential retracement entry zone (optimal sniper entry).
4. FVG Detection:
• If there is a gap between candle 3 and candle 1 (current candle), it is marked as an imbalance zone.
🎯 Best Use Cases
• Entry confirmations using CHoCH + OB + OTE confluence
• Liquidity grabs + FVG retest setups
• Institutional trend reversals (AMD cycles)
• Smart retracement entries using OTE zones
⸻
💡 Tips for Traders
• Works best on 15m, 1H, 4H, or Daily charts
• Combine with liquidity sweep logic, volume profile, or your own strategy for sniper precision
• Backtest using BOS + OB + FVG + OTE for high-RR setups
⸻
🛠️ Upcoming Features (Optional)
• Risk:Reward Ratio Tool
• Stop Hunt Detection (SSL/BSL)
• Volume + Sponsored Candle Filter
• Alerts for BOS / OB reaction
• SFP Pattern recognition
⸻
Disclaimer:
This tool is for educational purposes only and should be used in conjunction with your own risk management and strategy. Not financial advice.
⸻
Enhanced Range Filter Strategy with ATR TP/SLBuilt by Omotola
## **Enhanced Range Filter Strategy: A Comprehensive Overview**
### **1. Introduction**
The **Enhanced Range Filter Strategy** is a powerful technical trading system designed to identify high-probability trading opportunities while filtering out market noise. It utilizes **range-based trend filtering**, **momentum confirmation**, and **volatility-based risk management** to generate precise entry and exit signals. This strategy is particularly useful for traders who aim to capitalize on trend-following setups while avoiding choppy, ranging market conditions.
---
### **2. Key Components of the Strategy**
#### **A. Range Filter (Trend Determination)**
- The **Range Filter** smooths price fluctuations and helps identify clear trends.
- It calculates an **adjusted price range** based on a **sampling period** and a **multiplier**, ensuring a dynamic trend-following approach.
- **Uptrends:** When the current price is above the range filter and the trend is strengthening.
- **Downtrends:** When the price falls below the range filter and momentum confirms the move.
#### **B. RSI (Relative Strength Index) as Momentum Confirmation**
- RSI is used to **filter out weak trades** and prevent entries during overbought/oversold conditions.
- **Buy Signals:** RSI is above a certain threshold (e.g., 50) in an uptrend.
- **Sell Signals:** RSI is below a certain threshold (e.g., 50) in a downtrend.
#### **C. ADX (Average Directional Index) for Trend Strength Confirmation**
- ADX ensures that trades are only taken when the trend has **sufficient strength**.
- Avoids trading in low-volatility, ranging markets.
- **Threshold (e.g., 25):** Only trade when ADX is above this value, indicating a strong trend.
#### **D. ATR (Average True Range) for Risk Management**
- **Stop Loss (SL):** Placed **one ATR below** (for long trades) or **one ATR above** (for short trades).
- **Take Profit (TP):** Set at a **3:1 reward-to-risk ratio**, using ATR to determine realistic price targets.
- Ensures volatility-adjusted risk management.
---
### **3. Entry and Exit Conditions**
#### **📈 Buy (Long) Entry Conditions:**
1. **Price is above the Range Filter** → Indicates an uptrend.
2. **Upward trend strength is positive** (confirmed via trend counter).
3. **RSI is above the buy threshold** (e.g., 50, to confirm momentum).
4. **ADX confirms trend strength** (e.g., above 25).
5. **Volatility is supportive** (using ATR analysis).
#### **📉 Sell (Short) Entry Conditions:**
1. **Price is below the Range Filter** → Indicates a downtrend.
2. **Downward trend strength is positive** (confirmed via trend counter).
3. **RSI is below the sell threshold** (e.g., 50, to confirm momentum).
4. **ADX confirms trend strength** (e.g., above 25).
5. **Volatility is supportive** (using ATR analysis).
#### **🚪 Exit Conditions:**
- **Stop Loss (SL):**
- **Long Trades:** 1 ATR below entry price.
- **Short Trades:** 1 ATR above entry price.
- **Take Profit (TP):**
- Set at **3x the risk distance** to achieve a favorable risk-reward ratio.
- **Ranging Market Exit:**
- If ADX falls below the threshold, indicating a weakening trend.
---
### **4. Visualization & Alerts**
- **Colored range filter line** changes based on trend direction.
- **Buy and Sell signals** appear as labels on the chart.
- **Stop Loss and Take Profit levels** are plotted as dashed lines.
- **Gray background highlights ranging markets** where trading is avoided.
- **Alerts trigger on Buy, Sell, and Ranging Market conditions** for automation.
---
### **5. Advantages of the Enhanced Range Filter Strategy**
✅ **Trend-Following with Noise Reduction** → Helps avoid false signals by filtering out weak trends.
✅ **Momentum Confirmation with RSI & ADX** → Ensures that only strong, valid trades are executed.
✅ **Volatility-Based Risk Management** → ATR ensures adaptive stop loss and take profit placements.
✅ **Works on Multiple Timeframes** → Effective for day trading, swing trading, and scalping.
✅ **Visually Intuitive** → Clearly displays trade signals, SL/TP levels, and trend conditions.
---
### **6. Who Should Use This Strategy?**
✔ **Trend Traders** who want to enter trades with momentum confirmation.
✔ **Swing Traders** looking for medium-term opportunities with a solid risk-reward ratio.
✔ **Scalpers** who need precise entries and exits to minimize false signals.
✔ **Algorithmic Traders** using alerts for automated execution.
---
### **7. Conclusion**
The **Enhanced Range Filter Strategy** is a powerful trading tool that combines **trend-following techniques, momentum indicators, and risk management** into a structured, rule-based system. By leveraging **Range Filters, RSI, ADX, and ATR**, traders can improve trade accuracy, manage risk effectively, and filter out unfavorable market conditions.
This strategy is **ideal for traders looking for a systematic, disciplined approach** to capturing trends while **avoiding market noise and false breakouts**. 🚀
CISD with Alerts [neo|]█ OVERVIEW
CISD (or Change in State of Delivery) is an ICT concept and reversal pattern which may allow traders to identify reversals or changes in market structure early, compared to using traditional market structure. This script aims to correctly identify, and update these levels and provide alerts, so that traders can take advantage of this concept with ease.
█ CONCEPTS
Simply put, CISD may be identified when price closes above the open of the candle which started the most recent downtrend or liquidity sweep. Generally, it is most powerful when applied to key points in the market as a confirmation from where you may want price to reverse.
For example, when price is in a downtrend, we take the open of the last consecutive downwards candle and observe the CISD once price closes above it, beginning an uptrend.
Examples:
COMEX:GC1!
CME_MINI:NQ1!
█ How to use
To use the indicator, simply apply it to your chart and modify any of your desired inputs.
• Bullish CISD color allows you to change the color of +CISD levels.
• Bearish CISD color allows you to change the color of -CISD levels.
• Line width allows you to modify the width of +-CISD lines.
• Line extension bars allows you to change how far ahead CISD levels are drawn (by default it is 5).
• Keep old CISD levels will allow you to preserve all past CISD levels if you would like to observe the logic.
• Enable stat table will let you add a table on your chart which will tell you the current CISD trend, as well as your ticker and timeframe.
• Table position allows you to customize where the table will appear on your chart.
GQT GPT - Volume-based Support & Resistance Zones V2搞钱兔,搞钱是为了更好的生活。
Title: GQT GPT - Volume-based Support & Resistance Zones V2
Overview:
This strategy is implemented in PineScript v5 and is designed to identify key support and resistance zones based on volume-driven fractal analysis on a 1-hour timeframe. It computes fractal high points (for resistance) and fractal low points (for support) using volume moving averages and specific price action criteria. These zones are visually represented on the chart with customizable lines and zone fills.
Trading Logic:
• Entry: The strategy initiates a long position when the price crosses into the support zone (i.e., when the price drops into a predetermined support area).
• Exit: The long position is closed when the price enters the resistance zone (i.e., when the price rises into a predetermined resistance area).
• Time Frame: Trading signals are generated solely from the 1-hour chart. The strategy is only active within a specified start and end date.
• Note: Only long trades are executed; short selling is not part of the strategy.
Visualization and Parameters:
• Support/Resistance Zones: The zones are drawn based on calculated fractal values, with options to extend the lines to the right for easier tracking.
• Customization: Users can configure the appearance, such as line style (solid, dotted, dashed), line width, colors, and label positions.
• Volume Filtering: A volume moving average threshold is used to confirm the fractal signals, enhancing the reliability of the support and resistance levels.
• Alerts: The strategy includes alert conditions for when the price enters the support or resistance zones, allowing for timely notifications.
⸻
搞钱兔,搞钱是为了更好的生活。
标题: GQT GPT - 基于成交量的支撑与阻力区间 V2
概述:
本策略使用 PineScript v5 实现,旨在基于成交量驱动的分形分析,在1小时级别的图表上识别关键支撑与阻力区间。策略通过成交量移动平均线和特定的价格行为标准计算分形高点(阻力)和分形低点(支撑),并以自定义的线条和区间填充形式直观地显示在图表上。
交易逻辑:
• 进场条件: 当价格进入支撑区间(即价格跌入预设支撑区域)时,策略在没有持仓的情况下发出做多信号。
• 离场条件: 当价格进入阻力区间(即价格上升至预设阻力区域)时,持有多头头寸则会被平仓。
• 时间范围: 策略的信号仅基于1小时级别的图表,并且仅在指定的开始日期与结束日期之间生效。
• 备注: 本策略仅执行多头交易,不进行空头操作。
可视化与参数设置:
• 支撑/阻力区间: 根据计算得出的分形值绘制支撑与阻力线,可选择将线条延伸至右侧,便于后续观察。
• 自定义选项: 用户可以调整线条样式(实线、点线、虚线)、线宽、颜色及标签位置,以满足个性化需求。
• 成交量过滤: 策略使用成交量移动平均阈值来确认分形信号,提高支撑和阻力区间的有效性。
• 警报功能: 当价格进入支撑或阻力区间时,策略会触发警报条件,方便用户及时关注市场变化。
⸻
Body Percentage of Range (Colored)Short Description:
This indicator measures the dominance of the candle's body relative to its total range (High - Low), providing a visual gauge of intra-candle strength versus indecision. Columns are colored based on whether the body constitutes more or less than a defined percentage (default 50%) of the candle's total height.
Detailed Description:
What it Does:
The "Body Percentage of Range" indicator calculates, for each candle, what percentage of the total price range (High minus Low) is occupied by the candle's body (absolute difference between Open and Close).
A value of 100% means the candle has no wicks (a Marubozu), indicating strong conviction during that period.
A value of 0% means the candle has no body (a Doji), indicating perfect indecision.
Values in between show the relative balance between the directional move (body) and the price exploration/rejection (wicks).
How to Interpret:
The indicator plots this percentage as columns:
Column Height: Represents the percentage of the body relative to the total range. Higher columns indicate a larger body dominance.
Column Color:
Green Columns: Appear when the body percentage is above the user-defined threshold (default 50%). This suggests that the directional move within the candle was stronger than the indecision (wicks). Often seen during trending moves or strong momentum candles.
Red Columns: Appear when the body percentage is at or below the user-defined threshold (default 50%). This suggests that wicks dominate the candle (body is 50% or less of the range), indicating significant indecision, struggle between buyers and sellers, or potential reversals. These are common in choppy, consolidating, or reversal market conditions.
Orange Line (Optional MA): A Simple Moving Average (SMA) of the body percentages is plotted to help smooth the readings and identify broader periods where candle structure indicates more trending (high MA) vs. ranging/indecisive (low MA) characteristics.
Potential Use Cases:
Identifying Choppy vs. Trending Markets: Sustained periods of low, predominantly red columns (and often a low/declining MA) can signal a choppy, range-bound market where trend-following strategies might underperform. Conversely, periods with frequent high, green columns suggest a more trending environment.
Confirming Breakouts/Momentum: High green columns appearing alongside increased volume during a breakout can add conviction to the move's strength.
Spotting Potential Exhaustion/Reversals: A very tall green column after a strong trend, followed immediately by a low red column (like a Doji or Spinning Top pattern appearing on the price chart), might signal potential exhaustion or a pending reversal, indicating indecision has suddenly entered the market.
Filtering Entries: Traders might avoid taking entries (especially trend-following ones) when the indicator shows a consistent pattern of low red columns, suggesting high market indecision.
Settings:
Color Threshold %: Allows you to set the percentage level above which columns turn green (default is 50%).
Smoothing MA Length: Adjusts the lookback period for the Simple Moving Average.
Disclaimer:
This indicator is a tool for technical analysis and should be used in conjunction with other methods (like price action, volume analysis, other indicators) and robust risk management. It does not provide direct buy/sell signals and past performance is not indicative of future results.
GLB - Green Line BreakoutThis script helps traders automatically detect Green Line Breakouts (GLBs) — a concept popularized by Dr. Eric Wish. A GLB occurs when a stock breaks out above a long-term pivot high that hasn’t been touched for a specified confirmation period (e.g., 3 months).
📌 Key Features:
Pivot High Detection based on customizable pivot strength.
Flexible Lookback Periods: Choose from 1 week to 5 years or ATH.
Confirmation Logic: Ensures the pivot remains unbroken for a set period before being marked as valid.
Breakout Detection: Marks the first breakout bar with a labeled event.
Dynamic Timeframe Support: Use daily bars or scale automatically with your chart's timeframe.
Historical Anchoring: Draws persistent lines from confirmation to breakout, helping visualize past GLBs.
🛠 Settings Include:
Pivot Strength
Timeframe Mode (Daily or Current)
Lookback Period (1W–ATH)
Confirmation Period (1W–1Y)
Today's Daily LevelsTrack daily price action like a pro with instant visibility of key levels, percentages, and P&L values - all in one clean view.
• Shows Daily Open, High, Low & Median levels
• Dynamic color-coding: green above open, red below
• Real-time price labels with:
Exact price levels
% distance between levels
Point values
Dollar values per contract
• Auto-repaints on timeframe changes
• 30min alerts for median crosses
Rubotics TDI Top/Bottom Indicator**Rubotics TDI Top/Bottom Indicator (Rubots TDI T/B)**
This proprietary indicator integrates several technical analysis tools into one cohesive system to help traders identify potential top and bottom signals directly on the price chart. Unlike standard indicators that merely plot common metrics, this script uniquely fuses a custom moving average algorithm with established oscillators to enhance signal clarity and market timing.
**Core Components and Unique Features:**
- **Global Visual Settings:**
- Easily toggle visual elements (tables, background highlights) that display key metrics and trading setup information.
- Provides a detailed on-chart display of strategy data and essential trading parameters.
- **MAVW Calculation (Proprietary):**
- Computes a series of weighted moving averages using Fibonacci-inspired lengths (3, 5, 8, 13, 21, 34) to generate a dynamic moving average (MAVW).
- The MAVW line is color-coded—blue when trending upward, red when trending downward, and yellow when neutral—to offer an immediate visual cue of market direction.
- **RSI Module:**
- Calculates the RSI on a user-selected price source (default: close) with a customizable period (default: 14).
- Adjustable thresholds (default: 45 and 55) allow for fine-tuning of overbought and oversold conditions.
- **TDI Component:**
- Adapts the RSI into a dynamic channel using a simple moving average and a scaled standard deviation (multiplied by 1.6185) to form upper and lower bands.
- Incorporates both fast and slow moving averages (default periods: 2 and 7) with optional band filling to visually highlight momentum changes.
- **Note:** The TDI logic is based on public methodologies for converting RSI data into a dynamic indicator.
- **WaveTrend Oscillator:**
- Uses configurable channel and smoothing parameters to generate a WaveTrend line for additional momentum confirmation.
- The oscillator is used to further validate top and bottom signals by identifying overbought or oversold conditions.
- **Note:** The WaveTrend calculations are derived from widely available, public-domain techniques.
- **Signal Generation:**
- **Buy Signal:** Generated when the RSI is below its lower threshold, the TDI fast MA crosses above the lower band (with prior bar confirmation), the price is below the MAVW, and the WaveTrend indicates oversold conditions.
- **Sell Signal:** Generated when the RSI is above its upper threshold, the TDI fast MA crosses below the upper band (with prior bar confirmation), the price is above the MAVW, and the WaveTrend signals overbought conditions.
- Signals are visually marked on the chart with upward and downward triangles and accompanied by alert conditions.
- **Volume-Based Bar Coloring & Additional Visuals:**
- Colors price bars based on volume relative to a moving average to highlight the strength of moves.
- Provides background color changes and a dynamic table of key metric values (MAVW, RSI, TDI bands, WaveTrend) for real-time analysis.
**Customization and Originality:**
- Extensive input parameters allow traders to adjust each component to suit their trading style and market conditions.
- The unique combination of the proprietary MAVW calculation with traditional RSI, TDI, and WaveTrend elements creates a robust system for detecting market tops and bottoms.
- **Closed-Source Justification:**
This indicator is published as a closed-source script due to the proprietary enhancements integrated into the MAVW algorithm and signal generation logic. These unique modifications provide added value beyond standard public indicators.
EMA Shakeout DetectorEMA Shakeout & Reclaim Zones
Description:
This Pine Script helps traders quickly identify potential shakeout entries based on price action and volume dynamics. Shakeouts often signal strong accumulation, where institutions drive the stock below a key moving average before reclaiming it, creating an opportunity for traders to enter at favorable prices.
How It Works:
1. Volume Surge Filtering:
a. Computes the 51-day Simple Moving Average (SMA) of volume.
b. Identifies days where volume surged 2x above the 51-day average.
c. Filters stocks that had at least two such high-volume days in the last 21 trading days (configurable).
2. Stock Selection Criteria:
a. The stock must be within 25% of its 52-week high.
b. It should have rallied at least 30% from its 52-week low.
Shakeout Conditions:
1. The stock must be trading above the 51-day EMA before the shakeout.
2. A sudden price drop of more than 10% occurs, pushing the stock below the 51-day EMA.
3. A key index (e.g., Nifty 50, S&P 500) must be trading above its 10-day EMA, ensuring overall market strength.
Visualization:
Shakeout zones are highlighted in blue, making it easier to spot potential accumulation areas and study price & volume action in more detail.
This script is ideal for traders looking to identify institutional shakeouts and gain an edge by recognizing high-probability reversal setups.