Candlestick analysis
S&P Options Patterns Detector (6-20 Candles)Pattern detector for S&P options. Detects alerts for bullish or bearish signals for any stock in S&P 500
FUSED 9.5 INSTITUTIONAL [FINAL] - AgTradezInstitutional style Indicator that gives you trend direction, MSS, with Tp levels and much more.
STRAT - MTF Dashboard + FTFC + Reversals v2.7# STRAT Indicator - Complete Description
## Overview
A comprehensive multi-timeframe STRAT trading system indicator that combines market structure analysis, flip levels, Full Timeframe Continuity (FTFC), and reversal pattern detection across 12 timeframes.
## Core Features
### 1. **Multi-Timeframe STRAT Dashboard**
- Displays STRAT combos (1, 2u, 2d, 3) across 12 timeframes: 1m, 5m, 15m, 30m, 1H, 4H, 12H, Daily, Weekly, Monthly, Quarterly, Yearly
- Color-coded directional bias (green/red/doji)
- Inside bars (●) and Outside bars (●) highlighted
- Current timeframe marked with ★
### 2. **HTF Flip Levels with Smart Grouping**
- Displays higher timeframe (HTF) flip levels (open prices) as labels on the right side
- Automatically groups multiple timeframes at the same price level (e.g., "★ 1H/4H/D")
- Current timeframe flip level always displayed with ★ marker
- Color-coded: Green (above price) / Red (below price)
### 3. **Full Timeframe Continuity (FTFC)**
- User-selectable 4 timeframes for FTFC analysis (default: D, W, M, Q)
- Green line: FTFC Up (highest open of 4 timeframes)
- Red line: FTFC Down (lowest open of 4 timeframes)
- Identifies when price is above/below all 4 timeframe opens
### 4. **Hammer & Shooting Star Detection**
- **Hammer Pattern**: Long lower wick (≥2x body), small upper wick, signals potential bottom reversal
- **Shooting Star Pattern**: Long upper wick (≥2x body), small lower wick, signals potential top reversal
- Scans last 100 bars (adjustable) and marks ALL historical patterns
- Chart markers: 🔨 (Hammer) below bars, 🔻 (Shooting Star) above bars
- Dashboard column shows reversal patterns for each timeframe
- Adjustable wick-to-body ratio sensitivity (1.5 to 5.0)
### 5. **Debug Tables**
- **FTFC Debug**: Shows close vs. 4 timeframe opens, confirms all-green/all-red conditions
- **Reversal Debug**: Real-time analysis of current bar - body size, wick measurements, ratios, and pattern qualification
## Settings
### Display Settings
- Dashboard position (9 options: top-left to bottom-right)
- Dashboard text size (tiny to huge)
- Label offset and text size
- Toggle individual features on/off
### FTFC Settings
- Select 4 custom timeframes for continuity analysis
- Default: Daily, Weekly, Monthly, Quarterly
### Reversal Settings
- **Wick to Body Ratio**: Sensitivity for pattern detection (default 2.0)
- **Lookback Bars**: How many historical bars to scan (default 100, max 500)
- Show/hide reversal markers on chart
- Show/hide reversal debug table
## Use Cases
1. **Momentum Trading**: Identify STRAT setups (2-2, 2-1-2 reversals, 3-bar plays) across multiple timeframes
2. **Swing Trading**: Use HTF flip levels as support/resistance and FTFC for trend confirmation
3. **Reversal Trading**: Catch hammer/shooting star patterns at key levels for counter-trend entries
4. **Multi-Timeframe Analysis**: Confirm alignment across timeframes before entering trades
## How to Use
### For STRAT Traders
- Look for 2-1-2 reversal setups in the dashboard
- Watch for inside bars (●) at HTF flip levels for breakout trades
- Use outside bars (●) to identify potential volatility expansion
### For Reversal Traders
- 🔨 Hammers after downtrends = potential long entries
- 🔻 Shooting stars after uptrends = potential short entries
- Combine with HTF flip levels for high-probability setups
### For Trend Followers
- FTFC green line above = bullish structure
- FTFC red line below = bearish structure
- Enter when price breaks and holds above/below FTFC levels
## Visual Elements
- **Green Labels**: HTF flip levels above current price (resistance)
- **Red Labels**: HTF flip levels below current price (support)
- **Lime Line**: FTFC Up (highest timeframe open)
- **Red Line**: FTFC Down (lowest timeframe open)
- **🔨 Icon**: Hammer pattern (potential reversal up)
- **🔻 Icon**: Shooting Star pattern (potential reversal down)
- **★ Symbol**: Current timeframe or multiple timeframes grouped
## Performance Notes
This indicator performs 12 multi-timeframe security calls and may take 15-30 seconds to calculate on initial load. This is normal for comprehensive MTF analysis.
## Version
v2.7 - Simplified reversal detection, current TF labeling, optimized performance
---
**Perfect for**: STRAT traders, multi-timeframe analysts, reversal pattern traders, swing traders looking for high-probability setups with confluence across timeframes.
[Algo/Fract] QuantBuilt for traders ready to Level Up.
Combine algorithmic strength tracking with fractal structure to deliver quant-style clarity on a live chart.
You trade with intuition. Quant trades with Data.
Together, you read the Unseen.
Features included are:
TT Candles
Quant Strength Index
Structural Retest Areas
Fractal Trend Colors
Gain Access at: www.algofract.com
or by visiting our Whop Marketplace: whop.com
One for AllOne for All (OFA) - Complete ICT Analysis Suite
Version 3.3.0 by theCodeman
📊 Overview
One for All (OFA) is a comprehensive TradingView indicator designed for traders who follow Inner Circle Trader (ICT) concepts. This all-in-one tool combines essential ICT analysis features—sessions, kill zones, previous period levels, and higher timeframe candles with Fair Value Gaps (FVGs) and Volume Imbalances (VIs)—into a single, highly customizable indicator. Whether you're a beginner learning ICT concepts or an experienced trader refining your edge, OFA provides the visual structure needed for precise market analysis and execution.
✨ Key Features
- 🏷️ Customizable Watermark**: Display your trading identity with customizable titles, subtitles, symbol info, and full style control
- 🌍 Trading Sessions**: Visualize Asian, London, and New York sessions with high/low lines, range boxes, and open/close markers
- 🎯 Kill Zones**: Highlight 5 critical ICT kill zones with precise timing and visual boxes
- 📈 Previous Period H/L**: Track Daily, Weekly, and Monthly highs/lows with customizable styles and lookback periods
- 🕐 Higher Timeframe Candles**: Display up to 5 HTF timeframes with OHLC trace lines, timers, and interval labels
- 🔍 FVG & VI Detection**: Automatically detect and visualize Fair Value Gaps and Volume Imbalances on HTF candles
- ⚙️ Universal Timezone Support**: Works globally with GMT-12 to GMT+14 timezone selection
- 🎨 Full Customization**: Control colors, styles, visibility, and layout for every feature
🚀 How to Use
Watermark Setup
The watermark overlay helps you identify your charts and maintain focus on your trading principles:
1. Enable/disable watermark via "Show Watermark" toggle
2. Customize the title (default: "Name") to display your trading name or account identifier
3. Set up to 3 subtitles (default: "Patience", "Confidence", "Execution") as trading reminders
4. Choose position (9 locations available), size, color, and transparency
5. Toggle symbol and timeframe display as needed
Use Case: Display your trading principles or account name for multi-monitor setups or content creation.
Trading Sessions Analysis
Sessions define market character and liquidity availability:
1. Enable "Show All Sessions" to visualize all three sessions
2. Adjust timezone to match your local market (default: UTC-5 for EST)
3. Customize session times if needed (defaults cover standard hours)
4. Enable session range boxes to see consolidation zones
5. Use session high/low lines to identify key levels for the current session
6. Enable open/close markers to track session transitions
Use Case: Identify which session you're trading in, track session highs/lows for liquidity, and anticipate session transition volatility.
Kill Zones Trading
Kill zones are ICT's high-probability trading windows:
1. Enable individual kill zones or use "Show All Kill Zones"
2. **Asian Kill Zone** (2000-0000 GMT): Early positioning and smart money accumulation
3. **London Kill Zone** (0300-0500 GMT): European market opening volatility
4. **NY AM Kill Zone** (0930-1100 EST): Post-NYSE open expansion
5. **NY Lunch Kill Zone** (1200-1300 EST): Midday consolidation or manipulation
6. **NY PM Kill Zone** (1330-1600 EST): Afternoon positioning and closes
7. Customize colors and times to match your trading style
8. Set max days display to control historical visibility (default: 30 days)
Use Case: Focus entries during high-probability windows. Watch for liquidity sweeps at kill zone openings and institutional positioning.
Previous Period High/Low Levels
Previous period levels act as magnetic price targets and support/resistance:
1. Enable Daily (PDH/PDL), Weekly (PWH/PWL), or Monthly (PMH/PML) levels individually
2. Set lookback period (how many previous periods to display)
3. Choose line style: Solid (current emphasis), Dashed (standard), or Dotted (subtle)
4. Customize colors per timeframe for visual hierarchy
5. Adjust line width (1-5) for visibility preference
6. Enable gradient effect to fade older periods
7. Position labels left or right based on chart layout
8. Customize label text for your preferred notation
Use Case: Identify key levels where price is likely to react. Daily levels work on intraday timeframes, Weekly on daily charts, Monthly for swing trading.
Higher Timeframe (HTF) Candles
HTF candles reveal the larger market context while trading lower timeframes:
1. Enable up to 5 HTF slots simultaneously (default: 5m, 15m, 1H, 4H, Daily)
2. Choose display mode: "Below Chart" (stacked rows) or "Right Side" (compact column)
3. Customize timeframe, colors (bull/bear), and titles for each slot
4. **OHLC Trace Lines**: Visual lines connecting HTF candle levels to chart bars
5. **HTF Timer**: Countdown showing time remaining until HTF candle close
6. **Interval Labels**: Display day of week (Daily+) or time (intraday) on each candle
7. For Daily candles: Choose open time (Midnight, 8:30, 9:30) to match your market structure preference
Use Case: Trade lower timeframes while respecting higher timeframe structure. Watch for HTF candle closes to confirm directional bias.
FVG & VI Detection
Fair Value Gaps and Volume Imbalances highlight inefficiencies that price often revisits:
1. **Fair Value Gaps (FVGs)**: Detected when HTF candle wicks don't overlap between 3 consecutive candles
- Bullish FVG: Gap between candle 1 high and candle 3 low (green box by default)
- Bearish FVG: Gap between candle 1 low and candle 3 high (red box by default)
2. **Volume Imbalances (VIs)**: Similar detection but focuses on body gaps
- Bullish VI: Gap between candle 1 close and candle 3 open
- Bearish VI: Gap between candle 1 open and candle 3 close
3. Enable FVG/VI detection per HTF slot individually
4. Customize colors and transparency for each imbalance type
5. Boxes appear on chart at formation and remain visible as retracement targets
**Use Case**: Identify high-probability retracement zones. Price often returns to fill FVGs and VIs before continuing the trend. Use as entry zones or profit targets.
🎨 Customization
OFA is built for flexibility. Every feature includes extensive customization options:
Visual Customization
- **Colors**: Independent color control for every element (sessions, kill zones, lines, labels, FVGs, VIs)
- **Transparency**: Adjust box and label transparency (0-100%) for clean charts
- **Line Styles**: Choose Solid, Dashed, or Dotted for previous period lines
- **Sizes**: Control text size, line width, and box borders
- **Positions**: Place watermark in 9 positions, labels left/right
Layout Control
- **HTF Display Mode**: "Below Chart" for detailed analysis, "Right Side" for space efficiency
- **Drawing Limits**: Set max days for sessions/kill zones to manage chart clutter
- **Lookback Periods**: Control how many previous periods to display (1-10)
- **Gradient Effects**: Enable fading for older previous period lines
Timing Adjustments
- **Timezone**: Universal GMT offset selector (-12 to +14) for global markets
- **Session Times**: Customize each session's start/end times
- **Kill Zone Times**: Adjust kill zone windows to match your market's characteristics
- **Daily Open**: Choose Midnight, 8:30, or 9:30 for Daily HTF candle open time
💡 Best Practices
1. Start Simple: Enable one feature at a time to learn how each element affects your analysis
2. Match Your Timeframe: Use Daily levels on intraday charts, Weekly on daily charts, HTF candles one or two levels above your trading timeframe
3. Kill Zone Focus: Concentrate your trading activity during kill zones for higher probability setups
4. HTF Confirmation: Wait for HTF candle closes before committing to directional bias
5. FVG/VI Entries: Look for price to return to unfilled FVGs/VIs for entry opportunities with favorable risk/reward
6. Customize Colors: Use a consistent color scheme that matches your chart theme and reduces visual fatigue
7. Reduce Clutter: Disable features you're not actively using in your current trading plan
8. Session Context: Understand which session controls the market—trade with session direction or anticipate reversals at session transitions
⚙️ Settings Guide
OFA organizes settings into logical groups for easy navigation:
- **═══ WATERMARK ═══**: Title, subtitles, position, style, symbol/timeframe display
- **═══ SESSIONS ═══**: Enable/disable sessions, times, colors, high/low lines, boxes, markers
- **═══ KILL ZONES ═══**: Individual kill zone toggles, times, colors, max days display
- **═══ PREVIOUS H/L - DAILY ═══**: Daily high/low lines, style, color, lookback, labels
- **═══ PREVIOUS H/L - WEEKLY ═══**: Weekly high/low lines, style, color, lookback, labels
- **═══ PREVIOUS H/L - MONTHLY ═══**: Monthly high/low lines, style, color, lookback, labels
- **═══ HTF CANDLES ═══**: Global display mode, layout settings
- **═══ HTF SLOT 1-5 ═══**: Individual HTF configuration (timeframe, colors, title, FVG/VI detection, trace lines, timer, interval labels)
Each setting includes tooltips explaining its function. Hover over any input for detailed guidance.
📝 Final Notes
One for All (OFA) represents a complete ICT analysis toolkit in a single indicator. By combining watermark customization, session visualization, kill zone highlighting, previous period levels, and higher timeframe candles with FVG/VI detection, OFA eliminates the need for multiple indicators cluttering your chart.
**Version**: 3.3.0
**Author**: theCodeman
**Pine Script**: v6
**License**: Mozilla Public License 2.0
Start with default settings to learn the indicator's structure, then customize extensively to match your personal trading style. Remember: tools provide information, but your edge comes from disciplined execution of a proven strategy.
Happy Trading! 📈
RGainzAlgo Mk.11Only use this if you hate losing money more than you like making it since it will only give the thing, not the gamble/lotto ticket that will burn your account. inspired by all the scammers on TikTok and Instagram but actually working to help you. Anyway without further ado, I give you:
🚀 RGainzAlgo Mk.11—Institutional Trend System
RGainzAlgo Mk.11 is a precision trend-trading suite designed to filter out market noise using advanced volume analysis and volatility logic. Unlike standard indicators that lag and get "chopped up," Mk.11 utilizes a proprietary Signal Strength Engine and Auto-Throttle Logic to adapt to changing market conditions in real time.
🧠 The Core Intelligence: "Signal Strength Engine"
At the bottom-right of your screen, the Heads-Up Display (HUD) gives you a real-time health check of the market (0–100 score). It analyzes 4 distinct dimensions on every candle:
1. Trend Velocity: (EMA Spread)
2. Volume Flow: (Institutional participation)
3. Momentum Integrity: (Candle body & slope analysis)
4. Volatility Stability: (ATR consistency)
🛡️ Feature: Auto-Throttle Logic
The algorithm automatically shifts "gears" based on the market condition to protect your capital:
🔴 STRICT Mode (Score 0–40): Detected in choppy/weak markets. The algo engages safety filters and requires 1.4x volume to trigger a trade.
🟡 NORMAL Mode (Score 40–70): Standard trend-following rules apply (1.1x Volume).
🔵 AGGRESSIVE Mode (Score 70+): Engaged during high-velocity breakouts. Filters are relaxed (0.8x volume) to ensure you catch fast-moving entries.
📊 Professional Visual Tools
Liquidity Heatmap: A dynamic volume profile on the right side of the chart highlights "brick wall" resistance and "vacuum" zones where price moves fast.
Option Strike Labels: Automatically calculates suggested Call/Put Strikes (e.g., "Buy CALL 450").
Momentum Bursts: Visual triangles indicate sudden volume spikes—perfect for scaling into winning positions.
Dynamic Background: The chart background changes color (green/red) to indicate the dominant macro trend.
---
⚡ How to Trade with Mk.11
1. Wait for the Signal: Look for a BUY (green) or SELL (red) label.
2. Check the HUD:
Is the Score high (green/blue)?
Is the mode "Normal" or "Aggressive"? (Avoid "Strict" if possible).
3. Check the Heatmap: Ensure you aren't buying directly into a massive yellow wall of resistance.
4. Execute: Use the suggested strike price for options or enter the perp contract.
---
⚙️ Best Settings
Assets: SPY, QQQ, NVDA, TSLA, AAPL, GOOGL, MSFT, AMZN, BTCUSD, ETHUSD.
Timeframes: 5m, 15m, 1H.
Recommended: Enable "Limit to RTH" if you are day trading stocks to avoid pre-market noise.
---
Risk Disclaimer: Trading involves risk. This algorithm is a tool to assist decision-making, not financial advice. Past performance is not indicative of future results.
By FallenAngel666
Smart Gap Projection MTF Smart Gap Projection MTF
## Brief Description
Professional indicator for projecting US Dollar Index (DXY) gaps onto the traded instrument with multi-timeframe analysis support and advanced visualization.
---
## Originality and Uniqueness
**Smart Gap Projection MTF** is a unique development that solves the specific task of correlation analysis between the Dollar Index (DXY) and currency pairs, cryptocurrencies, or other dollar-dependent assets.
### What makes this indicator original:
1. **Inter-market gap projection** - the indicator doesn't just display gaps on the current instrument, but projects gaps from the DXY index onto your asset's chart, creating unique trading levels
2. **Dual confirmation system** - uses a mechanism of waiting N candles after a gap appears on DXY to filter false signals
3. **Intelligent lifecycle tracking** - each projected level is tracked until price touch or gap closure on DXY, with automatic visualization changes
4. **Multi-Timeframe extension** - ability to simultaneously display gaps from a lower timeframe of the current instrument to identify intraday opportunities
5. **Adaptive visualization (Heatmap)** - line intensity and width automatically change depending on gap size, helping to visually identify the most significant levels
---
## How the Indicator Works
### Core Operating Principle
The indicator analyzes the US Dollar Index (DXY) price movement in real-time and identifies gaps (price breaks) between candle closes and opens. When a gap forms on DXY, the indicator:
1. **Determines gap type** - bullish (price opened above previous close) or bearish (price opened below)
2. **Checks gap size** - filters insignificant gaps by absolute size (in points) and percentage value
3. **Waits for confirmation** - after detecting a gap, the indicator waits for a specified number of candles (default 3) to confirm that the gap didn't close immediately
4. **Projects the level** - after confirmation, a horizontal line is drawn on the current instrument's chart at the High level (for bullish DXY gap) or Low level (for bearish DXY gap) of the candle where the gap formed
5. **Tracks status** - the indicator continuously monitors:
- Price touching the projected level (line becomes more transparent)
- Gap closure on DXY itself (line changes color to orange)
### Conceptual Foundation
The methodology is based on the observation that:
- Gaps on the Dollar Index often lead to synchronous movements on correlated assets
- Price levels at the moment of DXY gap formation become price magnets
- Gap closure on DXY often coincides with trend reversal on dependent instruments
---
## How to Use the Indicator
### Basic Setup
1. **Add the indicator to the chart** of any asset correlated with the dollar (EUR/USD, GBP/USD, Bitcoin, Gold, etc.)
2. **Configure main parameters:**
- `DXY Symbol` - leave as "TVC:DXY" (standard Dollar Index ticker)
- `Minimum gap size` - minimum gap size in points (0.0001-0.001 for DXY)
- `Confirmation candles` - number of confirmation candles (recommended 3-5)
3. **Set up visualization:**
- Choose colors for bullish and bearish gaps
- Set desired transparency for each gap type
- Enable/disable `Use heatmap` for adaptive visualization
### Timeframe Recommendations
- **Scalping (M1-M5):** use MTF gaps from M1 timeframe, confirmationCandles = 2-3
- **Intraday (M15-H1):** standard settings, can add MTF M5-M15
- **Swing trading (H4-D1):** increase confirmationCandles to 5-10, MTF H1-H4
### Use with Other Instruments
The indicator is universal and works on:
- **Forex:** EUR/USD, GBP/USD, USD/JPY, AUD/USD and other dollar pairs
- **Cryptocurrencies:** BTC/USD, ETH/USD (direct dollar dependency)
- **Commodities:** Gold (XAU/USD), Silver (XAG/USD), Oil
- **Indices:** SPX, NDX, especially during dollar movements
---
## Configuration Parameters
### Main Settings
- **DXY Symbol** - Dollar Index symbol (default TVC:DXY)
- **Minimum gap size** - minimum gap size in points for filtering
- **Minimum gap size (%)** - minimum percentage size (0 = disabled)
- **Confirmation candles** - number of candles for confirmation (1-10)
- **Maximum gaps on chart** - maximum number of displayed projections
### Multi-Timeframe
- **Enable MTF gaps** - enable/disable MTF gaps
- **Timeframe for gaps** - select lower timeframe for search
- **Max MTF gaps** - maximum number of MTF lines (5-2000)
- **Min MTF gap size** - minimum MTF gap size
- **MTF lines color** - MTF lines color
- **MTF lines style** - line style (Solid/Dashed/Dotted)
- **MTF lines width** - MTF lines width (1-3)
### Visualization
- **Extend lines right** - extend lines to the right
- **Use heatmap** - use adaptive visualization (width/brightness from gap size)
- **Stop lines when DXY gap closes** - stop lines when gap closes on DXY
### Colors
- **Bullish gap color** - color of bullish DXY gap lines
- **Bullish Transparency** - transparency of bullish lines (0-90)
- **Bearish gap color** - color of bearish DXY gap lines
- **Bearish Transparency** - transparency of bearish lines (0-90)
- **Line style** - style of all projection lines
### Alerts
- **Alert on new gap** - notification when new gap is confirmed
---
## Features and Advantages
✅ **Inter-market analysis** - uses correlation between DXY and traded asset
✅ **Automatic filtering** - excludes insignificant and quickly closing gaps
✅ **Multi-timeframe analysis** - combines signals from different time periods
✅ **Visual hierarchy** - heatmap automatically highlights most significant levels
✅ **Lifecycle tracking** - each level is monitored until touch or gap closure
✅ **Universality** - works on any dollar-correlated assets
✅ **Non-repainting** - all levels are fixed historically and don't change
✅ **Customizable visualization** - full control over colors, styles and transparency
---
## Limitations and Important Notes
⚠️ **Indicator is not a trading system** - it's a technical analysis tool requiring confirmation by other methods
⚠️ **Works only on assets correlated with DXY** - on instruments without dollar correlation, signals will be ineffective
⚠️ **Requires understanding of inter-market relationships** - recommended to study correlations between DXY and your instrument
⚠️ **DXY data quality** - ensure your data provider supplies correct TVC:DXY history
⚠️ **MTF data** - when using very low MTF timeframes, delays in updates are possible
---
## Who This Indicator Is For
👨💼 **Forex traders** - analyzing macroeconomic dollar movements
📈 **Crypto traders** - considering dollar influence on Bitcoin and altcoins
🥇 **Commodity market traders** - trading gold, silver, oil
📊 **Intraday scalpers** - using MTF for precise entries
📉 **Swing traders** - looking for medium-term entry points at key levels
---
## Disclaimer
This indicator is intended solely for educational and informational purposes. It is not financial advice or a recommendation to act. All trading decisions you make at your own risk. Past results do not guarantee future performance. Always use proper risk management.
MAX TRADE ZONA simple session level indicator for XAUUSD on the M5 timeframe. It takes the high and low of the 00:45 candle (Asia/Tashkent time), draws infinite horizontal lines from that candle, and keeps only the most recent 7 days. Useful for intraday support and resistance levels.
Liquidation HeatMap [4×MTF]The indicator calculates estimated liquidity based on different timeframes: Week, Day, Hour, and Hour.
Yellow indicates maximum liquidity.
Pale green indicates minimum liquidity.
MAX TRADEA simple session level indicator for XAUUSD on the M5 timeframe. It takes the high and low of the 00:45 candle (Asia/Tashkent time), draws infinite horizontal lines from that candle, and keeps only the most recent 7 days. Useful for intraday support and resistance levels.
YM Ultimate SNIPER v5# YM Ultimate SNIPER v5 - Documentation & Trading Guide
## 🎯 Unified GRA + DeepFlow | YM/MYM Optimized
**TARGET: 3-7 High-Confluence Trades per Day**
---
## ⚡ QUICK START
```
┌─────────────────────────────────────────────────────────────────┐
│ YM ULTIMATE SNIPER v5 │
├─────────────────────────────────────────────────────────────────┤
│ │
│ SIGNALS: │
│ S🎯 = S-Tier (50+ pts) → HOLD position │
│ A🎯 = A-Tier (25-49 pts) → SWING trade │
│ B🎯 = B-Tier (12-24 pts) → SCALP quick │
│ Z = Zone entry (price at FVG zone) │
│ │
│ SESSIONS (ET): │
│ LDN = 3:00-5:00 AM (London) │
│ NY = 9:30-11:30 AM (New York Open) │
│ PWR = 3:00-4:00 PM (Power Hour) │
│ │
│ COLORS: │
│ 🟩 Green zones = Bullish FVG (buy zone) │
│ 🟥 Red zones = Bearish FVG (sell zone) │
│ 🟣 Purple lines = Single prints (S/R levels) │
│ │
│ TABLE (Top Right): │
│ Pts = Candle point range │
│ Tier = S/A/B/X classification │
│ Vol = Volume ratio (green = good) │
│ Delta = Buy/Sell dominance │
│ Sess = Current session │
│ Zone = In FVG zone status │
│ Score = Confluence score /10 │
│ CVD = Cumulative delta direction │
│ R:R = Risk:Reward ratio │
│ │
└─────────────────────────────────────────────────────────────────┘
```
---
## 📋 VERSION 5 CHANGES
### What's New
- **Removed all imbalance code** - caused compilation errors
- **Simplified delta analysis** - uses candle structure instead of intrabar data
- **Cleaner confluence scoring** - 5 clear factors, max 10 points
- **Reliable table** - updates on last bar only, no flickering
- **Works on YM and MYM** - same logic applies to micro contracts
### Removed Features
- Candle-anchored imbalance markers
- Imbalance S/R zones
- Intrabar volume profile analysis
- POC visualization
### Kept & Improved
- Tier classification (S/A/B)
- FVG zone detection & visualization
- Single print detection
- Session windows with backgrounds
- Confluence scoring
- Stop/Target auto-calculation
- All alerts
---
## 🎯 SIGNAL TYPES
### Tier Signals (S🎯, A🎯, B🎯)
These are high-confluence signals that pass all filters:
| Tier | Points | Value/Contract | Action | Hold Time |
|------|--------|----------------|--------|-----------|
| **S** | 50+ | $250+ | HOLD | 2-5 min |
| **A** | 25-49 | $125-245 | SWING | 1-3 min |
| **B** | 12-24 | $60-120 | SCALP | 30-90 sec |
**Filters Required:**
1. Tier threshold met (points)
2. Volume ≥ 1.8x average
3. Delta dominance ≥ 62%
4. Body ratio ≥ 70%
5. Range ≥ 1.3x average
6. Proper wicks (no reversal wicks)
7. CVD confirmation (optional)
8. In trading session
### Zone Signals (Z)
Zone entries trigger when:
- Price is inside an FVG zone
- Delta shows dominance in zone direction
- Volume is above average
- In active session
- No tier signal already present
---
## 📊 CONFLUENCE SCORING
**Maximum Score: 10 points**
| Factor | Points | Condition |
|--------|--------|-----------|
| Tier | 1-3 | B=1, A=2, S=3 |
| In Zone | +2 | Price inside FVG zone |
| Strong Volume | +2 | Volume ≥ 2x average |
| Strong Delta | +2 | Delta ≥ 70% |
| CVD Momentum | +1 | CVD trending with signal |
**Score Interpretation:**
- **7-10**: Elite setup - full size
- **5-6**: Good setup - standard size
- **4**: Minimum threshold - reduced size
- **< 4**: No signal shown
---
## ⏰ SESSION WINDOWS
### London (3:00-5:00 AM ET)
- European institutional flow
- Character: Slow build-up, clean trends
- Expected trades: 1-2
- Best for: Zone entries, A/B tier
### NY Open (9:30-11:30 AM ET)
- Highest volume, most institutional activity
- Character: Initial balance, breakouts
- Expected trades: 2-3
- Best for: S/A tier, zone confluence
### Power Hour (3:00-4:00 PM ET)
- End-of-day rebalancing, MOC orders
- Character: Mean reversion or trend acceleration
- Expected trades: 1-2
- Best for: Zone entries, B tier scalps
---
## 🟩 FVG ZONES
### What Are FVG Zones?
Fair Value Gaps (FVGs) are price gaps between candles where price moved so fast that a gap was left. These gaps often act as support/resistance.
### Zone Requirements
- Gap size ≥ 25% of ATR
- Impulse candle has strong body (≥ 70%)
- Impulse candle is 1.5x average range
- Volume above average on impulse
- Created during active session
### Zone States
1. **Fresh** (bright color) - Just created, untested
2. **Tested** (gray) - Price touched zone midpoint
3. **Broken** (removed) - Price closed through zone
### Trading FVG Zones
| Zone | Approach From | Expected |
|------|--------------|----------|
| 🟩 Bull | Above (falling) | Support - look for bounce |
| 🟥 Bear | Below (rising) | Resistance - look for rejection |
---
## 🟣 SINGLE PRINTS
Single prints mark candles with:
- Range > 1.3x average
- Body > 70% of range
- Volume > 1.8x average
- Clear delta dominance
These become horizontal support/resistance lines extending into the future.
---
## 📊 TABLE REFERENCE
| Row | Label | Meaning |
|-----|-------|---------|
| 1 | Pts | Current candle point range |
| 2 | Tier | S/A/B/X classification |
| 3 | Vol | Volume ratio vs 20-bar average |
| 4 | Delta | Buy/Sell percentage dominance |
| 5 | Sess | Current session (LDN/NY/PWR/OFF) |
| 6 | Zone | In FVG zone (BULL/BEAR/---) |
| 7 | Score | Confluence score out of 10 |
| 8 | CVD | Delta momentum direction |
| 9 | R:R | Risk:Reward if signal active |
### Color Coding
- **Green/Lime**: Good, meets threshold
- **Yellow**: Caution, borderline
- **Red**: Bad, below threshold
- **Gray**: Inactive/neutral
---
## 🔧 SETTINGS GUIDE
### Tier Thresholds
| Setting | Default | Notes |
|---------|---------|-------|
| S-Tier | 50 pts | ~$250/contract |
| A-Tier | 25 pts | ~$125/contract |
| B-Tier | 12 pts | ~$60/contract |
### Sniper Filters
| Setting | Default | Notes |
|---------|---------|-------|
| Min Volume Ratio | 1.8x | Lower = more signals |
| Delta Dominance | 62% | Lower = more signals |
| Body Ratio | 70% | Higher = fewer, cleaner |
| Range Multiplier | 1.3x | Higher = fewer, bigger moves |
| CVD Confirm | On | Off = more signals |
### Recommended Configurations
**Conservative (3-4 trades/day):**
```
Min Confluence: 6
Volume Ratio: 2.0
Delta Threshold: 65%
Body Ratio: 75%
```
**Standard (5-7 trades/day):**
```
Min Confluence: 4
Volume Ratio: 1.8
Delta Threshold: 62%
Body Ratio: 70%
```
**Aggressive (7-10 trades/day):**
```
Min Confluence: 3
Volume Ratio: 1.5
Delta Threshold: 60%
Body Ratio: 65%
```
---
## ✓ ENTRY CHECKLIST
Before entering any trade:
1. ☐ Signal present (S🎯, A🎯, B🎯, or Z)
2. ☐ Session active (LDN, NY, or PWR)
3. ☐ Score ≥ 4 (preferably 6+)
4. ☐ Vol shows GREEN
5. ☐ Delta colored (not gray)
6. ☐ CVD arrow matches direction
7. ☐ Note stop/target lines
8. ☐ Execute at signal candle close
---
## ⛔ DO NOT TRADE
- Session shows "OFF"
- Score < 4
- Vol shows RED
- Delta gray (no dominance)
- Multiple conflicting signals
- Major news imminent (FOMC, NFP, CPI)
- Overnight session (11:30 PM - 3:00 AM ET)
---
## 🎯 POSITION SIZING
| Tier | Score | Size | Stop |
|------|-------|------|------|
| S (50+ pts) | 7+ | 100% | Below/above candle |
| A (25-49 pts) | 5-6 | 75% | Below/above candle |
| B (12-24 pts) | 4 | 50% | Below/above candle |
| Zone | Any | 50% | Beyond zone |
---
## 🚨 ALERTS
### Priority Alerts (Set These)
| Alert | Action |
|-------|--------|
| 🎯 S-TIER | Drop everything, check immediately |
| 🎯 A-TIER | Evaluate within 15 seconds |
| 🎯 B-TIER | Check if available |
| 🎯 ZONE | Good context entry |
### Info Alerts (Optional)
| Alert | Purpose |
|-------|---------|
| NEW BULL/BEAR FVG | Mark zones on mental map |
| SINGLE PRINT | Note for future S/R |
| SESSION OPEN | Prepare to trade |
---
## 📈 TRADE JOURNAL
```
DATE: ___________
SESSION: ☐ LDN ☐ NY ☐ PWR
TRADE:
├── Time: _______
├── Signal: S🎯 / A🎯 / B🎯 / Z
├── Direction: LONG / SHORT
├── Score: ___/10
├── Entry: _______
├── Stop: _______
├── Target: _______
├── In Zone: ☐ Yes ☐ No
├── Result: +/- ___ pts ($_____)
└── Notes: _______________________
DAILY:
├── Trades: ___
├── Wins: ___ | Losses: ___
├── Net P/L: $_____
└── Best setup: _______________________
```
---
## 🏆 GOLDEN RULES
> **"Wait for the session. Off-hours = noise."**
> **"Score 6+ is your edge. Anything less is gambling."**
> **"Zone + Tier = bread and butter combo."**
> **"One great trade beats five forced trades."**
> **"Leave every trade with money. YM gives you time."**
---
## 🔧 TROUBLESHOOTING
| Issue | Solution |
|-------|----------|
| No signals | Lower min score to 3-4 |
| Too many signals | Raise min score to 6+ |
| Zones cluttering | Reduce max zones to 8 |
| Missing sessions | Check timezone setting |
| Table not updating | Resize chart or refresh |
---
## 📝 TECHNICAL NOTES
- **Pine Script v6**
- **Works on**: YM, MYM, any Dow futures
- **Recommended TF**: 1-5 minute for day trading
- **Min TradingView Plan**: Free (no intrabar data required)
---
*© Alexandro Disla - YM Ultimate SNIPER v5*
*Clean Build | Proven Components Only*
8-Hours Overnight Volume Profile @MaxMaserati 3.08-Hours Overnight Volume Profile MaxMaserati 3.0
The 8-Hours Overnight Volume Profile indicator provides comprehensive volume distribution analysis for overnight trading sessions, helping traders understand institutional accumulation patterns and key price levels developed during low-liquidity periods.
Core Functionality
This indicator analyzes volume distribution across overnight sessions (default: 1:00 AM - 9:00 AM EST) to identify critical price levels where the most trading activity occurred. By utilizing lower timeframe data for accurate volume calculations, it maintains consistency across all chart timeframes while providing detailed profile resolution.
Key Features & Educational Value
Volume Profile Components:
POC (Point of Control): Identifies the price level with highest traded volume, representing the fairest price acceptance during the session
Fair Value Area (FVA): Highlights the price range containing the specified percentage of total volume (default 40%), indicating the primary area of value
High Volume Nodes (HVN): Shows areas of strong price acceptance and potential support/resistance
Low Volume Nodes (LVN): Reveals areas of price rejection that may act as continuation zones
Market Bias Table:
The integrated bias analysis table provides educational context for price action relative to overnight value areas:
Bullish Bias: Close above FVA suggests upside continuation potential
Bearish Bias: Close below FVA indicates downside pressure
P-Shaped or Top-Heavy : Price rallied above FVA but closed inside, suggesting potential rejection
B-Shaped or Bottom-Heavy: Price dropped below FVA but closed inside, indicating potential support
Neutral: Price remained within FVA, suitable for range-based strategies
Professional Customization
Multiple Color Themes: Professional Blue, Dark Gold, Neon, Minimal Gray, or Custom
Visual Styles: Choose between Solid, 3D, or Outlined bar styles
Gradient Effects: Optional gradient intensity for enhanced visual depth
Flexible Display: Adjustable profile width, resolution, and session count
Trading Applications
This tool serves educational purposes by helping traders:
Understand where overnight institutional activity established value
Identify potential support/resistance levels based on volume acceptance
Recognize bias shifts when price moves beyond established value areas
Plan entries based on value area relationships and market structure
Technical Implementation
The indicator uses multi-timeframe analysis to ensure accurate volume calculation regardless of your chart timeframe, providing reliable profile data from lower timeframe consolidation. The session-based approach isolates overnight activity, making it particularly useful for traders analyzing pre-market and early regular session dynamics.
This indicator is designed for educational purposes to enhance understanding of volume profile analysis and overnight market structure. All trading decisions should be made based on comprehensive analysis and proper risk management.
Bitcoin Buy Signal D/WThis is a Bitcoin buy-signal indicator, very simple to use:
It only works on daily and weekly timeframes.
When the Tulu line is above the Hani line, and the price moves back into the Tulu–Hani range, it’s a good buying opportunity.
When the Tulu line is below the Hani line, it’s better to wait for the price to return to Tromsø before buying.
Whenever the price is below Tromsø , it’s always a good time to buy.
Candles that meet these conditions are highlighted in bright yellow to make them easy to spot.
To the moon! 🚀
HTF OHLC Candle + 50% @MaxMaserati 3.0HTF OHLC Candle + 50% MaxMaserati 3.0
This powerful, all-in-one indicator allows traders to visualize the Open, High, Low, Close (OHLC) structure and the critical 50% Midpoint (Equilibrium) of up to four different Higher Timeframes (HTFs) directly overlaid onto the current chart. Stop switching timeframes and start seeing the complete market structure at a glance!
✨ Core Features & Trader Benefits
1. 🌐 Comprehensive Multi-Timeframe Context
Visualize the past and present candle structure of four independently configurable timeframes (TF1, TF2, TF3, TF4). This eliminates manual charting and provides an immediate understanding of macro market ranges and directional bias.
TF1 OHLC LIVE: Focuses on the current, forming candle of a major timeframe (e.g., the current Daily candle) to show where price is trending relative to its open and range.
TF2-TF4 OHLC Boxes:Display both the closed historical candles (up to 10 previous boxes) and the current, forming candle for deep structural reference.
2. 🎯 Critical Level Projection (OHLC & 50%)
The indicator automatically projects and extends key price levels from each higher timeframe candle across your current chart, making them highly visible reference points.
|High (H) / Low (L): Marks the full structural range (wick to wick).
Open (O) / Close (C): Defines the body and the direction of the candle. Price magnet targets and momentum entry/retests.
50% Midpoint: The Equilibrium of the candle's range. Optimal Trade Entry (OTE) zones, potential support/resistance, and fair value flip points.
3. 🎨 Advanced Customization & Aesthetics
Every element of the indicator is highly customizable to match your preferred trading style and chart theme:
Custom Color Schemes: Independently set Bullish and Bearish body/wick colors for each of the four timeframes.
Aesthetic Clarity: Configure the size and placement of Timeframe Labels (e.g., "H4 50%") on the extended lines to maintain visual organization.
Line Styling: Adjust the color, transparency, and thickness for every individual level (Open, High, Low, 50%) across all four timeframes.
4. 🧹 Chart Management
With controls for `Max Boxes` and separate toggles for showing the current vs. closed OHLC lines, you can prevent chart clutter and focus only on the structural context relevant to your strategy.
VB-MainLiteVB-MainLite – v1.0 Initial Release
Overview
VB-MainLite is a consolidated market-structure and execution framework designed to streamline decision-making into a single chart-level view. The script combines multi-timeframe trend, volatility, volume, and liquidity signals into one cohesive visual layer, reducing indicator clutter while preserving depth of information for active traders.
Core Architecture
Trend Backbone – EMA 200
Dedicated EMA 200 acts as the primary trend filter and higher-timeframe bias reference.
Serves as the “spine” of the system for contextualizing all secondary signals (swings, reversals, volume events, etc.).
Custom MA Suite (Envelope Ready)
Four configurable moving averages with flexible source, length, and smoothing.
Default configuration (preset idea: “8/89 Envelope”):
MA #1: EMA 8 on high
MA #2: EMA 8 on low
MA #3: EMA 89 on high
MA #4: EMA 89 on low
All four are disabled by default to keep the chart minimal. Users can toggle them on from the Custom MAs group for envelope or cloud-style configurations.
Nadaraya–Watson Smoother (Swing Framework)
Gaussian-kernel Nadaraya–Watson regression applied to price (hl2) to build a smooth synthetic curve.
Two layers of functionality:
Swing labels (▲ / ▼) at inflection points in the smoothed curve.
Optional curve line that visually tracks the turning structure over the last ~500 bars.
Designed to surface early swing potential before standard MAs react.
Hull Moving Average (Trend Overlay)
Optional Hull MA (HMA) for faster trend visualization.
Color-coded by slope (buy/sell bias).
Default: off to prevent overloading the chart; can be enabled under Hull MA settings.
Momentum, Exhaustion & Pattern Engine
CCI-Based Bar Coloring
CCI applied to close with configurable thresholds.
Overbought / oversold CCI zones map directly into candle coloring to visually highlight short-term momentum extremes.
RSI Top / Bottom Exhaustion Finder
RSI logic applied separately to high-driven (tops) and low-driven (bottoms) sequences.
Plots:
Top arrows where high-side RSI stretches into high-risk territory.
Bottom arrows where low-side RSI indicates exhaustion on the downside.
Useful as confluence around the Nadaraya swing turns and EMA 200 regime.
Engulfing + MA Trend Engine (“Fat Bull / Fat Bear”)
Detects bullish and bearish engulfing patterns, then combines them with MA trend cross logic.
Only when both pattern and MA regime align does the engine flag:
Fat Bull (Engulf + MA aligned long)
Fat Bear (Engulf + MA aligned short)
Candles are marked via conditional barcolor to highlight strong, structured shifts in control.
Fat Finger Detection (Wick Spikes / Stop Runs)
Identifies abnormal wick extensions relative to the prior bar’s body range with configurable tolerance.
Supports detection of potential liquidity grabs, stop runs, or “excess” that may precede reversals or mean-reversion behavior.
Volume & Liquidity Intelligence
Bull Snort (Aggressive Buy Spikes)
Flags events where:
Volume is significantly above the 50-period average, and
Price closes in the upper portion of the bar and above prior close.
Plots a labeled marker below the bar to indicate aggressive upside initiative by buyers.
Pocket Pivots (Accumulation Flags)
Compares current volume vs prior 10 sessions with a filter on prior “up” days.
Highlights pocket pivot days where current green candle volume outclasses recent down-day volumes, suggesting stealth accumulation.
Delta Volume Core (Directional Volume by Price)
Internal volume-by-price style engine over a user-defined lookback.
Splits volume into up-close and down-close buckets across dynamic price bins.
Feeds into S&R and ICT zone logic to quantify where buying vs selling pressure built up.
Structural Context: S&R and ICT Zones
S&R Power Channel
Computes local high/low band over a configurable lookback window.
Renders:
Upper and lower S&R channel lines.
Shaded support / resistance zones using boxes.
Adds Buy Power / Sell Power metrics based on the ratio of up vs down bars inside the window, displayed directly in the zone overlays.
Drops ◈ markers where price interacts dynamically with the top or bottom band, highlighting reaction points.
ICT-Style Premium / Discount & Macro Zones
Two tiered structures:
Local Premium / Discount zones over a shorter SR window.
Macro Premium / Discount zones over a longer macro window.
Each zone:
Uses underlying directional volume to annotate accumulation vs distribution bias.
Provides Delta Volume Bias shading in the mid-band region, visually encoding whether local power flows are net-buying or net-selling.
Enables traders to quickly see whether current trade location is in a local/macro discount or premium context while still respecting volume profile.
Positioning Intelligence: PCD (Stocks)
Position Cost Distribution (PCD) – Stocks Only
Available for stock symbols on intraday up to daily timeframe (≤ 1D).
Uses:
TOTAL_SHARES_OUTSTANDING fundamentals,
Daily OHLCV snapshot, and
A bucketed distribution engine
to approximate cost basis distribution across price.
Outputs:
Horizontal “PCD bars” to the right of current price, density-scaled by estimated share concentration.
Color-coding by profitability relative to current price (profitable vs unprofitable positions).
Labels for:
Current price
Average cost
Profit ratio (share % below current price)
90% cost range
70% cost range
Range overlap as a measure of clustering / concentration.
Multi-Timeframe Trend: Two-Pole Gaussian Dashboard
Two-Pole Gaussian Filter (Line + Cloud)
Smooths a user-selected source (default: close) using a two-pole Gaussian filter with tunable alpha.
Plots:
A thin Gaussian trend line, and
A thick Gaussian “cloud” line with transparency, colored by slope vs past (offsetG).
Functions as a responsive trend backbone that is more sensitive than EMA 200 but less noisy than raw price.
Multi-Timeframe Gaussian Dashboard
Evaluates Gaussian trend direction across up to six timeframes (e.g., 1H / 2H / 4H / Daily / Weekly).
Renders a compact bottom-right table:
Header: symbol + overall bias arrow (up / down) based on average trend alignment.
Row of colored cells per timeframe (green for uptrend, magenta for downtrend) with human-readable TF labels (e.g., “60M”, “4H”, “1D”).
Gives an immediate read on whether intraday, swing, and higher-timeframe flows are aligned or fragmented.
Default Configuration & Usage Guidance
Default state after adding the script:
Enabled by default:
EMA 200 trend backbone
Nadaraya–Watson swing labels and curve
CCI bar coloring
RSI top/bottom arrows
Fat Bull / Fat Bear engine
Bull Snort & Pocket Pivots
S&R Power Channel
ICT Local + Macro zones
Two-pole Gaussian line + cloud + dashboard
PCD engine for stocks (auto-active where data is available)
Disabled by default (opt-in):
Custom MA suite (4x MAs, preset as EMA 8/8/89/89)
Hull MA overlay
How traders can use VB-MainLite in practice:
Use EMA 200 + Gaussian dashboard to define top-down directional bias and avoid trading directly against multi-TF trend.
Use Nadaraya swing labels, RSI exhaustion arrows, and CCI bar colors to time entries within that higher-timeframe bias.
Use Fat Bull / Fat Bear events as structured confirmation that both pattern and MA regime have flipped in the same direction.
Use Bull Snort, Pocket Pivots, and S&R / ICT zones to align execution with liquidity, volume, and location (premium vs discount).
On stocks, use PCD as a positioning map to understand trapped supply, support zones near crowded cost basis, and where profit-taking is likely.
BHA BUY SELLit will generate BUY SELL Signals and Support and Resistance levels and works on all instruments and all timeframes
MM Wash Detector (Fool-Proof)MM Wash Detector (Stealth) is a market-structure tool designed to identify wash candles created during liquidity hunts.
These candles typically show unusually long wicks with tiny bodies, signalling where market makers have swept stop-losses before reversing price.
The indicator marks:
Bear Wash → Long bottom wick (stop-hunt down, reversal up)
Bull Wash → Long top wick (stop-hunt up, reversal down)
This helps traders spot manipulation areas, liquidity grabs, and potential reversal zones with simple, discreet chart labels.
Multi-TF Harmonic + UT Bot + RSI Scanner [Final Fixed]Overview This indicator is an all-in-one dashboard designed to monitor 4 key timeframes (5m, 15m, 1H, 4H) simultaneously on a single chart. It seeks Confluence by combining the Counter-trend strategy of Harmonic Patterns with the Trend-following strategy of the UT Bot, backed by RSI momentum analysis.
Core Logic
Harmonic Patterns: Detects Gartley, Bat, Butterfly, Crab, Deep Crab, and Cypher patterns. It highlights when the price enters the Potential Reversal Zone (PRZ).
UT Bot: Identifies the current trend direction (Buy/Sell) using ATR Trailing Stop logic with Heikin Ashi smoothing.
RSI: Monitors Overbought (>70) and Oversold (<30) levels.
Signal Conditions
LONG ENTRY: Bullish Pattern + Price in PRZ + UT Bot Buy Trend.
SHORT ENTRY: Bearish Pattern + Price in PRZ + UT Bot Sell Trend.
WATCH: Price is in PRZ, but the trend has not yet aligned with the pattern direction.
How to Use Simply apply this indicator to any chart. The dashboard (default: Bottom Left) will display the status for 5m, 15m, 1H, and 4H timeframes without needing to switch charts.
dual moving average crossover Erdal//@version=5
indicator("MA Cross Simple", overlay=true)
// Inputs
fastLen = input.int(10)
slowLen = input.int(100)
// Moving averages
fastMA = ta.sma(close, fastLen)
slowMA = ta.sma(close, slowLen)
// Plot
plot(fastMA, color=color.green)
plot(slowMA, color=color.red)
// Cross signals
bull = ta.crossover(fastMA, slowMA)
bear = ta.crossunder(fastMA, slowMA)
// Labels
if bull
label.new(bar_index, low, "BUY", style=label.style_label_up, color=color.green)
if bear
label.new(bar_index, high, "SELL", style=label.style_label_down, color=color.red)






















