VectorTraderMBK 714 vertical linesVectorTraderMBK 714 vertical lines.
This TradingView indicator allows you to mark two customizable times on your chart with vertical red lines. Designed to work seamlessly on 5-minute timeframes, it draws precise vertical lines at the exact UTC times you specify in the indicator’s settings.
Key Features:
User-friendly inputs to set the hour and minute for two separate vertical lines
Automatically plots vertical lines at the selected UTC times every trading day
Compatible with charts set to the UTC timezone (UTC+0)
Lines extend vertically across the entire visible chart for easy visual reference
Ideal for marking important market sessions, news events, or specific trading windows
Use this indicator to visually track critical time points on your charts and improve your trading timing
How it works.
To setup the 714 Method,
1.Go to Indicator settings
2. Change Value of First Line Hour to 7
3. Change Value of Secound Line Hour to 8
4. Save as defaults.
指標和策略
HMA Trend Line (Croc Signal Line)HMA Trend Line (Croc Signal Line) — The Ultimate Hull Moving Average Trend Indicator
Full English description here:
What is the HMA Trend Line (Croc Signal Line)?
The HMA Trend Line (Croc Signal Line) is a powerful, adaptive trend indicator for TradingView, based on the Hull Moving Average (HMA). This indicator is designed to help traders identify real market trends with less lag and reduced noise compared to traditional moving averages like SMA (Simple Moving Average) and EMA (Exponential Moving Average).
Why use the HMA Trend Line?
+ Faster Trend Detection: The Hull Moving Average (HMA) responds more quickly to price action, giving you earlier buy and sell signals.
+ Smoother and Cleaner: It provides a visually clean trend line that avoids the choppiness of classic EMAs and SMAs.
+ Reduced Lag: The HMA Trend Line follows the market closer, helping you avoid late entries or exits and spot trend reversals sooner.
+ Dynamic Support and Resistance: Use the line as a dynamic support or resistance to manage trades and identify pullbacks or breakouts.
What does “Croc Signal Line” mean?
The “Croc” in Croc Signal Line stands for:
+ Clean
+ Responsive
+ Optimized
+ Curve
This highlights the unique advantage of this indicator: a curve that is both fast-reacting and smooth, helping traders focus on real trends and filter out market noise.
How does the Hull Moving Average (HMA) work?
The HMA was developed by Alan Hull and uses weighted moving averages and a unique calculation to deliver both responsiveness and smoothness. Unlike standard moving averages, the HMA reacts faster to new price moves and avoids false signals in ranging or volatile markets.
How to use the HMA Trend Line (Croc Signal Line) on TradingView?
+ Watch for price crossing above the trend line for potential bullish signals, and below for bearish signals.
+ Use on any timeframe: from 1-minute scalping to daily, weekly, or even monthly charts.
+ Works with all asset classes: Forex, stocks, indices, cryptocurrencies, commodities, and futures.
+ Combine with other indicators (like Stochastics, RSI, or volume) for confirmation and to build your unique trading strategy.
+ Adjust the Signal Line Period for your market and style: shorter periods for faster markets, longer for smoother trends.
Who should use this indicator?
+ Day traders, swing traders, and long-term investors looking for reliable, actionable trend signals.
+ Anyone seeking a cleaner, more responsive alternative to the classic moving averages.
+ Traders who want a simple, visually clear way to filter out market noise and see real price direction.
Disclaimer:
This indicator is for educational and study purposes only. Please perform your own backtesting and analysis before using it in live trading. This script does not constitute financial advice. Use at your own risk.
--------
Fibonacci Sequence Moving Average [BackQuant]Fibonacci Sequence Moving Average with Adaptive Oscillator
1. Overview
The Fibonacci Sequence Moving Average indicator is a two‑part trading framework that combines a custom moving average built from the famous Fibonacci number set with a fully featured oscillator, normalisation engine and divergence suite. The moving average half delivers an adaptive trend line that respects natural market rhythms, while the oscillator half translates that trend information into a bounded momentum stream that is easy to read, easy to compare across assets and rich in confluence signals. Everything from weighting logic to colour palettes can be customised, so the tool comfortably fits scalpers zooming into one‑minute candles as well as position traders running multi‑month trend following campaigns.
2. Core Calculation
Fibonacci periods – The default length array is 5, 8, 13, 21, 34. A single multiplier input lets you scale the whole family up or down without breaking the golden‑ratio spacing. For example a multiplier of 3 yields 15, 24, 39, 63, 102.
Component averages – Each period is passed through Simple Moving Average logic to produce five baseline curves (ma1 through ma5).
Weighting methods – You decide how those five values are blended:
• Equal weighting treats every curve the same.
• Linear weighting applies factors 1‑to‑5 so the slowest curve counts five times as much as the fastest.
• Exponential weighting doubles each step for a fast‑reacting yet still smooth line.
• Fibonacci weighting multiplies each curve by its own period value, honouring the spirit of ratio mathematics.
Smoothing engine – The blended average is then smoothed a second time with your choice of SMA, EMA, DEMA, TEMA, RMA, WMA or HMA. A short smoothing length keeps the result lively, while longer lengths create institution‑grade glide paths that act like dynamic support and resistance.
3. Oscillator Construction
Once the smoothed Fib MA is in place, the script generates a raw oscillator value in one of three flavours:
• Distance – Percentage distance between price and the average. Great for mean‑reversion.
• Momentum – Percentage change of the average itself. Ideal for trend acceleration studies.
• Relative – Distance divided by Average True Range for volatility‑aware scaling.
That raw series is pushed through a look‑back normaliser that rescales every reading into a fixed −100 to +100 window. The normalisation window defaults to 100 bars but can be tightened for fast markets or expanded to capture long regimes.
4. Visual Layer
The oscillator line is gradient‑coloured from deep red through sky blue into bright green, so you can spot subtle momentum shifts with peripheral vision alone. There are four horizontal guide lines: Extreme Bear at −50, Bear Threshold at −20, Bull Threshold at +20 and Extreme Bull at +50. Soft fills above and below the thresholds reinforce the zones without cluttering the chart.
The smoothed Fib MA can be plotted directly on price for immediate trend context, and each of the five component averages can be revealed for educational or research purposes. Optional bar‑painting mirrors oscillator polarity, tinting candles green when momentum is bullish and red when momentum is bearish.
5. Divergence Detection
The script automatically looks for four classes of divergences between price pivots and oscillator pivots:
Regular Bullish, signalling a possible bottom when price prints a lower low but the oscillator prints a higher low.
Hidden Bullish, often a trend‑continuation cue when price makes a higher low while the oscillator slips to a lower low.
Regular Bearish, marking potential tops when price carves a higher high yet the oscillator steps down.
Hidden Bearish, hinting at ongoing downside when price posts a lower high while the oscillator pushes to a higher high.
Each event is tagged with an ℝ or ℍ label at the oscillator pivot, colour‑coded for clarity. Look‑back distances for left and right pivots are fully adjustable so you can fine‑tune sensitivity.
6. Alerts
Five ready‑to‑use alert conditions are included:
• Bullish when the oscillator crosses above +20.
• Bearish when it crosses below −20.
• Extreme Bullish when it pops above +50.
• Extreme Bearish when it dives below −50.
• Zero Cross for momentum inflection.
Attach any of these to TradingView notifications and stay updated without staring at charts.
7. Practical Applications
Swing trading trend filter – Plot the smoothed Fib MA on daily candles and only trade in its direction. Enter on oscillator retracements to the 0 line.
Intraday reversal scouting – On short‑term charts let Distance mode highlight overshoots beyond ±40, then fade those moves back to mean.
Volatility breakout timing – Use Relative mode during earnings season or crypto news cycles to spot momentum surges that adjust for changing ATR.
Divergence confirmation – Layer the oscillator beneath price structure to validate double bottoms, double tops and head‑and‑shoulders patterns.
8. Input Summary
• Source, Fibonacci multiplier, weighting method, smoothing length and type
• Oscillator calculation mode and normalisation look‑back
• Divergence look‑back settings and signal length
• Show or hide options for every visual element
• Full colour and line width customisation
9. Best Practices
Avoid using tiny multipliers on illiquid assets where the shortest Fibonacci window may drop under three bars. In strong trends reduce divergence sensitivity or you may see false counter‑trend flags. For portfolio scanning set oscillator to Momentum mode, hide thresholds and colour bars only, which turns the indicator into a heat‑map that quickly highlights leaders and laggards.
10. Final Notes
The Fibonacci Sequence Moving Average indicator seeks to fuse the mathematical elegance of the golden ratio with modern signal‑processing techniques. It is not a standalone trading system, rather a multi‑purpose information layer that shines when combined with market structure, volume analysis and disciplined risk management. Always test parameters on historical data, be mindful of slippage and remember that past performance is never a guarantee of future results. Trade wisely and enjoy the harmony of Fibonacci mathematics in your technical toolkit.
calculate_quantityLibrary "calculate_quantity"
calcualate quantity for each kind of a chart
calculate_position(entry_level, lowest_low, rr)
Parameters:
entry_level (float)
lowest_low (float)
rr (int)
Marwatian TraderHello! I’m Muhammad Nauman Khan, the developer behind this binary‑trading indicator. Below is a detailed description of its purpose, underlying methodology and key features:
1. Overview
This indicator is designed specifically for Fixed‑Time Binary Trading. By analyzing incoming price data in real time, it generates a prediction—“Up” or “Down”—for the very next candle. You can apply it to any timeframe (from 1 min to 30 min), or focus on whichever timeframe yields the highest accuracy for your strategy.
2. Core Prediction Engine
To forecast the next candle’s direction, we combine multiple analytical “tools” into a unified confidence model.
3. Risk Warning
No indicator can guarantee 100 % accuracy. Always combine signals with sound money‑management rules—risk only a small percentage of your capital per trade, and never trade more than you can afford to lose.
Custom MA Crossover with Labels/*
This indicator displays two customizable moving averages (Fast and Slow),
defaulting to 10-period and 100-period respectively.
Key Features:
- You can choose between Simple Moving Average (SMA) or Exponential Moving Average (EMA).
- When the Fast MA crosses above the Slow MA, a green "BUY" label appears below the candle.
- When the Fast MA crosses below the Slow MA, a red "SELL" label appears above the candle.
- Alerts are available for both Buy and Sell crossovers.
Usage:
- Helps identify trend direction and potential entry/exit points.
- Commonly used in trend-following strategies and crossover systems.
- Suitable for all timeframes and assets.
Tip:
- You can adjust the Fast and Slow MA periods to fit your trading strategy.
- Try using this with volume or momentum indicators for confirmation.
*/
Customizable Donchian Channel with Offset Lines What makes it special for you:
- You control the offset percentages, so if someday 60/40 makes more sense—just tweak it!
- All line colors are fully customizable to suit your visual styling or layer coordination.
- Built for clarity and flexibility, right in line with your scripting ethos!
Want to add dashed lines or scale price markers in lakhs and crores next? Let’s keep sculpting!
RSI Overbought/Oversold MTFRSI Overbought / Oversold MTF — Dashboard & Alerts
What it does
This script scans up to 13 symbols at once and shows their RSI readings on three lower‑time‑frames (1 min, 5 min, 15 min).
If all three RSIs for a symbol are simultaneously above the overbought threshold or below the oversold threshold, the script:
Prints the condition (“Overbought” / “Oversold”) in a color‑coded dashboard table.
Fires a one‑per‑bar alert so you never miss the move.
Key features
Feature Details
Multi‑symbol Default list includes BTC, ETH, SOL, BNB, XRP, ADA, AVAX, AVAAI, DOGE, VIRTUAL, SUI, ALCH, LAYER (all Binance pairs). Replace or reorder in the inputs.
Triple‑time‑frame check RSI is calculated on 1 m, 5 m, 15 m for each symbol.
Customizable thresholds Set your own RSI Period, Overbought and Oversold levels. Defaults: 14 / 70 / 30.
Color‑coded dashboard Top‑right table shows:
• Symbol name
• RSI 1 m / 5 m / 15 m (red = overbought, green = oversold, white = neutral)
• Overall Status column (“Overbought”, “Oversold”, “Mixed”).
Alerts built in Triggers once per bar whenever a symbol is overbought or oversold on all three time‑frames simultaneously.
Typical use cases
Scalp alignment — Enter when all short TFs agree on overbought/oversold extremes.
Mean‑reversion spotting — Identify stretched conditions across multiple coins without switching charts.
Quick sentiment scan — Glance at the dashboard to see where momentum is heating up or cooling down.
How to use
Add to chart (overlay = false; it sits in its own pane).
Adjust symbols & thresholds in the Settings panel.
Create alerts → choose “RSI Overbought/Oversold MTF” → “Any Alert() Function Call” to receive push, email, or webhook notifications.
Note: The script queries many symbols each bar; use on lower time‑frames only if your data limits allow.
For educational purposes only — not financial advice. Always test on paper before trading live.
FVG 9:31–10:00 AM ETFVG 9:31–10:00 AM ET - Script Description
What This Script Does
This indicator finds **Fair Value Gaps (FVGs)** that form during the first 29 minutes of the U.S. stock market (9:31 AM to 10:00 AM Eastern Time). A Fair Value Gap is a price imbalance where there's a gap between candles that often becomes an important support or resistance level.
Key Features:
- **Time Window**: Only looks for FVGs between 9:31-10:00 AM ET (most important opening period)
- **One Per Day**: Finds only the first FVG that forms in this time window each day
- **Visual Display**: Draws a purple box around the gap with a clear "FVG" label
- **Price Tracking**: Monitors when price comes back to test the gap level
- **Alert System**: Sends notifications when price returns to the FVG zone
How FVGs Are Detected:
- **Bullish FVG**: When there's a gap up (low of middle candle is above high of 3rd candle back)
- **Bearish FVG**: When there's a gap down (high of middle candle is below low of 3rd candle back)
The 9:31-10:00 AM window is chosen because this is when institutions and algorithms create their biggest price moves right after market open, making these gaps very reliable.
Customization Options
User Settings
Extend FVG Box (Bars)
- **What it does**: Makes the purple box longer to the right
- **Default**: 0 (box ends right after the gap forms)
- **Options**: Any number from 0 to 100+
- **When to use**:
- Keep at 0 for clean historical view
- Set to 10-20 to track the gap during the current session
- Set higher for longer reference
Code Settings (Can Be Changed)
Time Window
- **Start**: 9:31 AM Eastern Time
- **End**: 10:00 AM Eastern Time
- **Can modify**: Change the hour/minute numbers in the code
Visual Style
- **Color**: Purple with see-through background
- **Label**: Shows "FVG" text in white
- **Can modify**: Change colors and transparency in the code
How to Use:
Setup
Chart Settings
1. Use 1-minute, 5-minute, or 15-minute charts (works best on these timeframes)
2. Apply to liquid markets like ES, NQ, major stocks, or forex pairs
3. Set the "Extend FVG Box" to your preference (start with 0 or 10)
What You'll See
- A purple box appears when an FVG forms during 9:31-10:00 AM
- Box shows the exact price levels of the gap
- "FVG" label appears on the box
- Only one FVG per day will be marked
Trading Strategies
Basic FVG Trading
1. **Wait for Formation**: Let the purple box appear during 9:31-10:00 AM
2. **Watch Price Movement**: See if price moves away from the gap
3. **Enter on Retest**: When price comes back to the purple box area, consider entering
4. **Trade Direction**:
- Bullish FVG = look for long opportunities when price retests
- Bearish FVG = look for short opportunities when price retests
Entry Methods
- **Bounce Play**: Enter when price touches the FVG box and bounces away
- **Break Play**: Enter if price strongly breaks through the FVG box
- **Rejection Play**: Enter opposite direction if price gets rejected at the FVG
Risk Management
Stop Losses
- Place stops just outside the FVG box (a few ticks beyond the gap)
- If trading a bounce, stop goes on opposite side of the gap
- If trading a break, stop goes back inside the gap
Position Sizing
- Start small until you understand how FVGs work in your market
- Bigger gaps = smaller position size (more risk)
- Smaller gaps = can use larger position size
Profit Targets
- Take profits at obvious levels like round numbers, previous highs/lows
- Consider taking half profits at 1:1 risk/reward ratio
- Let some position run if the move is strong
Best Practices
When It Works Best
- High-volume stocks and futures (ES, NQ work great)
- Normal market days without major news during the 9:31-10:00 window
- When there's clear institutional activity in the opening period
When to Be Careful
- Low-volume stocks or markets
- Major economic news releases during the time window
- Market holidays when volume is low
- Very choppy or sideways days
Alert Usage
- The script will alert you when price comes back to test the FVG
- Don't trade the alert blindly - always check the current market situation
- Use the alert as a heads-up to start watching the setup more closely
Tips for Success
- The earlier the FVG forms in the 9:31-10:00 window, often the more significant it is
- FVGs that form with high volume are usually more reliable
- Always consider the overall market direction - don't fight the main trend
- Practice on paper first to understand how FVGs behave in your chosen market
🔗 Works Best With:
✅ Liquidity Levels — Smart Swing Lows: Spot key structural lows that can fuel stop hunts and reversals.
✅ ICT Turtle Soup — Liquidity Reversal: Add a classic reversal pattern to your toolkit to catch fakeouts cleanly.
✅ ICT SMC Liquidity Grabs and OBs- Liquidity Grabs, Order Block Zones, and Fibonacci OTE Levels, allowing traders to identify institutional entry models with clean, rule-based visual signals.
This script is most valuable for day traders who want to catch institutional moves right after market open, but it can also help swing traders identify important intraday levels.
✅ ICT Macro Zones (Grey Box Version)- It tracks real-time highs and lows for each Silver Bullet session.
✅ Weekly Opening Gap (cryptonnnite)
Midnight 30min High/LowMidnight 30min High/Low — Overnight Liquidity Range Tracker
Capture the Overnight Session: A Strategic Level Identification Tool from Professional Trading Methodology
This indicator captures the high and low prices during the critical 30-minute midnight session (12:00-12:30 AM EST) and projects these levels forward as key support and resistance zones. These overnight ranges often contain significant liquidity and serve as crucial reference points for intraday price action, representing areas where institutional activity may have established important levels.
🔍 What This Script Does:
Identifies Critical Overnight Session Levels
- Automatically detects the 12:00-12:30 AM EST session window
- Captures the highest and lowest prices during this 30-minute period
- Projects these levels forward for multiple trading days
Creates Dynamic Support/Resistance Zones
- Extends midnight high/low levels as horizontal lines with customizable projection periods
- Fills the area between high and low to create a visual trading range
- Updates automatically each trading day with new overnight levels
Provides Clear Visual Reference Points
- Optional session start markers (●) highlight when the midnight session begins
- Color-coded lines distinguish between high and low levels
- Transparent fill area creates an easy-to-identify trading zone
Real-Time Level Tracking
- Updates levels in real-time during the active midnight session
- Maintains historical levels for reference and backtesting
- Compatible with data window for precise level values
⚙️ Customization Options:
Extend Days (1-30):** Control how many days forward the levels are projected (default: 5 days)
High Line Color:** Customize the midnight high line color (default: blue)
Low Line Color:** Customize the midnight low line color (default: orange)
Fill Color:** Adjust the transparency and color of the range area (default: light aqua, 80% transparency)
Show Session Markers:** Toggle yellow session start indicators on/off (default: enabled)
💡 How to Use:
Deploy on lower timeframes (1m-15m) for precise level identification and reaction monitoring**
Watch for key price interactions:
- Rejection at midnight high levels (potential resistance)
- Bounce from midnight low levels (potential support)
- Range-bound trading between the high and low levels
Combine with liquidity concepts:
- Monitor for stop hunts above/below these levels
- Look for false breakouts that snap back into the range
- Use as confluence with other ICT concepts like FVGs and Order Blocks
Strategic Applications:
- Range trading between midnight levels
- Breakout confirmation when price closes decisively outside the range
- Support/resistance validation for entry and exit planning
🔗 Combine With These Tools for Complete Market Structure Analysis:
✅ First FVG — Opening Range Fair Value Gap Detector.
✅ ICT Turtle Soup (Liquidity Reversal)— Spot stop hunts and false breakout scenarios.
✅ ICT Macro Zones (Grey Box Version)- It tracks real-time highs and lows for each Silver Bullet session.
✅ ICT SMC Liquidity Grabs and OBs- Liquidity Grabs, Order Block Zones, and Fibonacci OTE Levels, allowing traders to identify institutional entry models with clean, rule-based visual signals.
Together, these tools create a comprehensive Smart Money Concepts (SMC) framework — helping traders identify, anticipate, and capitalize on institutional-level price movements with precision and confidence during critical overnight sessions. Also, dont forget to not over-trade.
Midnight 30min High/LowMidnight 30min High/Low — Overnight Liquidity Range Tracker
Capture the Overnight Session: A Strategic Level Identification Tool from Professional Trading Methodology
This indicator captures the high and low prices during the critical 30-minute midnight session (12:00-12:30 AM EST) and projects these levels forward as key support and resistance zones. These overnight ranges often contain significant liquidity and serve as crucial reference points for intraday price action, representing areas where institutional activity may have established important levels.
🔍 What This Script Does:
Identifies Critical Overnight Session Levels
- Automatically detects the 12:00-12:30 AM EST session window
- Captures the highest and lowest prices during this 30-minute period
- Projects these levels forward for multiple trading days
Creates Dynamic Support/Resistance Zones
- Extends midnight high/low levels as horizontal lines with customizable projection periods
- Fills the area between high and low to create a visual trading range
- Updates automatically each trading day with new overnight levels
Provides Clear Visual Reference Points
- Optional session start markers (●) highlight when the midnight session begins
- Color-coded lines distinguish between high and low levels
- Transparent fill area creates an easy-to-identify trading zone
Real-Time Level Tracking
- Updates levels in real-time during the active midnight session
- Maintains historical levels for reference and backtesting
- Compatible with data window for precise level values
⚙️ Customization Options:
Extend Days (1-30):** Control how many days forward the levels are projected (default: 5 days)
High Line Color:** Customize the midnight high line color (default: blue)
Low Line Color:** Customize the midnight low line color (default: orange)
Fill Color:** Adjust the transparency and color of the range area (default: light aqua, 80% transparency)
Show Session Markers:** Toggle yellow session start indicators on/off (default: enabled)
💡 How to Use:
Deploy on lower timeframes (1m-15m) for precise level identification and reaction monitoring**
Watch for key price interactions:
- Rejection at midnight high levels (potential resistance)
- Bounce from midnight low levels (potential support)
- Range-bound trading between the high and low levels
Combine with liquidity concepts:
- Monitor for stop hunts above/below these levels
- Look for false breakouts that snap back into the range
- Use as confluence with other ICT concepts like FVGs and Order Blocks
Strategic Applications:
- Range trading between midnight levels
- Breakout confirmation when price closes decisively outside the range
- Support/resistance validation for entry and exit planning
🔗 Combine With These Tools for Complete Market Structure Analysis:
✅ First FVG — Opening Range Fair Value Gap Detector.
✅ ICT Turtle Soup (Liquidity Reversal)— Spot stop hunts and false breakout scenarios.
✅ ICT Macro Zones (Grey Box Version)- It tracks real-time highs and lows for each Silver Bullet session.
✅ ICT SMC Liquidity Grabs and OBs- Liquidity Grabs, Order Block Zones, and Fibonacci OTE Levels, allowing traders to identify institutional entry models with clean, rule-based visual signals.
Together, these tools create a comprehensive Smart Money Concepts (SMC) framework — helping traders identify, anticipate, and capitalize on institutional-level price movements with precision and confidence during critical overnight sessions. Also, dont forget to not over-trade.
Midnight 30min High/LowMidnight 30min High/Low — Overnight Liquidity Range Tracker
Capture the Overnight Session: A Strategic Level Identification Tool from Professional Trading Methodology
This indicator captures the high and low prices during the critical 30-minute midnight session (12:00-12:30 AM EST) and projects these levels forward as key support and resistance zones. These overnight ranges often contain significant liquidity and serve as crucial reference points for intraday price action, representing areas where institutional activity may have established important levels.
🔍 What This Script Does:
Identifies Critical Overnight Session Levels
- Automatically detects the 12:00-12:30 AM EST session window
- Captures the highest and lowest prices during this 30-minute period
- Projects these levels forward for multiple trading days
Creates Dynamic Support/Resistance Zones
- Extends midnight high/low levels as horizontal lines with customizable projection periods
- Fills the area between high and low to create a visual trading range
- Updates automatically each trading day with new overnight levels
Provides Clear Visual Reference Points
- Optional session start markers (●) highlight when the midnight session begins
- Color-coded lines distinguish between high and low levels
- Transparent fill area creates an easy-to-identify trading zone
Real-Time Level Tracking
- Updates levels in real-time during the active midnight session
- Maintains historical levels for reference and backtesting
- Compatible with data window for precise level values
⚙️ Customization Options:
Extend Days (1-30):** Control how many days forward the levels are projected (default: 5 days)
High Line Color:** Customize the midnight high line color (default: blue)
Low Line Color:** Customize the midnight low line color (default: orange)
Fill Color:** Adjust the transparency and color of the range area (default: light aqua, 80% transparency)
Show Session Markers:** Toggle yellow session start indicators on/off (default: enabled)
💡 How to Use:
Deploy on lower timeframes (1m-15m) for precise level identification and reaction monitoring**
Watch for key price interactions:
- Rejection at midnight high levels (potential resistance)
- Bounce from midnight low levels (potential support)
- Range-bound trading between the high and low levels
Combine with liquidity concepts:
- Monitor for stop hunts above/below these levels
- Look for false breakouts that snap back into the range
- Use as confluence with other ICT concepts like FVGs and Order Blocks
Strategic Applications:
- Range trading between midnight levels
- Breakout confirmation when price closes decisively outside the range
- Support/resistance validation for entry and exit planning
🔗 Combine With These Tools for Complete Market Structure Analysis:
✅ First FVG — Opening Range Fair Value Gap Detector.
✅ ICT Turtle Soup (Liquidity Reversal)— Spot stop hunts and false breakout scenarios
✅ ICT Macro Zones (Grey Box Version)- It tracks real-time highs and lows for each Silver Bullet session
✅ ICT SMC Liquidity Grabs and OBs- Liquidity Grabs, Order Block Zones, and Fibonacci OTE Levels, allowing traders to identify institutional entry models with clean, rule-based visual signals.
Together, these tools create a comprehensive Smart Money Concepts (SMC) framework — helping traders identify, anticipate, and capitalize on institutional-level price movements with precision and confidence during critical overnight sessions.
📊 Bot-Activated Signal OverlayThis script blends momentum, volume confirmation, and trend analysis to make signals more reliable — especially for flagged tickers you’re watching closely. You could even layer in alerts or refine the thresholds if you want a tighter grip on signal quality.
Days Since –1% Down Close“Days since last down 1% close” indicator
This is a useful tool for investors and analysts to gauge market momentum, volatility, and potential risk:
1. Measuring Market Stability and Momentum
2. Identifying Potential Overbought Conditions
3. Volatility Assessment
4. Contextualizing Seasonal or External Factors
5. Risk Management and Timing
Actionable Insight: Combine this with real-time data (e.g., VIX levels or economic releases like tomorrow’s potential market-moving news)
In summary, the "Days since last down 1% close" indicator helps investors monitor market health, spot overextension, and manage risk by providing a historical benchmark for volatility.
EMA9 vs EMA20 (Estilo MACD, eje acotado)🔷 What does it do?
Plots a moving line that represents the difference between the 9-period EMA and the 20-period EMA.
The zero level acts as the baseline (i.e., EMA20).
Every time the line crosses zero:
📈 Bullish crossover → EMA9 crosses above EMA20.
📉 Bearish crossover → EMA9 crosses below EMA20.
🔒 Visual clarity:
The chart is locked between -600 and +600, making crossovers easy to see without scaling issues.
Perfect for confirming trend direction or momentum shifts.
🔔 Built-in alerts:
You can set alerts for both bullish and bearish crossovers directly in TradingView.
🧠 MACD-inspired, but cleaner:
Instead of multiple lines and a histogram, you get one clean line moving around a fixed axis. Simple and powerful.
⚙️ Works with:
✅ TradingView (Pine Script v5)
✅ Any asset and any timeframe
📩 Want the source code? DM me and I’ll send it to you 🔧
Let me know if you'd like me to make a flyer or visual version of this too!
Gravity Trend Line with ±10% Bands🌌 Law of Gravity in Stock Trading — by Hu Liyang (胡立阳)—often called the “Godfather of Asian Stock Markets”
✦ Conceptual Origin
The “Law of Gravity” was developed by Mr. Hu Liyang, drawing an analogy between the gravitational pull in physics and the relationship between stock prices and moving averages. It is a medium-term mean reversion theory that helps traders identify rebound opportunities when prices deviate too far from their trend lines.
📈 Indicator Summary: Gravity Trend Line with ±10% Bands
🔧 How It's Calculated:
Gravity Trend Line = Average of SMA(30) and SMA(70)
Represents the fair value zone or center of gravity for price over a medium-term period.
Upper Band = Gravity Line + 10%
Lower Band = Gravity Line - 10%
A shaded zone shows the space between the upper and lower bands — your "gravity channel."
🧭How to Use It for Swing Trading (1H and 4H Charts)
1. Trend Bias Filter
If price is consistently above the Gravity Line, the trend bias is bullish.
If price is below the Gravity Line, the bias is bearish.
Use this to align your trades with the prevailing direction on 4H (macro view) and fine-tune entries on 1H.
2.Trade Entry Zones
Long Setup (buy):
Look for price near or just below the lower band (oversold zone).
Combine with bullish candles or reversal indicators (e.g., MACD bullish crossover, RSI < 30 turning up).
Confirmation: price reclaims the lower band or moves toward gravity line.
Short Setup (sell):
Look for price near or just above the upper band (overbought zone).
Combine with bearish confirmation (e.g., MACD bearish crossover, RSI > 70 turning down).
Confirmation: price starts rejecting from upper band toward gravity line.
3. Take Profit / Exit Zones
Partial TP: At the Gravity Line (mean reversion level).
Final TP: At opposite band (if price has strong momentum).
Alternatively, exit on crossback below gravity line after a long, or above it after a short.
4. Avoiding Traps
Avoid entering trades in the middle of the band (around the Gravity Line) unless there's strong breakout confirmation.
Use 4H for trend context, and 1H for entry precision.
Avoid trading against the broader gravity slope:
If gravity line is clearly sloping up, favor longs.
If sloping down, favor shorts.
📘 Example Strategy Workflow:
Timeframe:
Use 4H for directional bias
Use 1H for entries and exits
Example Long Setup (1H Chart):
Price dips below lower band while 4H trend is up.
Bullish candle forms or RSI/MACD confirms momentum shift.
Entry: price closes back above the lower band.
TP1: near gravity line.
TP2: near upper band.
Or, exit when gain hits +8% to +15%, depending on risk appetite.
📌 Final Notes:
This is a mean-reversion + trend confirmation tool — best used with additional confluence (candlestick patterns, volume, divergence).
It works well in ranging to gently trending markets — not ideal for sharp breakouts unless combined with breakout filters.
This indicator is for educational and reference purposes only.
It is not intended to be a recommendation or signal to buy or sell any security.
Use at your own discretion. Always perform your own due diligence before trading.
MA8 Entry + Opposite Candle ExitCondition Action
Cross above MA → full candle above → Buy entry ✅
Cross below MA → full candle below → Sell entry ✅
In a Buy trade, and:
• A red engulfing candle appears, or
• Price closes below MA ❌ Exit Buy
In a Sell trade, and:
• A green engulfing candle appears, or
• Price closes above MA ❌ Exit Sell
[Teyo69] T1 Wyckoff Jump Across the Creek and Ice📌 Overview
This indicator captures Wyckoff-style breakouts :
JAC (Jump Across the Creek) for bullish structure breakouts
JAI (Jump Across the Ice) for bearish breakdowns
It blends support/resistance logic, volume behavior, and slope/momentum from selected trend-following methods.
🧩 Features
Detects JAC (bullish breakout) and JAI (bearish breakdown) based on trend breakouts confirmed by volume.
Supports multiple trend logic modes:
📈 Super Trend
📉 EMA
🪨 Support & Resistance
📊 Linear Regression
Dynamically plots Creek (resistance) and Ice (support)
Incorporates volume spike and rising volume conditions for high-confidence signals
⚙️ How to Use
Select your preferred trend method from the dropdown.
Wait for:
A breakout in direction (up or down)
Rising volume and volume spike confirmation
Follow "Long" (JAC) or "Short" (JAI) labels for potential entries.
🎛️ Configuration
Indicator Leniency - Signal tolerance range after breakout
S&R Length - Pivot detection length for S/R method
Trend Method - Choose how trend is calculated
Volume SMA - Baseline for volume spike detection
Volume Length - Lookback for volume rising check
🧪 Signal Conditions
JAC Direction flips bullish + volume rising + spike
JAI Direction flips bearish + volume rising + spike
⚠️ Limitations
False signals possible during sideways/choppy markets.
Volume behavior depends on exchange feed accuracy.
S/R mode is slower but more stable; EMA & Linear Regression react faster but can whipsaw.
🔧 Advanced Tips
Use this with Wyckoff Accumulation/Distribution zones for better context.
Combine with RSI/OBV or higher timeframe trend filters.
Adjust leniency_lookback if signals feel too early/late.
If you're using Support and Resistance - Price action moves inside S & R it means that price is ranging.
📝 Notes
Volume conditions must confirm breakout, not just direction shift.
Built using native Pine Script switch and plotshape() for clarity.
"Creek" and "Ice" lines are color-coded trend / Support and Resistance zones.
Timeframe Quadrants | InvrsROBINHOODTimeframe Quadrant Visualizer
Summary
This indicator is a powerful visualization tool designed to help traders analyze price action by dividing various timeframes into four distinct, color-coded quadrants. By breaking down periods from a full year to a single minute, it offers a unique perspective on market cycles and intraday patterns. The script includes fully customizable colors and display styles, allowing you to tailor the visual output to your specific charting needs.
Key Features
Multiple Timeframe Divisions: Choose to divide a Year, Month, Week, Day, Hour, or Minute into four parts.
Customizable Quadrant Logic:
Year: Divided into calendar quarters (Jan-Mar, Apr-Jun, Jul-Sep, Oct-Dec).
Month: Divided into four approximate weeks (Days 1-7, 8-14, 15-21, 22-end).
Week: Divided into four 42-hour blocks, starting from Sunday at 00:00.
Day: Divided into four 6-hour blocks.
Hour: Divided into four 15-minute blocks.
Minute: Divided into four 15-second blocks.
Flexible Display Options: Visualize the quadrants as either a full Background Color overlay or a Bar Overlay that colors the price bars directly.
Timeframe Separators: A vertical line is automatically drawn at the beginning of each selected timeframe (e.g., at the start of each new day when "Day" is selected), making it easy to see where each period begins.
Full Color Customization: All four quadrant colors are user-definable, along with a global transparency setting to ensure the indicator complements your chart without obscuring price action.
Timezone-Aware: All calculations are performed based on a user-selected timezone from a dropdown menu, ensuring accuracy and consistency across different markets and trading sessions. As an added option, there is a manual input if the timezone is not available.
How to Use
Add to Chart: Add the "Timeframe Quadrants" indicator to your chart.
Open Settings: Hover over the indicator's name on your chart and click the Settings (gear) icon.
Configure the Indicator:
Timeframe: Select the primary time period you want to divide (e.g., "Day", "Week", "Hour").
Display Method: Choose whether you want the quadrants to appear as a Background Color or a Bar Overlay.
Timezone: Select the desired timezone from the dropdown menu. This is crucial for aligning the quadrants with specific market sessions (e.g., "America/New_York" for the NYSE session).
Quadrant Colors: Customize the color for each of the four quadrants.
Transparency %: Adjust the transparency of the colors to your preference.
Underlying Concepts
This script operates by using Pine Script's built-in time and date variables. It identifies the current bar's position within the user-selected timeframe (timeframe_choice) and assigns it to one of four quadrants based on pre-defined logic. For example, when "Day" is selected, it uses the hour() function to determine which 6-hour block the current bar falls into. The vertical separator lines are generated by detecting a change in the relevant time unit (e.g., ta.change(dayofmonth)), which marks the first bar of a new period.
Disclaimer: This tool is intended for visual analysis and pattern recognition. It does not generate buy or sell signals and should be used in conjunction with your own trading strategy and risk management. Past performance is not indicative of future results.
Ultimate ATR ProUltimate ATR Pro - Professional Volatility Analysis Tool
Unlock Market Turning Points with Precision Volatility Analysis
Key Features
1. Advanced ATR Calculation Engine
4 MA Types: RMA (Wilder's), SMA, EMA, WMA
Customizable Period: Adjust ATR length (default: 14)
Multi-Timeframe Compatible: Works on all chart intervals
2. Smart Volatility Extremum Detection
Low Volatility Signals: Identifies ATR contraction periods
High Volatility Signals: Detects ATR expansion phases
Custom Lookback Period: Set detection window (10-500 bars)
3. Professional Divergence System
Bullish Divergence: Price ↑ while ATR ↓ (trend continuation signal)
Bearish Divergence: Price ↓ while ATR ↑ (trend acceleration signal)
Visual Connection Lines: Dotted lines highlight price-ATR relationships
4. Visual Extreme Value Lines (NEW!)
Lowest ATR Line: Customizable dotted line showing minimum volatility level
Highest ATR Line: Customizable dotted line marking maximum volatility level
Dynamic Positioning: Auto-updates with each new bar
5. Complete Customization System
Full Color Control:
Signal markers (low/high volatility)
Divergence labels
ATR line
Extreme value lines
Background highlights
Toggle Features: Enable/disable any visual element
6. Intelligent Alert System
Dual Alert Types:
Volatility Extremes (Low/High ATR)
Divergence Signals (Bullish/Bearish)
Smart Cooldown: Prevent alert fatigue with adjustable cooldown period
Visual Alert Tags: Color-coded notifications at chart top
7. Professional Dashboard
Real-time status monitoring:
Current volatility state
Cooldown timers
Extreme ATR values
Divergence detection status
Color-coded for instant recognition
How Traders Benefit
Strategic Applications
markdown
复制
| SIGNAL | MARKET CONDITION | TRADING IMPLICATION |
|-----------------------|---------------------------|------------------------------------|
| Low Volatility | Contraction/Consolidation | Prepare for breakout strategies |
| High Volatility | Expansion/Climax | Watch for reversals or pauses |
| Bullish Divergence | Price↑ ATR↓ | Trend continuation opportunity |
| Bearish Divergence | Price↓ ATR↑ | Trend acceleration warning |
| Lowest ATR Line Break | Volatility breakout | Confirm directional movement |
Risk Management Tools
ATR-Based Position Sizing: Use extreme values to calculate optimal trade size
Dynamic Stop Loss: Adjust stops based on current volatility regime
Volatility Filtering: Avoid trading during uncertain high-volatility periods
Setup Recommendations
Parameter Guide
pine
复制
length: 14 // Standard ATR period
lookback: 50 // Optimal for swing trading
cooldownPeriod: 14// Balanced alert frequency
minLineColor: #00C853 // Bright green for low volatility
maxLineColor: #FF3D00 // Bright red for high volatility
Professional Configurations
Day Trading: Lookback=20-30, Cooldown=5-10
Swing Trading: Lookback=50-100, Cooldown=10-20
Position Trading: Lookback=100-200, Cooldown=20-50
Why Choose Ultimate ATR Pro?
"Transforms complex volatility analysis into clear, actionable visual cues - the essential tool for breakout traders and risk managers alike."
Install Now To:
Spot consolidation before big moves
Identify exhaustion at trend extremes
Automate volatility-based position sizing
Receive instant alerts at critical volatility turns
Gain professional-grade insights into market dynamics
Master market rhythms with the most advanced ATR analysis tool on TradingView!
Compatibility: Works flawlessly across stocks, forex, crypto, and commodities on all timeframes.
Version: 2.0 (Enhanced with Extreme Value Lines)
Category: Volatility Analysis | Risk Management | Professional Trading
THF Buy/Sell Signal Crossover and Trend Signals Golden CrossIndicator Explanation:
The "THF Buy/Sell and Golden Cross/Death Cross" indicator is designed to provide trend signals using EMA (Exponential Moving Averages) and SMA (Simple Moving Averages), with a focus on Golden Cross and Death Cross patterns. It also includes Buy and Sell signals based on crossovers of these moving averages. This indicator aims to assist traders in identifying trend changes, potential entry/exit points, and overall market momentum.
Key Features:
1. Exponential Moving Averages (EMA):
EMA 21 (Green): A short-term moving average that responds more quickly to price changes.
EMA 50 (Yellow): A medium-term moving average used to capture intermediate trends.
2. Simple Moving Averages (SMA):
SMA 50 (Red): A longer-term moving average, often used to identify the overall market trend.
SMA 200 (Blue): A key long-term moving average, helping identify major trend shifts in the market.
3. Buy and Sell Signals:
Buy Signal: Triggered when the EMA 21 crosses above the SMA 50 (bullish crossover). This indicates potential buying opportunities.
Sell Signal: Triggered when the EMA 21 crosses below the SMA 50 (bearish crossover), suggesting potential selling opportunities.
4. Golden Cross (Bullish Trend Reversal):
Occurs when EMA 50 crosses above SMA 200. It signals a potential long-term bullish market trend.
Golden Cross is highlighted on the chart with a yellow label to indicate the event.
5. Death Cross (Bearish Trend Reversal):
Occurs when EMA 50 crosses below SMA 200. It suggests a potential bearish market trend.
Death Cross is highlighted with a blue label on the chart to indicate the event.
6. Volume Moving Average:
The volume moving average (based on a 20-period default) is plotted to show the average trading volume.
Volume bars are color-coded (green for high volume, red for low volume) to show when the volume is increasing or decreasing compared to the moving average.
How to Use:
Buy Signal: Look for green labels marked "BUY" when the EMA 21 crosses above the SMA 50.
Sell Signal: Watch for red labels marked "SELL" when the EMA 21 crosses below the SMA 50.
Golden Cross: A yellow label will indicate when the EMA 50 crosses above the SMA 200, signaling potential long-term upward momentum.
Death Cross: A blue label appears when the EMA 50 crosses below the SMA 200, suggesting potential long-term downward pressure.
Volume: Pay attention to the volume bars. High volume (green bars) suggests strong momentum, while low volume (red bars) might indicate weak trends.
Ideal for:
Trend-following traders: This indicator helps identify trend reversals and provide buy/sell signals.
Traders focusing on major trend changes: The Golden and Death Cross signals can help spot long-term bullish or bearish trends.
Volume traders: The volume bars and volume moving average help validate price moves and momentum.
Benefits:
Clear visual signals for buy, sell, golden cross, and death cross events.
Color-coded volume to indicate strong or weak market momentum.
Helps identify trend changes using both short-term and long-term moving averages.
THF Crossover and Trend Signals Golden & Death Cross with VolumeScript Overview:
This Pine Script is designed to assist traders in identifying key buy/sell signals and major trend changes on the chart using Exponential Moving Averages (EMA) and Simple Moving Averages (SMA), as well as visualizing Golden Cross and Death Cross events. The script also includes a volume indicator to highlight the volume trading activity in relation to the price movements.
Key Features:
1. Moving Averages:
EMA 21: Exponential Moving Average over a 21-period, shown in green.
EMA 50: Exponential Moving Average over a 50-period, shown in yellow.
SMA 50: Simple Moving Average over a 50-period, shown in red.
SMA 200: Simple Moving Average over a 200-period, shown in blue.
2. Signals:
Buy Signal: Generated when EMA 21 crosses above SMA 50, indicating a potential upward trend. Displayed with a green label below the price bar.
Sell Signal: Generated when EMA 21 crosses below SMA 50, indicating a potential downward trend. Displayed with a red label above the price bar.
3. Golden Cross (Bullish Trend):
A Golden Cross occurs when EMA 50 crosses above SMA 200, which often signals the start of a long-term upward trend. The signal is displayed with a yellow label below the price bar.
4. Death Cross (Bearish Trend):
A Death Cross occurs when EMA 50 crosses below SMA 200, which often signals the start of a long-term downward trend. The signal is displayed with a blue label above the price bar.
5. Volume Indicator:
The volume is plotted as colored columns. Green indicates higher volume than the 20-period moving average, and red indicates lower volume.
A Volume Moving Average (SMA 20) is also plotted to compare volume changes over time.
How the Script Works:
1. The EMA and SMA lines are plotted on the chart, providing a visual representation of the short- and long-term trends.
2. Buy/Sell signals are triggered based on the crossover between EMA 21 and SMA 50, helping to identify potential entry and exit points.
3. The Golden Cross and Death Cross indicators highlight major trend reversals based on the crossover between EMA 50 and SMA 200, providing clear visual cues for long-term trend changes.
4. Volume is displayed alongside price movements, offering insight into the strength or weakness of a trend.
Key Customizations:
Moving Average Periods: Users can modify the lengths of the EMAs and SMAs for customized analysis.
Volume Moving Average Period: The script allows for adjustment of the volume moving average period to suit different market conditions.
Signal Visibility: The size and color of the buy, sell, Golden Cross, and Death Cross signals can be easily customized to make them more prominent on the chart.
Conclusion:
This script is ideal for traders looking to combine price action with volume analysis, using key technical indicators such as EMA, SMA, Golden Cross, and Death Cross to make informed decisions in trending markets.
---
This explanation covers all aspects of the script and provides a clear understanding of its functionality, which is helpful for sharing the script or using it as an educational resource.
🌀 STD-Torque Wave Map v1.0🔍 Overview
The STD-Torque Wave Map v1.0 is a multi-timeframe market pressure visualizer that uses the slope of standard deviation (STD) to measure torque—i.e., the acceleration or deceleration of volatility. By combining short, medium, and long-term torque across timeframes (1H, 4H, and 1D by default), this tool helps traders spot confluence zones of high energy. It also detects key signals from RSI divergence and volume spikes to confirm potential breakout or reversal moments.
⚙️ Inputs
Short-Term TF (1H): Select your short timeframe (e.g., 15m, 1H).
Mid-Term TF (4H): Select your medium timeframe.
Long-Term TF (1D): Choose a higher timeframe for macro alignment.
STD Length: Length used for calculating standard deviation.
RSI Length: Length for Relative Strength Index calculation.
Volume Smoothing: Period used to smooth volume for pressure analysis.
Torque Spike Threshold: Sensitivity threshold for torque spike detection.
📊 How to Use
Read the Torque Histograms:
Three color-coded histograms represent torque (slope of STD) at different timeframes:
🟩 Lime: Short-Term Torque
🟧 Orange: Mid-Term Torque
🟪 Purple: Long-Term Torque
Watch for Yellow Confluence Zones:
A yellow background signals that torque is spiking across all three timeframes — a strong confluence zone indicating possible momentum ignition.
Breakout Watch Labels:
A ⚡ red label appears on the main chart (top location) when:
All torque values exceed the threshold AND
Either an RSI divergence or a volume spike is detected.
This is your cue to monitor for explosive breakouts or fakeouts.
Use Alerts:
Set alerts for:
✅ Torque Confluence
✅ Torque + RSI Divergence
✅ Torque + Volume Spike
Get real-time heads-up when pressure is building beneath the surface.
🧠 Interpretation Tips
Torque is Pressure, Not Direction: This tool measures energy building in the market. Combine it with your directional bias, price action, or trend tools.
Ideal for Pre-Breakout Contexts: Use in sideways, low-volatility zones to anticipate the breakout direction using RSI or volume confirmation.
Great Add-On: Pairs well with structure-based tools (e.g., support/resistance, order blocks) or liquidity mapping indicators.
📌 Designed for active traders who want to visually map hidden energy across timeframes before it erupts on the chart.