Choch Pattern Levels WITH ALERTS [credit to: @BigBeluga]🔵 OVERVIEW
The Choch Pattern Levels WITH ALERTS indicator automatically detects Change of Character (CHoCH) shifts in market structure — crucial moments that often signal early trend reversals or major directional transitions. It plots the structural break level, visualizes the pattern zone with triangle overlays, and tracks delta volume to help traders assess the strength behind each move. Now, an additional feature of alerts have been included!
🔵 CONCEPTS
CHoCH Pattern: A bullish CHoCH forms when price breaks a previous swing high after a swing low, while a bearish CHoCH appears when price breaks a swing low after a prior swing high.
snapshot
Break Level Mapping: The indicator identifies the highest or lowest point between the pivot and the breakout, marking it with a clean horizontal level where price often reacts.
snapshot
Delta Volume Tracking: Net bullish or bearish volume is accumulated between the pivot and the breakout, revealing the momentum and conviction behind each CHoCH.
snapshot
Chart Clean-Up: If price later closes through the CHoCH level, the zone is automatically removed to maintain clarity and focus on active setups only.
🔵 FEATURES
Automatic CHoCH pattern detection using pivot-based logic.
Triangle shapes show structure break: pivot → breakout → internal high/low.
snapshot
snapshot
Horizontal level marks the structural zone with a ◯ symbol.
snapshot
Optional delta volume label with directional sign (+/−).
Green visuals for bullish CHoCHs, red for bearish.
Fully auto-cleaning invalidated levels to reduce clutter.
Clean organization of all lines, labels, and overlays.
User-defined Length input to adjust pivot sensitivity.
snapshot
NEW! - alert system inserted to Pinescript for either: any triangle forms or whether a bullish "green" triangle or bearish "red" triangle forms - providing real-time alerts for whenever timeframe chart you've selected while creating the alert.
🔵 HOW TO USE
Use CHoCH levels as early trend reversal zones or confirmation signals.
Treat bullish CHoCHs as support zones, bearish CHoCHs as resistance.
Look for high delta volume to validate the strength behind each CHoCH.
Combine with other BigBeluga tools like supply/demand, FVGs, or liquidity maps for confluence.
Adjust pivot Length based on your strategy — shorter for intraday, longer for swing trading.
🔵 CONCLUSION
Choch Pattern Levels WITH ALERTS highlights key structural breaks that can mark the start of new trends. By combining precise break detection with volume analytics and automatic cleanup, it provides actionable insights into the true intent behind price moves — giving traders a clean edge in spotting early reversals and key reaction zones with real-time alerts for precision to evaluate and enter markets.
Candlestick analysis
Inverse Fair Value Gaps (Wicks) v6 — Sticky + IFVG
This script identifies Fair Value Gaps (FVGs) and Inverse FVGs (IFVGs) using wicks (high/low) rather than candle bodies. It helps traders identify price gaps that could act as potential support/resistance or trigger reversals.
FVGs: Unfilled gaps in price caused by rapid price movement.
IFVGs: Occur when price breaks beyond a previous FVG, signaling potential continuation or reversal
ATR Channel (Bottom & Top)The ATR Channel (Bottom & Top) indicator dynamically visualizes market volatility zones based on the Average True Range (ATR). It automatically builds adaptive upper and lower boundaries around the current price, helping traders identify potential market extremes, volatility-driven reversals, and dynamic support/resistance levels.
This version is specifically optimized for Bitcoin (BTCUSDT) but works with any asset or timeframe.
⚙️ How It Works
The indicator calculates ATR over a user-defined period (default 200) and applies separate multipliers for the top and bottom bands (default ×1).
The Top Band = Close + (ATR × Multiplier)
The Bottom Band = Close - (ATR × Multiplier)
These two adaptive bands create a volatility envelope, allowing traders to visualize where the price may encounter potential exhaustion or reversal zones.
💡 Signal Logic
LONG Signal (Green Tab):
Triggered when the low of the candle touches or dips below the ATR bottom line — suggesting a possible oversold or volatility-based bottoming area.
The label displays the exact ATR line value (not the close), formatted for better readability (e.g. “LONG 103 885”).
SELL Signal (Red Tab):
Triggered when the high of the candle touches or exceeds the ATR top line — signaling possible overbought conditions or an exhaustion zone.
Signal Filtering:
The script intelligently avoids duplicate signals — e.g., multiple consecutive LONGs or SELLs will not appear until the opposite signal is triggered.
This ensures cleaner visualization and reduces signal noise during consolidation periods.
🎯 Features
✅ Adaptive ATR-based volatility channel
✅ Automatic LONG/SELL signal labeling with real ATR-touch prices
✅ Customizable parameters:
✅ Intelligent filtering (one signal per phase)
✅ Works on any market and timeframe (crypto, forex, indices, stocks)
🧭 Trading Applications
Identify volatility extremes (ATR-based overbought/oversold zones)
Detect reversal points or exhaustion moves after extended trends
Use with trend filters (e.g. EMA200) to confirm trend continuation vs mean reversion setups
Combine with oscillators (RSI, Stoch) for confluence signals
📊 Summary
The ATR Channel (Bottom & Top) provides a clear, professional-grade visualization of volatility dynamics and price extremes.
It is especially useful for traders using mean-reversion, volatility breakout, or swing-trading strategies — helping them identify statistically significant reaction zones and improving trade timing precision.
MACD crossover while RSI Oversold/Overbought# MACD Crossover with RSI Overbought/Oversold Indicator Explained
## Indicator Overview
This is a trading signal system that combines two classic technical indicators: **MACD (Moving Average Convergence Divergence)** and **RSI (Relative Strength Index)**. Its core logic is: MACD crossover signals are only triggered when RSI is in extreme zones (overbought/oversold), thereby filtering out many false signals and improving trading accuracy.
## Core Principles
### 1. **Dual Confirmation Mechanism**
This indicator doesn't use MACD or RSI alone, but requires both conditions to be met simultaneously:
- **Short Signal (Orange Triangle)**: MACD bearish crossover (fast line crosses below signal line) + RSI was overbought (≥71)
- **Long Signal (Green Triangle)**: MACD bullish crossover (fast line crosses above signal line) + RSI was oversold (≤29)
### 2. **RSI Memory Function**
The indicator checks the RSI values of the current and past 5 candlesticks. As long as any one of them reaches the overbought/oversold level, the condition is satisfied. This design avoids overly strict requirements, as RSI may have already left the extreme zone before the MACD crossover occurs.
```pine
wasOversold = rsi <= 29 or rsi <= 29 or ... or rsi <= 29
wasOverbought = rsi >= 71 or rsi >= 71 or ... or rsi >= 71
```
## Parameter Settings
### MACD Parameters
- **Fast MA**: 12 periods (adjustable 7-∞)
- **Slow MA**: 26 periods (adjustable 7-∞)
- **Signal Line**: 9 periods
### RSI Parameters
- **Oversold Threshold**: 29 (traditional 30)
- **Overbought Threshold**: 71 (traditional 70)
- **Calculation Period**: 14
## Visual Elements
### 1. **Signal Markers**
- 🔻 **Orange Downward Triangle**: Appears above the candlestick, labeled "overbought", indicating a shorting opportunity
- 🔺 **Green Upward Triangle**: Appears below the candlestick, labeled "oversold", indicating a long opportunity
### 2. **Price Level Lines**
- **Orange Dashed Line**: Extends rightward from the high of the short signal, serving as a potential resistance level
- **Green Dashed Line**: Extends rightward from the low of the long signal, serving as a potential support level
Each time a new signal appears, the old level line is deleted, keeping only the most recent reference line.
## Trading Logic Explained
### Short Signal Scenario
1. Price rises, RSI surges above 71 (market overheated)
2. Momentum subsequently weakens, MACD fast line crosses below signal line
3. Indicator draws an orange triangle at the high, alerting to reversal risk
4. Orange dashed line marks the high point of the short entry position
### Long Signal Scenario
1. Price falls, RSI drops below 29 (market oversold)
2. Selling pressure exhausted, MACD fast line crosses above signal line
3. Indicator draws a green triangle at the low, suggesting a rebound opportunity
4. Green dashed line marks the low point of the long entry position
## Advantages and Limitations
### ✅ Advantages
- **Filters Noise**: Reduces false signals through dual confirmation
- **Captures Reversals**: Catches trend reversals in extreme conditions
- **Visual Clarity**: Level lines help identify support/resistance
- **Built-in Alerts**: Can set up message push notifications
### ⚠️ Limitations
- **Lag**: Both indicators are lagging, signals may be delayed
- **Poor Performance in Ranging Markets**: Prone to whipsaws during consolidation
- **Needs Other Analysis**: Should not be the sole decision-making basis
- **Parameter Sensitivity**: Different markets and timeframes may require parameter adjustments
## Practical Trading Suggestions
1. **Confirm Trend Context**: Counter-trend signals carry high risk in strong trending markets
2. **Combine with Candlestick Patterns**: Confirm with patterns (such as engulfing, hammer candles)
3. **Set Stop Losses**: Use level lines as stop-loss references (long stop below green line, short stop above orange line)
4. **Watch Volume**: Signals accompanied by high volume are more reliable
5. **Multi-Timeframe Verification**: Signals appearing simultaneously on daily and 4-hour charts are more credible
## Summary
This indicator follows the "mean reversion from extremes" philosophy, seeking reversal opportunities when market sentiment becomes excessive. It's suitable for auxiliary judgment, particularly in swing trading and position trading strategies. But remember, no indicator is perfect—always combine risk management and multi-dimensional analysis when making trading decisions
Momentum Squeeze Candle [Darwinian]# Momentum Squeeze Candle
Professional squeeze detection indicator with Wyckoff accumulation/distribution analysis and multi-method momentum signals.
## Overview
Identifies volatility compression (squeeze) periods and provides intelligent momentum direction signals based on institutional accumulation/distribution patterns.
## Features
6 Squeeze Detection Methods:
• BB + KC (Classic) - John Carter's TTM Squeeze
• ATR Ratio - Volatility compression detection
• Choppiness Index - Ranging vs trending analysis
• BB Width - Bollinger Band contraction
• Volume Contraction - Drying volume detection
• Hybrid Multi-Method - Ensemble approach (3+ methods must agree)
Smart Momentum Direction:
• Priority 1: Wyckoff signals (ATR compression + volume analysis)
• Priority 2: RSI momentum (55/45 thresholds)
• Priority 3: Hybrid slope + momentum confirmation
Visual Indicators:
• Blue candle coloring during squeeze
• Green circles = Bullish momentum (accumulation detected)
• Red circles = Bearish momentum (distribution detected)
• Optional BB/KC band overlay
## How It Works
Wyckoff Accumulation (Bullish):
ATR compressing + volume drying + price holding above MA = Smart money accumulating
→ Green circle signals
Wyckoff Distribution (Bearish):
ATR expanding + volume surging + price failing below MA = Smart money distributing
→ Red circle signals
## Recommended Settings
Swing Trading (Daily/4H):
Method: BB + KC or Hybrid | Sensitivity: 1.2-1.5
Day Trading (15m-1H):
Method: ATR Ratio or BB Width | Sensitivity: 0.8-1.0
Scalping (1m-5m):
Method: Volume Contraction | Sensitivity: 0.7-0.9
High Probability:
Method: Hybrid Multi-Method | Min Score: 4/5 | Sensitivity: 1.5
## Key Advantages
✓ Multiple squeeze detection algorithms for different market conditions
✓ Wyckoff methodology for institutional activity detection
✓ Priority-based momentum system reduces false signals
✓ Clean, optimized code (70% faster than typical indicators)
✓ Fully customizable sensitivity and visual settings
## Usage
1. Choose squeeze detection method based on your trading style
2. Watch for blue candles (squeeze active)
3. Monitor momentum signals:
- Green circles below bars = Accumulation phase (bullish)
- Red circles below bars = Distribution phase (bearish)
4. Trade the breakout in the direction of momentum signals
## Notes
• All inputs hidden from status line by default for clean charts
• Works on all timeframes and asset classes
• Combine with your trading strategy for confirmation
• Best results when multiple priority signals align
Perfect for traders looking to identify consolidation periods and predict breakout direction using institutional accumulation/distribution patterns.
Advanced Multi-EMA System with Dashboard📋 Table of Contents-
Overview
Setup & Installation
Indicator Configuration
Trading Signals
Dashboard Interpretation
Trading Strategy
Risk Management
Advanced Features
🎯 Overview
This comprehensive trading system combines multiple EMA timeframes with advanced market analysis to provide complete market context. It's designed for both swing trading and day trading across all timeframes.
⚡ Setup & Installation
Step 1: Access Pine Script Editor
Open TradingView
Select your preferred chart
Click "Pine Editor" at the bottom of the screen
Remove any existing code
Paste the complete script I provided
Click "Add to Chart"
Step 2: Initial Configuration
pinescript
// Basic Setup:
EMA Type: EMA/TMA/RMA/SMA (default: EMA)
Show EMA 9: ON
Show EMA 21: ON
Show EMA 150: ON
Show EMA 200: ON
⚙️ Indicator Configuration
EMA Types Explained:
EMA (Exponential Moving Average): More weight to recent prices
SMA (Simple Moving Average): Equal weight to all prices
RMA (Relative Moving Average): Modified EMA calculation
TMA (Triangular Moving Average): Double-smoothed average
Recommended Settings:
pinescript
// Day Trading (1-15 min charts):
EMA 9: Fast momentum
EMA 21: Short-term trend
EMA 150: Medium-term trend
EMA 200: Long-term trend
// Swing Trading (1H-4H charts):
Use same lengths but adjust trailing stop parameters
📊 Dashboard Interpretation
Trend Analysis Section:
PRIMARY TREND: EMA 150 vs EMA 200 (Long-term)
SECONDARY TREND: EMA 21 vs EMA 150 (Medium-term)
HTF TREND: 1-hour timeframe context
Score Interpretation:
TREND STRENGTH: -1.0 to +1.0
+0.5 to +1.0: Strong Bullish
0 to +0.5: Mild Bullish
-0.5 to 0: Mild Bearish
-1.0 to -0.5: Strong Bearish
MOMENTUM SCORE: RSI-based
Above +0.2: Bullish momentum
Below -0.2: Bearish momentum
VOLATILITY SCORE: ATR-based
Above 0.5: High volatility (caution)
Below 0.5: Low volatility
Volume Analysis:
VOLUME STRENGTH: Current vs average volume
BUYER/SELLER BALANCE: Cumulative delta calculation
🎯 Trading Signals
Long Entry Conditions:
pinescript
1. EMA 150 crosses ABOVE EMA 200
2. Primary Trend shows BULLISH
3. Trend Strength > 0.3
4. Momentum Score > 0
Short Entry Conditions:
pinescript
1. EMA 150 crosses BELOW EMA 200
2. Primary Trend shows BEARISH
3. Trend Strength < -0.3
4. Momentum Score < 0
Entry Confirmation:
Wait for these additional confirmations:
Price closes above EMA 21 for long entries
Price closes below EMA 21 for short entries
Volume strength confirming the move
💡 Trading Strategy
Bullish Market Setup:
text
OVERALL BIAS: STRONG BULLISH
PRIMARY TREND: BULLISH
SECONDARY TREND: BULLISH
TREND STRENGTH: > 0.5
MOMENTUM: > 0.2
ACTION: Look for long entries on pullbacks
Bearish Market Setup:
text
OVERALL BIAS: STRONG BEARISH
PRIMARY TREND: BEARISH
SECONDARY TREND: BEARISH
TREND STRENGTH: < -0.5
MOMENTUM: < -0.2
ACTION: Look for short entries on bounces
Range-bound Market:
text
OVERALL BIAS: NEUTRAL
TREND STRENGTH: -0.3 to +0.3
ACTION: Avoid trend trades, consider mean reversion
🛡️ Risk Management
Position Sizing:
pinescript
// Conservative:
1-2% risk per trade
// Moderate:
2-3% risk per trade
// Aggressive:
3-5% risk per trade (not recommended)
Stop Loss Placement:
Initial Stops:
Long positions: Below recent swing low or EMA 150
Short positions: Above recent swing high or EMA 150
Trailing Stops:
Uses fast EMA (default: 8-period)
Automatically adjusts as price moves in your favor
Can be disabled in settings
Exit Strategies:
Profit Taking:
Take 50% profit at 1:1 risk-reward ratio
Trail remainder with fast EMA
Emergency Exits:
pinescript
// Long Position Exit:
1. Price rejection at highs (bearish engulfing)
2. EMA 9 crosses below EMA 21
3. Close below trailing stop
4. Trend Strength turns negative
// Short Position Exit:
1. Price rejection at lows (bullish engulfing)
2. EMA 9 crosses above EMA 21
3. Close above trailing stop
4. Trend Strength turns positive
🚀 Advanced Features
Multi-Timeframe Analysis:
The script automatically analyzes the 1-hour timeframe to:
Confirm primary trend direction
Identify higher timeframe support/resistance
Avoid trading against major trend
Volume Analysis:
Institutional Activity Detection:
Unusually high volume on breakouts
Declining volume on pullbacks
Buyer/Seller balance showing dominance
Market Structure Assessment:
Bullish Structure:
Price above all EMAs
Higher highs and higher lows
Strong volume on up moves
Bearish Structure:
Price below all EMAs
Lower highs and lower lows
Strong volume on down moves
📈 Practical Trading Examples
Example 1: Perfect Long Setup
text
DASHBOARD READING:
PRIMARY TREND: BULLISH ✅
SECONDARY TREND: BULLISH ✅
TREND STRENGTH: 0.72 ✅
MOMENTUM: 0.35 ✅
VOLUME: STRONG ✅
BUYER/SELLER: 0.45 ✅
MARKET STRUCTURE: BULLISH ✅
TRADING SIGNAL: LONG SETUP ✅
ACTION: Enter long on pullback to EMA 21
STOP LOSS: Below EMA 150
TARGET: Previous resistance level
Example 2: Avoid This Trade
text
DASHBOARD READING:
PRIMARY TREND: BULLISH ✅
SECONDARY TREND: BEARISH ❌
TREND STRENGTH: 0.15 ❌
MOMENTUM: -0.10 ❌
VOLUME: WEAK ❌
BUYER/SELLER: -0.20 ❌
MARKET STRUCTURE: NEUTRAL ❌
TRADING SIGNAL: NO SIGNAL ✅
ACTION: Stay out - conflicting signals
REASON: Weak momentum, bearish secondary trend
🔧 Customization Tips
For Scalpers (1-5 minute charts):
pinescript
ema9_len: 5
ema21_len: 13
fast_ema_stop_len: 3
For Swing Traders (4H-Daily charts):
pinescript
ema9_len: 9
ema21_len: 21
ema150_len: 50
ema200_len: 200
Color Customization:
You can modify colors in the script:
Change color.green to your preferred bullish color
Change color.red to your preferred bearish color
Adjust transparency with color.new(color, transparency)
❌ Common Mistakes to Avoid
Trading Against Primary Trend
Don't go long when PRIMARY TREND is BEARISH
Don't go short when PRIMARY TREND is BULLISH
Ignoring Risk Levels
HIGH RISK warning means reduce position size
LOW RISK means normal trading conditions
Chasing Entries
Wait for pullbacks in trending markets
Don't FOMO when signal appears late
Overriding the System
Trust the dashboard readings
Don't let emotions override signals
✅ Best Practices
Daily Routine:
Check higher timeframes first
Read dashboard before placing trades
Set alerts for key levels
Trade Management:
Set stops immediately after entry
Monitor trailing stops daily
Take partial profits at targets
Performance Tracking:
Keep trade journal
Review dashboard accuracy
Adjust parameters if needed
🆘 Troubleshooting
Common Issues:
Alerts Not Working:
Check TradingView alert settings
Ensure "Once Per Bar" is selected
Verify you're on real-time data
Dashboard Not Showing:
Check "Show Dashboard" is enabled
Ensure you're viewing latest bar
Try refreshing the chart
Lines Not Plotting:
Verify EMA toggles are ON
Check for sufficient historical data
Ensure script compiled without errors
🎉 Conclusion
This system provides everything you need for professional trading:
✅ Clear entry/exit signals
✅ Comprehensive market analysis
✅ Built-in risk management
✅ Real-time alerts
✅ Multi-timeframe context
Remember: No system is perfect. Always combine with price action analysis and proper risk management.
Breakout an Reversal Signal Detector with Colored in Bar TrendsThe script detects breakouts and/or reversals: when candles close outside the recent period high or low, it prompts a signal, indicating a change in market trend.
You can customize the bar color to indicate trending phases.
It can be used effectively to identify both breakouts and reversals, making it a versatile tool for trend and reversal analysis.
Simple yet effective.
Enjoy!
ADX + Envelope AutoOptimizer MTF Analyzer🔹 ADX + Envelope AutoOptimizer v8.1
Smart hybrid system combining ADX trend strength and Envelope volatility for dynamic optimization and performance tracking.
Features:
Auto-optimizer (3×3×3 grid: Length, Percent, ADX Threshold)
MTF Analyzer (30m → 1D) with color-coded stats
Real-time self-calculated metrics: Net Profit, Win Rate, Profit Factor
Automatic Buy/Sell/Short/Cover signals
Highlighted best timeframe (green background)
Fully dynamic, no repaint, multi-market compatible
Profit Factor Colors:
> 🟢 >2.0 Excellent 🟩 1.5–2.0 Good 🟡 1.0–1.5 Moderate 🔴 <1.0 Weak
Note:
This tool is designed for analytical and educational purposes only — not financial advice.
5min ORB SICKO ModeThe orb strategy is automated. 5m orb concept is coded into an indicator strategy with multiple settings.
Morning Star & Rising Star Detector - Neon CandlesMorning Star & Rising Star to determine several levels and forecast what might happen next with the price.
Price Action [False Break+BreakOut]⚙️ Core Features
Pivot Point Detection
Customizable Pivot Detection: Set left and right length for pivot identification
Pivot Classification:
Higher High (HH): New high higher than previous high
Lower High (LH): New high but lower than previous high
Higher Low (HL): New low but higher than previous low
Lower Low (LL): New low lower than previous low
Visual Display Options
Triangle Markers: ▲/▼ symbols at pivot points
Price Labels: Display exact price values at pivot points
Support/Resistance Lines: Horizontal lines from pivot points
Fractal Chaos Channel: Display as channel lines
Breakout Detection
Breakout: Close above Pivot High
Breakdown: Close below Pivot Low
Visual Signals: Arrow icons and text labels ⬆️/⬇️
🚨 Special Feature: False Break Detection
How False Break Works
Tracks Recent Breakouts/Breakdowns
Monitors Reversals within specified number of bars
Uses Engulfing Conditions to confirm False Break signals
False Break Settings
Validation Bars: Configurable 1-10 bars for confirmation
Engulfing Check Options:
Include Candle Shadows: Check entire candle (body + shadows)
Body Only: Check only candle body
Customizable Colors and Text Sizes
False Break Signals
💥FalseB!!: False Break upward (Price breaks out then reverses down)
🚀FalseB!!: False Break downward (Price breaks down then reverses up)
📊 Trading Applications
For Price Action Traders
Identify market structure and trends
Locate key support/resistance from pivot points
Detect trend change patterns
For Breakout Trading
Distinguish between genuine breakouts and false breaks
Enter trades on confirmed breakouts
Set stop losses for false break trades
Risk Management
False Break Trading: Enter positions when false break detected
Genuine Breakouts: Wait for confirmation before entering
Use Pivot Levels for TP/SL placement
🎨 Customization Options
Selective Pivot Display: Choose which pivots to show (HH, LH, HL, LL)
Color and Style Adjustments
Bar Limit Settings: Control how many bars to display
Label and Text Size customization
M&B — Fixed Buy/Sell (v6) - confirmed barsThe Mother & Baby (M&B) Fixed Buy/Sell Indicator marks BUY and SELL signals based on two-candle inside-bar patterns. Signals are fixed and don’t move with new bars. Includes optional ATR filter for stronger setups.
Note:
For analysis and educational use only — not financial advice.
Kronos Scalper (RAVINDRA KHADSE) 11.11.2025Nice — below is a ready-to-copy TradingView Pine Script (v5) strategy named “Kronos Scalper”.
It’s a self-contained scalping strategy (non-repainting) with configurable EMAs trend filter, RSI entry filter, ATR-based stop loss / take profit, optional trailing stop, plots and entry/exit labels. Drop it into TradingView’s Pine editor and Add to Chart → Strategy Tester.
MAOs🌟 **MAOs By A8/4 — The Ultimate Indicator for XAUUSD Trading** 🌟
An intelligent **automated system** designed exclusively for **gold trading**, equipped with everything you need in one tool 🔥
💡 **Key Features of MAOs By A8/4**
✅ **Auto Entry Signals**
Automatically detects trade opportunities using a **refined MACD Histogram formula** for enhanced accuracy.
Displays **LONG/SHORT arrows only on the first bar** to keep your chart clean and readable.
✅ **Auto Take Profit & Stop Loss System (Auto TP/SL)**
Once a signal appears, the system automatically sets:
* **TP1 = +15 USD**
* **TP2 = +25 USD**
* **SL = -10 USD**
These levels are displayed as **dashed lines** on the chart — clear and updated in real-time.
✅ **Smart DCA System (3 Orders)**
Works for both LONG and SHORT positions:
* **Order 1:** Entry upon signal confirmation (after candle close)
* **Order 2:** Entry at 5 USD below/above Order 1
* **Order 3:** Entry at another 5 USD below/above Order 2
The system automatically **calculates the average entry price** and **adjusts the SL** to -10 USD from the average cost.
This helps **spread risk** and **increase recovery potential** when prices rebound 💰
✅ **Specially Designed for XAUUSD Trading**
Compatible with both **Spot Gold** and **TFEX Gold Futures**.
Perfect for traders who value **clear, structured entry and exit strategies**.
Mother & Baby — Nifty 5m (Bull/Bear)The Mother & Baby — Nifty 5m (Bull/Bear) indicator automatically detects two-bar inside-bar patterns, where the second (child) candle is completely within the previous (mother) candle. It highlights potential bullish or bearish setups using boxes, labels, and alerts. Includes optional ATR filtering, high/low guide lines, and customizable visuals for clear pattern recognition. Designed for educational and analytical use only — not financial advice.
RSI Cross Logic (Buy/Sell Dots)Certainly — here’s a **professionThis indicator identifies high-probability trend reversals by analyzing the psychological rhythm of RSI behavior.
It detects the initial momentum shift when RSI crosses its smoothed average, waits for a natural hesitation phase (a dip or bounce), and confirms reversal only when traders re-commit in the dominant direction.
Green and blue dots mark early bullish formation; aqua triangles confirm Buy signals.
Red and orange dots mark early bearish formation; yellow triangles confirm Sell signals.
A refined blend of momentum confirmation and trader psychology designed to filter noise and pinpoint genuine reversals.
Hourly High Low Short LinesDraws short horizontal lines at the previous hour’s high and low, aligned perfectly with the candle’s top and bottom.
It’s concise, clear, and fits well for the public script description box.
Trendline Detector - 3 TimeframesThis advanced Pine Script indicator automatically identifies and draws diagonal support and resistance trendlines across three customizable timeframes simultaneously.
Key Features:
Multi-Timeframe Analysis: Configure three independent sets (A, B, C) to analyze different timeframes on a single chart
Smart Pivot Detection: Identifies local minimums and maximums based on open/close prices rather than wicks, reducing false signals from volatile candle shadows
Automatic Trendline Drawing: Calculates ascending support lines from pivot lows and descending resistance lines from pivot highs
Touch Validation: Only displays trendlines that meet your minimum touch requirements, ensuring statistical significance
Customizable Parameters: Full control over lookback period, pivot window size, deviation tolerance, and minimum touches for each timeframe
Visual Pivot Markers: Optional display of all detected pivot points with color-coded arrows (green for lows, red for highs)
Extended Lines: All valid trendlines extend to the right for forward projection
How It Works:
The indicator scans historical bars within your specified lookback period to identify pivot points. It then evaluates all possible trendline combinations, counting how many price points touch each potential line within your deviation tolerance. The trendline with the most touches (meeting your minimum requirement) is displayed.
Parameter Breakdown:
Each set (A, B, C) includes five critical parameters:
Timeframe: The chart timeframe for analysis (e.g., "1" for 1-minute, "15" for 15-minute, "1D" for daily)
Lookback Bars: How many historical bars to scan for pivot points (default: 250). Higher values capture longer-term trends but may increase computation time.
Min Touches: Minimum number of price touches required for a trendline to be considered valid (default: 3). Higher values ensure stronger, more reliable trendlines but may filter out emerging trends.
Deviation %: Percentage tolerance for what constitutes a "touch" (default: 0.1-1.0%). A 0.5% deviation means prices within 0.5% of the theoretical trendline are counted as touches. Lower values create stricter trendlines; higher values are more forgiving.
Pivot Window: Number of bars on each side used to identify local highs/lows (default: 5). A pivot window of 5 means the center bar must be the highest/lowest among 11 bars total (5 left + center + 5 right). Larger values identify more significant pivots but may miss shorter-term turning points.
Display Options:
Show Min/Max Points: Toggle visibility of pivot point markers to see exactly which price levels the algorithm identified as potential trendline anchors.
Perfect For:
Swing traders looking for multi-timeframe confluence zones
Technical analysts who rely on diagonal support/resistance levels
Traders who want automated trendline detection without manual drawing
Anyone seeking to identify trend channels and breakout opportunities
Color Coding:
Support lines are displayed in green with varying transparency, while resistance lines appear in red. Each timeframe set can be independently enabled/disabled based on which chart timeframe you're currently viewing, preventing clutter and maintaining clarity.
Technical Notes:
The indicator uses efficient algorithms to process large datasets while maintaining accuracy. It avoids repainting by only considering confirmed pivot points. The algorithm prioritizes trendlines with more touches and, in case of ties, favors more recent formations with steeper angles for maximum relevance.
Aroon RSI Logic — Customizable + No-Trade RSI ZoneThis indicator — **“Aroon RSI Logic — Customizable + No-Trade RSI Zone”** — is designed to help traders identify high-probability turning points in the market by combining **trend momentum (Aroon)** with **relative strength dynamics (RSI)**, while also protecting against emotional or impulsive trading through structured filters and psychological safeguards.
---
### 🧠 **Concept Overview**
At its core, the system balances **trend confirmation** with **momentum moderation**. It seeks to enter trades only when technical alignment suggests both exhaustion of a recent move and early signs of a potential reversal — while filtering out market noise and emotionally driven trades in neutral or extreme conditions.
This design encourages **discipline**, **patience**, and **objectivity**, three of the most critical psychological traits of successful traders.
---
### 📊 **Core Components**
#### 1. **Aroon Structure Awareness**
The Aroon indicator measures how recently price has reached a new high or low within a specific period, reflecting trend strength and potential exhaustion.
* When **Aroon Down** approaches the predefined target level, it suggests the market has not made new lows for several bars — an early indication that bearish momentum may be fading.
* Conversely, when **Aroon Up** nears the target, bullish strength may be waning.
This mechanism trains the trader’s mind to **look for transitions** — moments when dominant sentiment begins to lose control.
---
#### 2. **RSI Momentum Confirmation**
The RSI (Relative Strength Index) and its smoothed version act as dual filters to confirm emotional extremes and trend shifts in momentum.
* When RSI significantly diverges from its smoothed version, it often reflects **emotional spikes** or **unsustainable acceleration**.
* The system only allows trades when the RSI difference remains within a defined limit, fostering entries during **balanced, rational phases** of the market rather than moments of panic or euphoria.
This approach supports **emotional discipline**, discouraging entries when crowd psychology dominates decision-making.
---
#### 3. **No-Trade RSI Zone**
A critical safeguard is the **“No-Trade Zone”**, defined by specific RSI thresholds.
When RSI is too low (oversold) or too high (overbought), traders are often tempted to act impulsively — either out of fear or greed.
By preventing entries during these phases, the indicator helps traders **avoid psychological traps** such as:
* Chasing reversals prematurely.
* Getting caught in continuation moves driven by crowd emotion.
It reinforces a mindset of **restraint** and **selective participation**.
---
#### 4. **Time-Based Discipline Filter**
The session filters allow trading only within designated market hours (for example, morning and afternoon sessions).
This enforces **structured activity**, reducing exposure to low-volume, erratic periods when decision fatigue or overtrading tendencies often arise.
It mirrors the behavior of professional traders who work within time-framed playbooks rather than emotional impulses.
---
### 🟢 **Buy Logic**
Buy opportunities arise when:
* Downward momentum (Aroon Down) weakens near the target level,
* RSI behavior supports balanced momentum or mild recovery, and
* Emotional extremes are absent.
This combination reflects a **calm, data-driven reversal environment**, ideal for contrarian but controlled entries.
---
### 🔴 **Sell Logic**
Sell signals appear when:
* Upward momentum (Aroon Up) softens around the target,
* RSI confirms slowing bullish pressure, and
* Market sentiment shows fatigue without panic.
It aligns with a **psychologically sound exit or shorting scenario**, avoiding reactionary decisions.
---
### 🧩 **Psychological Philosophy**
This tool isn’t just a signal generator — it’s a **trader’s behavioral framework**.
By combining structured logic, volatility filters, and emotional control zones, it helps cultivate:
* **Patience** to wait for qualified setups.
* **Confidence** to act when all conditions align.
* **Detachment** from impulsive market movements.
It transforms trading from a reactive habit into a **strategic execution process** rooted in logic and emotional balance.
---
CRT 4H/1D + FVG + OB (Entry/SL/TP Alerts) — v2.0 Gökhan//@version=5
indicator("CRT 4H/1D + FVG + OB (Entry/SL/TP Alerts) — v2.0", overlay=true, max_labels_count=500, max_lines_count=500)
//──── Inputs
use4H = input.bool(true, "Use 4H CRT")
use1D = input.bool(true, "Use 1D CRT")
needFVG = input.bool(true, "Require FVG confirmation")
useOBfilter = input.bool(false, "Require simple OB filter (prev body mid)")
lookFVGbars = input.int(5, "FVG lookback bars", minval=2, maxval=20)
atrLen = input.int(14, "ATR Length", minval=5)
atrMult = input.float(0.5, "ATR SL buffer (xATR)", step=0.05)
lineW = input.int(2, "Line Width", minval=1, maxval=4)
boxTransp = input.int(85, "Range Box Transparency", minval=0, maxval=100)
showBoxes = input.bool(true, "Show HTF Range Boxes")
showLines = input.bool(true, "Show HTF Lines & 50%")
showPlan = input.bool(true, "Show Entry/SL/TP lines when active")
persistBars = input.int(30, "Keep plan on chart (bars)", minval=5, maxval=500)
//──── Colors
col4H = color.new(color.teal, 0)
col1D = color.new(color.orange, 0)
colUp = color.new(color.lime, 0)
colDn = color.new(color.red, 0)
colMid = color.new(color.gray, 30)
colPlan = color.new(color.blue, 0)
//──── Helpers: previous HTF candle OHLC
f_prevHTF(tf) =>
hh = request.security(symbol=syminfo.tickerid, timeframe=tf, expression=high , gaps=barmerge.gaps_off, lookahead=barmerge.lookahead_off)
ll = request.security(symbol=syminfo.tickerid, timeframe=tf, expression=low , gaps=barmerge.gaps_off, lookahead=barmerge.lookahead_off)
= f_prevHTF("240")
= f_prevHTF("D")
H4_hi = nz(H4_hi_raw)
H4_lo = nz(H4_lo_raw)
D1_hi = nz(D1_hi_raw)
D1_lo = nz(D1_lo_raw)
H4_mid = (H4_hi + H4_lo)/2.0
D1_mid = (D1_hi + D1_lo)/2.0
//──── Local
h = high, l = low, c = close, o = open
//──── CRT: Sweep & Reclaim
H4_upSweep = use4H and (h > H4_hi) and (c < H4_hi) // yukarı süpür → aşağı dönüş
H4_dnSweep = use4H and (l < H4_lo) and (c > H4_lo) // aşağı süpür → yukarı dönüş
D1_upSweep = use1D and (h > D1_hi) and (c < D1_hi)
D1_dnSweep = use1D and (l < D1_lo) and (c > D1_lo)
// Hangi TF tetikledi? Öncelik: 4H sonra 1D (isteğe göre değiştirilebilir)
bearSweep = H4_upSweep or (not H4_upSweep and D1_upSweep)
bullSweep = H4_dnSweep or (not H4_dnSweep and D1_dnSweep)
useH4levels = H4_upSweep or H4_dnSweep
rngHi = useH4levels ? H4_hi : D1_hi
rngLo = useH4levels ? H4_lo : D1_lo
rngMid= useH4levels ? H4_mid: D1_mid
//──── FVG (classic 3-candle)
// Bullish FVG at bar i: low > high
// Bearish FVG at bar i: high < low
f_hasBullFVG(window) =>
ok = false
for i = 0 to window-1
ok := ok or (low > high )
ok
f_hasBearFVG(window) =>
ok = false
for i = 0 to window-1
ok := ok or (high < low )
ok
bullFVG = f_hasBullFVG(lookFVGbars) // yukarı dönüş teyidi
bearFVG = f_hasBearFVG(lookFVGbars) // aşağı dönüş teyidi
//──── Basit OB filtresi (prev body midpoint reclaim)
// Bullish: c > (o +c )/2
// Bearish: c < (o +c )/2
prevMid = (o + c ) / 2.0
bullOBok = c > prevMid
bearOBok = c < prevMid
// Zorunlu teyit seti
bullConfirm = (not needFVG or bullFVG) and (not useOBfilter or bullOBok)
bearConfirm = (not needFVG or bearFVG) and (not useOBfilter or bearOBok)
// Nihai SETUP (yön + teyit)
bearSetup = bearSweep and bearConfirm
bullSetup = bullSweep and bullConfirm
//──── Lines & Boxes
plot(showLines and use4H ? H4_hi : na, "4H High", col4H, lineW, plot.style_linebr)
plot(showLines and use4H ? H4_lo : na, "4H Low", col4H, lineW, plot.style_linebr)
plot(showLines and use4H ? H4_mid: na, "4H 50%", colMid, 1, plot.style_linebr)
plot(showLines and use1D ? D1_hi : na, "1D High", col1D, lineW, plot.style_linebr)
plot(showLines and use1D ? D1_lo : na, "1D Low", col1D, lineW, plot.style_linebr)
plot(showLines and use1D ? D1_mid: na, "1D 50%", colMid, 1, plot.style_linebr)
var box h4Box = na
var box d1Box = na
if showBoxes and barstate.islast
if use4H and not na(H4_hi) and not na(H4_lo)
if na(h4Box)
h4Box := box.new(bar_index-1, H4_lo, bar_index, H4_hi, bgcolor=color.new(col4H, boxTransp), border_color=col4H)
else
box.set_left(h4Box, bar_index-1), box.set_right(h4Box, bar_index)
box.set_bottom(h4Box, H4_lo), box.set_top(h4Box, H4_hi)
if use1D and not na(D1_hi) and not na(D1_lo)
if na(d1Box)
d1Box := box.new(bar_index-1, D1_lo, bar_index, D1_hi, bgcolor=color.new(col1D, boxTransp), border_color=col1D)
else
box.set_left(d1Box, bar_index-1), box.set_right(d1Box, bar_index)
box.set_bottom(d1Box, D1_lo), box.set_top(d1Box, D1_hi)
//──── Entry/SL/TP Plan (stateful)
atr = ta.atr(atrLen)
tick = syminfo.mintick
var bool planActive = false
var bool planBull = na
var float planEntry = na
var float planSL = na
var float planTP1 = na
var float planTP2 = na
var int planBars = 0
// Yeni setup oluştuğunda plan kur
if barstate.isconfirmed
if bearSetup
planActive := true, planBull := false
planEntry := rngHi // retest: prev High
planSL := math.max(high, rngHi) + atrMult*atr
planTP1 := rngMid
planTP2 := rngLo
planBars := 0
label.new(bar_index, high, "CRT BEAR setup Entry≈"+str.tostring(planEntry)+" SL≈"+str.tostring(planSL)+" TP1≈"+str.tostring(planTP1)+" TP2≈"+str.tostring(planTP2),
style=label.style_label_down, color=color.new(colDn,0), textcolor=color.white, size=size.tiny)
if bullSetup
planActive := true, planBull := true
planEntry := rngLo // retest: prev Low
planSL := math.min(low, rngLo) - atrMult*atr
planTP1 := rngMid
planTP2 := rngHi
planBars := 0
label.new(bar_index, low, "CRT BULL setup Entry≈"+str.tostring(planEntry)+" SL≈"+str.tostring(planSL)+" TP1≈"+str.tostring(planTP1)+" TP2≈"+str.tostring(planTP2),
style=label.style_label_up, color=color.new(colUp,0), textcolor=color.white, size=size.tiny)
// Plan takibi
entryTouched = planActive and ((planBull and low <= planEntry) or (not planBull and high >= planEntry))
tp1Hit = planActive and ((planBull and high >= planTP1) or (not planBull and low <= planTP1))
tp2Hit = planActive and ((planBull and high >= planTP2) or (not planBull and low <= planTP2))
slHit = planActive and ((planBull and low <= planSL) or (not planBull and high >= planSL))
if planActive
planBars += 1
// de-activate on exit
if slHit or tp2Hit or planBars > persistBars
planActive := false
// Görsel plan çizgileri
plot(showPlan and planActive ? planEntry : na, "Entry", color.new(colPlan, 0), 2, plot.style_linebr)
plot(showPlan and planActive ? planSL : na, "SL", color.new(color.red, 0), 2, plot.style_linebr)
plot(showPlan and planActive ? planTP1 : na, "TP1", color.new(color.gray, 0), 1, plot.style_linebr)
plot(showPlan and planActive ? planTP2 : na, "TP2", color.new(color.gray, 0), 1, plot.style_linebr)
// İşaretler
plotshape(bearSetup, title="Bear Setup", style=shape.triangledown, location=location.abovebar, size=size.tiny, color=colDn, text="CRT▼")
plotshape(bullSetup, title="Bull Setup", style=shape.triangleup, location=location.belowbar, size=size.tiny, color=colUp, text="CRT▲")
//──── Alerts
alertcondition(bearSetup, title="CRT Setup Ready (Bearish)",
message="CRT Bearish setup ready on {{ticker}} {{interval}} | Entry≈{{plot(\"Entry\")}} SL≈{{plot(\"SL\")}} TP1≈{{plot(\"TP1\")}} TP2≈{{plot(\"TP2\")}}")
alertcondition(bullSetup, title="CRT Setup Ready (Bullish)",
message="CRT Bullish setup ready on {{ticker}} {{interval}} | Entry≈{{plot(\"Entry\")}} SL≈{{plot(\"SL\")}} TP1≈{{plot(\"TP1\")}} TP2≈{{plot(\"TP2\")}}")
alertcondition(entryTouched, title="CRT Retest Filled",
message="CRT Entry retest filled on {{ticker}} {{interval}}")
Multi-EMA Session Breakout Strategythis is a strategy that use the session high and low and the EMA LOWS 2 3 6 9 110 355 AND 480
Candle Color & Time Filter + Flexible Price Triggeraggiornamento con offset negativo sulla open close high low






















