時間足固定ATRライン - 任意時間足This indicator displays the ATR value as a line. Please display the ATR of any time.
지표 및 전략
Short Env EntryStrategy To Enter the MegaCap Stocks when Price is below the SMA 200 by a certain percentage and Exit after the Price Rises to SMA200.
I am further Refining the Strategy and would try to build additional features for Back-Testing.
Death Cross & Golden CrossDeath Cross & Golden Cross
When Short term (Red) EMA crosses Long term EMA singals a Buy/Sell. When the reverses sqaure off the trade.
Math by Thomas SMC Swing Range + Premium/Discount ZonesDescription:
"Math by Thomas – SMC Swing Range + Premium/Discount Zones" is a Smart Money Concepts (SMC) based indicator designed to help traders visually understand market structure and value zones.
This tool automatically detects and marks:
🔺 Recent Swing Highs and Lows
🟧 Midpoint Line between swing high and low
🟥🟩 Premium/Discount Zones for value-based entries
🔤 HH, HL, LH, LL Labels to identify trend structure
🔁 BoS (Break of Structure) and CHoCH (Change of Character) confirmations
Built with Pine Script v6, this indicator is optimized for both intraday and positional traders who rely on structure-based decision-making.
🛠️ How to Use:
Apply to any chart – Works on all timeframes and instruments.
Swing High/Low Detection:
Uses pivot logic with adjustable strength to find recent key turning points.
Displays shaded horizontal boxes for visual clarity.
Midpoint Line:
Automatically drawn between the last high and low.
Acts as the fair value level for identifying overbought/oversold zones.
Premium/Discount Zones:
Above midpoint = Premium (consider shorting).
Below midpoint = Discount (consider buying).
Structure Labels:
HH (Higher High), HL (Higher Low), LH (Lower High), LL (Lower Low).
Color-coded to reflect bullish or bearish trends.
BoS & CHoCH:
Structural breaks are labeled automatically to signal possible trend continuation or reversal.
⚙️ Settings:
🎯 Pivot Strength – Adjusts how far back/forward candles must confirm a swing.
✅ Toggle visibility of:
Swing Lines
Labels
BoS / CHoCH
Premium / Discount zones
🎨 Customize colors for each visual component.
🧠 Best Practices:
Use in combination with Order Blocks, Fair Value Gaps, or Volume Imbalances.
Ideal for traders applying Smart Money Concepts (SMC) with a structure-first mindset.
Custom Time Volume Profile [Fixed]Made it for auto draw VP on chart everyday .
Such as :
Previous Day VAH/POC/VAL
Previous Week VAH/POC/VAL
Current Session VAH/POC/VAL
Also can custom the time , colour .
Global M2 Money Supply // Days Offset =The script still runs on any chart.
The line only appears on BTC charts.
It avoids all errors with the display argument.
Oculus Ultra Parallel S/R Channel**Oculus Ultra Parallel S/R Channel**
*Version 1.0 | Pine Script v6*
**Overview**
This indicator overlays a statistically-driven support/resistance channel on your chart by fitting a linear regression (median) line and plotting parallel bands at a configurable multiple of standard deviation. It adapts dynamically to both trend and volatility, highlights potential reaction zones, and offers optional alerts when price touches key levels.
**Key Features**
* **Median Regression Line**
Fits a best-fit line through the chosen lookback of price data, showing the underlying trend.
* **Volatility-Based Bands**
Upper and lower bands offset by *N*× standard deviation of regression residuals, capturing dynamic S/R zones.
* **Dynamic Coloring**
* Median line turns **teal** when sloping up, **orange** when sloping down.
* Bands tinted green or red depending on their position relative to the median.
* **Channel Fill**
Optional shaded area between the bands for immediate visual context.
* **Touch Alerts**
Precision alerts and on-chart markers when price touches the support or resistance band, with configurable tick tolerance.
* **Clean Layout**
Minimal lines and plots to avoid chart clutter, adjustable via toggle inputs.
**How to Use**
1. **Apply the Script** – Add to any timeframe in overlay mode.
2. **Configure Inputs** –
* **Channel Length**: Number of bars for regression and volatility calculation.
* **Deviation Factor**: Multiplier for band width (in standard deviations).
* **Show/Hide Elements**: Toggle median line, bands, fill, and touch alerts.
* **Color by Slope**: Enable slope-based median coloring.
* **Touch Tolerance**: Number of ticks within which a band touch is registered.
3. **Interpret the Channel** –
* **Trend**: Follow the slope and color of the median line.
* **Support/Resistance**: Bands represent dynamic zones where price often reacts.
* **Alerts**: Use touch markers or alert pop-ups to time entries or exits at band levels.
**Inputs**
* **Channel Length** (default: 100)
* **Deviation Factor** (default: 1.0)
* **Show Median Regression Line** (true/false)
* **Show Channel Bands** (true/false)
* **Fill Between Bands** (true/false)
* **Color Median by Slope** (true/false)
* **Alert on Band Touch** (true/false)
* **Touch Tolerance (ticks)** (default: 2)
**Version History**
* **1.0** – Initial release with dynamic regression channel, slope coloring, band fill, and touch alerts.
**Disclaimer**
This indicator is intended for educational purposes. Always backtest with your own settings and apply sound risk management before trading live.
AI-Driven Sentiment Oscillator — Read the Market’s Mind!AI-Driven Sentiment Oscillator — Reading the Crypto Market’s Mind! 🔮
This innovative oscillator combines trading volume, price delta, and a simple AI-inspired smoothing algorithm to help you accurately gauge market sentiment on the daily timeframe. Designed for both beginner and professional traders, especially those focused on Bitcoin and the crypto market, it highlights emotional trends and potential reversal points.
🔍 Logic
By analyzing volume changes alongside price delta, this oscillator generates a smooth, oscillating curve around a zero line that reflects the market’s overall sentiment. The model accounts for both the direction and strength of price movements, filtering signals through AI-like logic to provide reliable insights.
⏱️ Timeframe
Built specifically for daily charts, this tool captures long-term trends and market emotions in the crypto space, with a particular focus on Bitcoin.
⚙️ Settings
Users can customize the oscillator’s length, volume sensitivity, and smoothing parameters to fit their trading style and risk tolerance.
🧰 Use Cases
Early detection of trend shifts when the oscillator crosses the zero line
Identifying overbought and oversold conditions beyond ±0.7 levels
Combining with trendlines and support/resistance for high-probability entries on Bitcoin charts
🚨 Alerts
Alert conditions trigger when the oscillator crosses above or below zero, signaling potential bullish or bearish momentum shifts.
📊 Visual Explanation
The blue oscillating curve displayed below the chart represents the sentiment oscillator. It fluctuates around the zero line:
Values above zero indicate bullish market sentiment with buyer dominance.
Values below zero reflect bearish pressure and seller dominance.
Dotted red and green lines mark overbought and oversold zones, respectively, which can signal possible trend reversals.
This visual tool helps you make better entry and exit decisions by tracking shifts in market sentiment in real-time.
Quantum Breakout Sentinel [LuxAlgo + AlgoAlpha Fusion]🛠️ Core Features
🔹 Swing Failure Patterns (SFP)
Bullish SFP (Blue): Price sweeps below a swing low but closes back above confirmation → Potential reversal long.
Bearish SFP (Red): Price sweeps above a swing high but closes back below confirmation → Potential reversal short.
✅ Option to toggle lines, wicks, and confirmation levels.
🎯 Precision-based: Filters out weak or unclear liquidity grabs.
🔸 Range Breakout Zones
Compression Boxes detect consolidation zones with low volatility.
When breakout occurs, volume profile paints:
💚 Bull volume dominance (turquoise highlight)
❤️ Bear volume dominance (red highlight)
These zones represent energy storage areas — once broken, expect strong directional expansion.
🧠 How to Use It Effectively
1. Reversal Entries (Using SFPs)
Look for SFPs that:
Form at key HTF structure (e.g., daily swing highs/lows)
Show a clear ▲ (bull) or ▼ (bear) label after a false breakout
Confluence with demand/supply zones = 💯
2. Breakout Trades (Using Range Boxes)
Wait for a volatility box to form (grey background).
Watch for breakouts with volume imbalance:
Bullish breakout + dominant bull box → Go long
Bearish breakout + dominant bear box → Go short
Target 1.5x to 2x box height for conservative exits.
3. Combining Both
BEST SETUPS:
SFP at the edge of a range box → Follow-through trade
Volume-confirmed breakout after fakeout (SFP) = Smart Money Trap Reversal
⚙️ Customization Options
Toggle SFP components: labels, lines, colors
Adjust range length, confirmation length
Choose your timeframe context (LTF integration)
Color-tune breakout boxes for your visual preference
🧭 Ideal For
Smart Money Traders
Price Action Breakout Traders
Scalpers using HTF confluence
Anyone who wants clean, signal-driven, non-repainting alerts
🔔 Pro Tip
Set alerts on SFP confirmations or volume-confirmed breakout zones to be notified in real time. These signals often precede rapid directional moves.
🙌 Special Thanks
This fusion tool would not be possible without the brilliant open-source contributions from:
🔷 LuxAlgo – For their powerful and widely respected Swing Failure Pattern (SFP) logic, designed to detect stop hunts and liquidity sweeps with precision.
🔶 AlgoAlpha – For their volatility compression breakout detection engine, which forms the foundation of the Range Breakout Boxes in this script.
📢 Massive respect to both teams for their dedication to elevating retail trading tools to institutional-grade standards.
This script is a community-powered blend of two elite systems, harmonized into one high-performance toolkit.
XAUUSD Scalping Strategy - FVG + CISD📈 XAUUSD Scalping Strategy – FVG + CISD (3M/5M)
This strategy is designed for high-probability scalping on gold (XAU/USD) using a blend of Smart Money Concepts (SMC) and momentum-based price action. It works best on the 3-minute and 5-minute charts with bias from the 15M or 1H timeframe.
🔍 Core Concepts:
Fair Value Gaps (FVGs): Price inefficiencies created when strong displacement candles leave behind imbalanced zones. Used as retracement entry points.
CISD (Change in State of Delivery): Detects momentum shifts using strong displacement candles following a liquidity sweep or market structure break.
Liquidity Sweeps: Identifies stops being taken above recent highs or below recent lows, often leading to a reversal.
Market Structure Break (MSB): Confirms the change in directional bias after a liquidity sweep and displacement.
🧠 Strategy Logic:
Buy Conditions:
Bias is set to “Bullish”
Price sweeps a recent swing low (liquidity grab)
A strong bullish displacement candle confirms momentum (CISD)
A bullish Fair Value Gap forms
A bullish Market Structure Break occurs
Sell Conditions:
Bias is set to “Bearish”
Price sweeps a recent swing high
A strong bearish displacement candle confirms reversal
A bearish Fair Value Gap forms
A bearish Market Structure Break occurs
🎯 Entry & Risk Management:
Entry: Upon retracement into the Fair Value Gap (FVG)
Stop-Loss: Below swing low (for buys) or above swing high (for sells)
Take-Profit: 2x Reward-to-Risk ratio (adjustable)
Alerts: Configurable alerts notify you of qualified trade setups in real time
✅ Best Use Practices:
Use only during high-volume sessions (London/NY open)
Confirm direction using M15 or H1 bias
Avoid ranging markets or choppy sessions
Combine with liquidity zones or higher timeframe supply/demand for stronger confluence
RSI Advanced Divergence Toolkit [Weekly v3]RSI Advanced Divergence Toolkit – User Guide
🛠️ What This Indicator Does
This tool is designed for weekly chart analysis and helps identify high-probability reversal and continuation signals using:
✅ RSI Divergences (Wilder & Cardwell)
✅ RSI Failure Swings
✅ RSI Range Shifts
✅ Price Action Confirmation (hammer, support, resistance)
✅ Volume Confirmation
✅ Visual Divergence Lines on Price & RSI
It helps confirm both trend reversals and continuations, especially when RSI behavior aligns with price structure and volume.
📈 How to Use It
Use this indicator on weekly charts for best results, but it works on any timeframe. Combine it with your technical strategy and watch for the following signals:
🔍 Signal Types & What They Mean
🟢 Bullish Reversal Signals
These suggest potential trend reversals upward:
1. Regular Bullish Divergence
RSI forms a higher low
Price forms a lower low
⃤⃤🟢 Green triangle below the bar
📉 Indicates bearish momentum weakening — buy opportunity
2. Hidden Bullish Divergence
RSI forms a lower low
Price forms a higher low
🔽 Blue triangle below the bar
🔁 Indicates trend continuation upward — bullish signal
3. Bullish Failure Swing
RSI drops below 30 (oversold), then makes higher lows
Momentum reversal setup per Wilder
▲ White triangle below the bar
🔴 Bearish Reversal Signals
These suggest potential trend reversals downward:
1. Regular Bearish Divergence
RSI forms a lower high
Price forms a higher high
🔶 Orange triangle above the bar
🚨 Warning of potential top — sell signal
2. Hidden Bearish Divergence
RSI forms a higher high
Price forms a lower high
▽ Maroon triangle above the bar
🔁 Indicates trend continuation downward
3. Bearish Failure Swing
RSI goes above 70 (overbought), then makes lower highs
🟪 Purple triangle above the bar
Used to spot early bearish momentum shifts
🧩 Additional Confirmations
✅ Price Action Confirmation
Hammer (bullish reversal) or Shooting Star (bearish reversal) candlestick detected
Support/Resistance Zones based on recent highs/lows
✅ Volume Confirmation
Signals are more reliable when volume is above its 20-period average
Volume spikes (yellow dot) indicate strong interest — important during breakouts
✅ RSI Range Shifts
Uptrend RSI Shift: RSI stays above 40 — green background
Downtrend RSI Shift: RSI stays below 60 — red background
Confirms overall trend strength
🖍️ Visual Tools
🔗 Divergence Lines
Green / Blue lines: Bullish divergences on RSI and price
Red / Purple lines: Bearish divergences
Lines are dynamically drawn between recent swing highs/lows for quick visual confirmation
⚠️ Best Practices
Use in confluence with trendlines, major support/resistance, and chart patterns
Works best on weekly charts for longer-term swing signals
Combine with other tools like moving averages or Fibonacci for added validation
Disclaimer:
This indicator was created by an AI language model and is provided for educational and informational purposes only. The user uploading or using this script is not a financial expert and assumes all responsibility for any trades made based on this indicator. Always perform your own analysis and consult with a qualified financial advisor before making investment decisions. Past performance does not guarantee future results.
GStrategy 1000Pepe 15mTrend Following Candlestick Strategy with EMA Filter and Exit Delay
Strategy Concept
This strategy combines candlestick patterns with EMA trend filtering to identify high-probability trade entries, featuring:
Entry Signals: Hammer and Engulfing patterns confirmed by EMA trend
Trend Filter: Fast EMA (20) vs Slow EMA (50) crossover system
Risk Management: 5% stop-loss + 1% trailing stop
Smart Exit: 2-bar delay after exit signals to avoid whipsaws
Key Components
Trend Identification:
Uptrend: Fast EMA > Slow EMA AND rising
Downtrend: Fast EMA < Slow EMA AND falling
Entry Conditions:
pinescript
// Bullish Entry (Long)
longCondition = (Hammer OR Bullish Engulfing)
AND Uptrend
AND no existing position
// Bearish Entry (Short)
shortCondition = Bearish Engulfing
AND Downtrend
AND no existing position
Exit Mechanics:
Primary Exit: EMA crossover (Fast crosses Slow)
Delayed Execution: Waits 2 full candles after signal
Emergency Exits:
5% fixed stop-loss
1% trailing stop
Visual Dashboard:
Colored EMA lines (Blue=Fast, Red=Slow)
Annotated candlestick patterns
Background highlighting for signals
Distinct markers for entries/exits
Unique Features
Pattern Recognition:
Enhanced Hammer detection (strict body/wick ratios)
Multi-candle engulfing confirmation
Trend-Confirmation:
Requires price and EMA alignment
Filters counter-trend patterns
Exit Optimization:
pinescript
// Delay implementation
if exit_signal_triggered
counter := 2 // Start countdown
else if counter > 0
counter -= 1 // Decrement each bar
exit_trade = (counter == 1) // Execute on final bar
Risk Parameters
Parameter Value Description
Stop Loss 5% Fixed risk per trade
Trailing Stop 1% Locks in profits
Exit Delay 2 bars Reduces false exits
Position Size 100% No pyramiding
Visualization Examples
🟢 Green Triangle: Bullish entry
🔴 Red Triangle: Bearish entry
⬇️ Blue X: Long exit (after delay)
⬆️ Green X: Short exit (after delay)
🎯 Pattern Labels: Identifies hammer/engulfing
Recommended Use
Timeframes: 1H-4H (reduces noise)
Markets: Trend-prone assets (FX, indices)
Best Conditions: Strong trending markets
Avoid: Choppy/Ranging markets
Weekly Signals Stochastic Oscillator 14, 1, 3 (Roman)This indicator shows Weekly Sell / Buy Signals based on Stochastic Oscillator curves (14, 1, 3) in the overpriced and underpriced zones. (You can also set Alarms with this Script). Feel free to use the script code :-).
Accurate 1-Min Trend System [Dr.K.C.Prakash]Accurate 1-Min Trend System — Indicator Overview
This 1-minute trend-following system is designed to identify high-probability intraday entries using a combination of EMA-based trend direction, swing structure, and price action strength. It is optimized for option buying or scalping entries in strong directional moves.
🧠 Core Logic:
1. Trend Filter (Context Check)
Uses 50 EMA (fast) and 200 EMA (slow) to determine the market trend.
Only takes buy entries in uptrends and sell entries in downtrends.
Additional filters ensure both EMAs are rising or falling, avoiding sideways noise.
2. Swing Structure Confirmation
Uses swing high/low over a lookback period to ensure price is breaking structure favorably.
Buy: Price closes above previous swing low in an uptrend.
Sell: Price closes below previous swing high in a downtrend.
3. Candle Strength Filter
Ensures only strong bullish or bearish candles (large body relative to ATR) are used for entries.
Filters out weak or indecisive candles, increasing precision.
4. Entry Gapping
Avoids overtrading by restricting entries within a set number of bars (gapBars) since the last trade.
Prevents back-to-back signals during chop or fakeouts.
📊 Visual Components:
🔶 Orange Line: 50 EMA (short-term trend)
🟦 Teal Line: 200 EMA (long-term trend)
🟢 BUY Label: Signals a strong bullish entry
🔴 SELL Label: Signals a strong bearish entry
✅ Best Use Cases:
1-minute scalping in index options (e.g., NIFTY/BankNIFTY)
Filtering trades only in strong directional bias
Combining with manual support/resistance or higher-timeframe SMC zones
MohdTZ - XO Trend Scanner/EMA/ATR Bands/WatermarkATR Bands: Plots a 36-period EMA with upper and lower bands based on a 14-period ATR (Average True Range) multiplied by 0.5, creating a dynamic channel around the EMA to highlight volatility.
Trend Scanner: Uses Fast (12-period) and Slow (25-period) EMAs to identify bullish (green) or bearish (red) trends, with buy/sell signals marked by triangles and bar coloring.
Stochastic RSI: Calculates Stochastic RSI with customizable K, D, and band levels (80/50/20) for overbought/oversold conditions, with crossover alerts and optional background coloring.
200 EMA: Displays a 200-period EMA for long-term trend reference.
Watermark: Adds a customizable text watermark (title, subtitle, symbol info, date) with adjustable position, size, and color.
Easy Move & Squeeze Alerts1. Overview
The Easy Move & Squeeze Alerts indicator combines two proven techniques to help you anticipate major price swings and spot volatility compressions (long/short squeezes) early on. It offers:
Automated Alerts via TradingView’s alert engine
On-chart Visual Cues for immediate context
Flexible Inputs to fine-tune sensitivity, lookback length, and display options
2. TTM Squeeze (Volatility Compression)
Core Concept: Compares Bollinger Bands (standard deviation channels) with Keltner Channels (ATR-based channels).
Squeeze On: BBs lie completely inside Keltner Channels → volatility is compressed, signaling a potential buildup.
Squeeze Off: BBs break outside Keltner Channels → typically the start of a strong directional move.
Alert: When the squeeze releases, the indicator fires an alert:
💥 Squeeze Release – Volatility incoming!
Chart Label: A small, purple “🔒 Squeeze” label appears above the high of each bar while compression persists, giving you a real-time visual flag.
3. ATR Breakouts (Detecting Large Moves)
Core Concept: Builds a dynamic price channel around an EMA using ATR (Average True Range) multiplied by your chosen factor.
Cross Events:
Price crosses above the upper ATR band → potential bullish breakout.
Price crosses below the lower ATR band → potential bearish breakdown.
Alert Conditions: Separate alert triggers for “🚀 Move Up” and “📉 Move Down” fire the moment the close breaches the ATR-based bounds.
4. Visualization & Usage
Channel Plots:
Bollinger Bands in blue
Keltner Channels in orange
ATR Channels in aqua (optional)
Toggle all channel plots on or off with the showZones input.
Background Highlight: During a squeeze, the chart background lightly tints purple for quick visual confirmation.
Alerts Setup:
Simply click Create Alert in TradingView, select this indicator, and choose the event(s) you want (squeeze release, ATR breakouts).
You can route notifications via email, webhook, SMS, or platform pop-ups.
5. Deployment & Customization
Timeframes: Effective across all timeframes; most popular for day- and swing-trading.
Parameter Tuning:
Increase the len value to smooth channels and focus on only the most significant compressions/moves.
Adjust the ATR or BB multipliers to make alerts more or less sensitive.
With this indicator, you gain a clear, actionable framework for spotting both volatility squeezes and breakouts before they unfold—empowering you to enter trades ahead of the crowd. Enjoy customizing and putting it to work!
Events assistantThis script gives an ability to manually add events to your charts. There is no option to define events for different pairs. I trade only 2-3 pairs and it helps me a lot. It also draws vertical lines that separate trading period of your selection: daily, weekly and monthly. It is also possible to strictly define trading period. I use trading period every time during backtesting so it is easy to know when to start and when to finish. It also helps to remember that I already written down trading news during selected period.
Filtered ATR (5 bars)//@version=5
indicator("Filtered ATR (5 bars)", overlay=false)
length = 5
lookback = 15 // Сколько последних баров анализировать
threshold = input.float(1.5, title="Порог отклонения (x среднее)")
// Вычисляем TR (True Range)
tr = ta.tr(true)
// Собираем TR в массив
var float tr_array = array.new_float()
array.clear(tr_array)
for i = 1 to lookback
array.push(tr_array, tr )
// Считаем среднее вручную
sum = 0.0
for i = 0 to array.size(tr_array) - 1
sum := sum + array.get(tr_array, i)
mean = sum / array.size(tr_array)
// Считаем стандартное отклонение вручную
sum_squares = 0.0
for i = 0 to array.size(tr_array) - 1
val = array.get(tr_array, i)
sum_squares := sum_squares + math.pow(val - mean, 2)
stdev = math.sqrt(sum_squares / array.size(tr_array))
// Фильтруем значения TR, которые укладываются в ±threshold * std
float total = 0.0
int count = 0
for i = 0 to array.size(tr_array) - 1
val = array.get(tr_array, i)
if val >= mean - stdev * threshold and val <= mean + stdev * threshold
total := total + val
count := count + 1
// Считаем ATR по отфильтрованным TR
filteredATR = count >= length ? total / count : na
plot(filteredATR, title="Filtered ATR", color=color.orange, linewidth=2)
StochFusion – Multi D-LineStochFusion – Multi D-Line
An advanced fusion of four Stochastic %D lines into one powerful oscillator.
What it does:
Combines four user-weighted Stochastic %D lines—from fastest (9,3) to slowest (60,10)—into a single “Fusion” line that captures both short-term and long-term momentum in one view.
How to use:
Adjust the four weights (0–10) to emphasize the speed of each %D component.
Watch the Fusion line crossing key zones:
– Above 80 → overbought condition, potential short entry.
– Below 20 → oversold condition, potential long entry.
– Around 50 → neutral/midline, watch for trend shifts.
Applications:
Entry/exit filter: Only take trades when the Fusion line confirms zone exits.
Trend confirmation: Analyze slope and cross of the midline for momentum strength.
Multi-timeframe alignment: Use on different chart resolutions to find confluence.
Tips & Tricks:
Default weights give more influence to slower %D—good for trend-focused strategies.
Equal weights provide a balanced oscillator that mimics an ensemble average.
Experiment: Increase the fastest weight to capture early reversal signals.
Developed by: TradeQUO — inspired by DayTraderRadio John
“The best momentum indicator is the one you adapt to your own trading rhythm.”