Turtle 20-Day Breakout (Donchian)Yes, the most important indicator used in the Turtle Rules (Turtle Trading Strategy) for finding breakouts above previous highs is the Donchian Channel. 🐢📈
Donchian Channel
The Donchian Channel is a trend-following indicator composed of three lines plotted on the chart:
Shutterstock
Upper Band: The highest high over the defined number of periods.
Lower Band: The lowest low over the defined number of periods.
Middle Line: The average of the Upper and Lower bands (not always used, but sometimes added for orientation).
The Turtle Rules use the following periods for the entry signals (breakouts) you mentioned in your query:
Short-Term (System 1): Crossing the 20-day high (this corresponds to the upper band of a Donchian Channel with a 20-period setting).
Mid-Term/Long-Term (System 2): Crossing the 55-day high (this corresponds to the upper band of a Donchian Channel with a 55-period setting).
Crossing the upper band signals a breakout and serves as the buy signal for a long position (for short positions, crossing below the lower band is used).
Is there anything else I can translate for you, or would you like me to elaborate on the Average True Range (ATR), the other key indicator used by the Turtles?
نماذج فنيه
X ATM Option Ladder Premium (1DTE Dynamic Wings)X ATM Option Ladder Premium is a specialized options-market visualization tool designed for intraday tracking of at-the-money (ATM) option premiums in index ETFs such as QQQ and SPY.The script dynamically identifies the ATM contract on every bar and plots real-time call-versus-put premium differences, with columns for positive/negative diffs and markers (blue dots for positive, red squares for negative) to represent upward price ticks in the option premiums.By analyzing premium levels and direction data from multiple strikes within a dynamic ± range (approximating 0.25 delta wings for 1DTE), the indicator produces a real-time histogram that reflects how premium skew evolves relative to the underlying price.Complementary status tables display the active strike, ladder position, IV-derived wing depth, and warnings when the underlying moves outside the monitored range.Core FeaturesDynamic ATM selection – Each bar automatically maps to the option contract closest to the underlying’s price.Bidirectional premium comparison – Visual separation of call and put premiums (optional columns), with premium diff as the primary histogram and “up” markers highlighting contracts trading above their prior close.Multi-strike ladder analysis – Samples strikes within IV-adjusted wings (±2-5 points typical for 1DTE at 15-25% IV) from the defined center to capture skew and momentum near the money; uses VIX1D for real-time IV approximation.Optimized data calls – Uses tuple requests to minimize request.security() load, enabling a wider ladder within TradingView limits.Session awareness – Restricts processing to the 9:30 AM – 4:15 PM ET option-trading window.Status dashboard – Displays date, active strike, warning flags (“⚠︎ / •outside”), wing parameters (e.g., “±3 (VIX1D=20%)”), and ladder details directly on chart.Use CaseThe indicator is intended for intraday traders and options-premium analysts who want to visualize how short-term pricing dynamics and sentiment migrate across the ATM region as the underlying moves. Typical applications include:Monitoring real-time call/put premium imbalances to detect skew shifts, put-call parity deviations, or implied vol divergences.Identifying premium clustering near the money—where theta decay or gamma effects can signal underlying price acceleration or pinning.Detecting when price exits the monitored ladder (⚠︎ / •outside), signaling a potential regime change or requiring manual recentering.Integrating premium flow into broader volatility or ETF models (e.g., VIX alignment or QQQ/SPY skew confirmation for straddle/strangle trades).Technical NotesStatic-center architecture ensures historical consistency: prior bars remain fixed even after re-centering.Ladder depth is dynamically computed for 1DTE 0.25Δ wings via VIX1D IV (fallback to fixed ±3); capped at ±5 to stay under TradingView’s security-call limits.auto_nudge is enabled to smoothly align the selected lane with the active ATM without requiring user intervention.Indicator is optimized for 1-minute to 5-minute charts; use overlay = false to preserve scale clarity. Manual 1DTE expiry input required (e.g., YYMMDD format).
Quarterly Theory ChecklistThis indicator gives you a fully customizable trading checklist directly on your chart, helping you stay consistent and avoid emotional or impulsive trades.
You can pin the checklist to one specific symbol, so it only appears when you’re analyzing the pair or asset you want to track. Each checklist item has:
A checkbox you can manually toggle
A text label you can customize
Automatic coloring (green check ✔ or red cross ✘)
The indicator also calculates a Trade Score based on how many criteria you’ve checked off.
This score updates live and is color-coded:
Green = 75–100% confidence
Yellow = 50–74%
Red = below 50%
You can choose:
The position of the table
Text size
Header text & colors
Border color
Number of visible checklist rows (1–8)
Enable or disable the Trade Score
Everything is organized inside a clean 2-column checklist table with a polished UI.
Perfect for:
→ System traders
→ Checklists (HTF bias, POIs, confirmations, timing, etc.)
→ Evaluations & trade grading
→ Staying disciplined and rule-based
Trend-S&R-WiP11-15-2025: This new indicator is my 5/15-Min-ORB-Trend-Finder-WiP indicator simplified to only have:
> Market Open
> 5-Min & 15-Min High/Low
> Support/Resistance lines
> Fair Value Gaps (FVGs)
> a Trend Line
> a Trend table
Recommended to be used with my other indicator: Buy-or-Sell-WiP
Strategy:
> I only trade one ticker, SPX, with ODTE CALL/PUT Credit Spreads
> use Break & Retest with 5-Min High/Low or 15-Min High/Low or FVGs
> 📈 Bullish Trend
Trade: PUT Credit Spread
Trend Confirmations:
Trend Line is green
MACD Histogram is green
Price Condition: Nearest resistance 8-10 points above market price
> 📉 Bearish Trend
Trade: CALL Credit Spread
Trend Confirmations:
Trend Line is purple
MACD Histogram is red
Price Condition: Nearest support 8-10 points below market price
> Fair Value Gaps (FVGs)
- Trade anytime during the day using Break & Retest and all indicator confirmations shown above
macd sma20
### MACD_sma20 – Multi-Timeframe MACD Pullback & SMA20 Dashboard
This script is a complete trading toolkit built around a **MACD pullback strategy** combined with **multi-timeframe SMA20 filters**, volume analysis, and a compact information panel.
It is designed for traders who like to:
* Trade **MACD pullbacks above the moving average**
* Track **key SMA20 levels across multiple timeframes** (Daily, 3-Day, Weekly, Monthly)
* Quickly see whether **current price is above or below those reference levels**
* Use **clean visual signals** for entries and exits, instead of staring at raw indicator values
---
### Core Features
#### 1. MACD Pullback Long Signal (Green Triangle Up)
The script detects a **bullish MACD pullback** pattern:
* MACD line is still **above** the signal line
* Both MACD line and histogram **pull back** for several bars
* Then MACD turns back up again, with price trading **above the local SMA20**
When this “pullback and re-acceleration” is confirmed, a **green triangle below the bar** is plotted as a **long entry signal**.
There is also an optional filter:
* **Weekly SMA20 filter**:
If enabled, long signals are only triggered when **current price is above the Weekly SMA20**, helping you stay on the right side of the higher-timeframe trend.
---
#### 2. Bearish Pullback Confirmation Signal (Red Triangle Down)
On the short side, the script detects a **bearish pullback confirmation** based on:
* A recent **high-volume bearish candle** (large down bar with volume above a multiple of the 20-period volume average)
* At least a minimum number of **negative MACD histogram bars**
* MACD line moving closer to the signal line (loss of momentum)
* Price recovering back up near the **top of that high-volume bearish candle**, then starting to fall again while MACD stays positive
When all conditions align, the script prints a **red triangle above the bar**, indicating a **bearish pullback confirmation** – often a good area to take profits on longs or consider short/hedge setups.
---
#### 3. Signal History Tracking
For both long and short signals, the script internally tracks the **most recent three signals**:
* Timestamp of the signal
* Price at the signal
* Short-term percentage change into the signal
This is mainly for internal use and future expansion, but already gives you a structured signal history if you want to extend or connect the logic later.
---
### Multi-Timeframe SMA20 Dashboard (Bottom-Right Panel)
One of the most useful parts of this script is the **compact dashboard table** in the **bottom-right corner** of the chart. It updates in real time and shows:
1. **Current Price**
2. **Daily SMA20** – value + whether price is above/below
3. **3-Day SMA20** – value + whether price is above/below
4. **Weekly SMA20** – value + whether price is above/below
5. **Monthly SMA20** – value + whether price is above/below
6. **RSI** (current timeframe)
For each timeframe’s SMA20:
* If **price ≥ SMA20**, the status cell is **green** with a ✓
* If **price < SMA20**, the status cell is **red** with a ✗
This gives you, at a glance:
* Is the market in a **short-term uptrend or downtrend** (Daily SMA20)?
* Is the **swing / position trend** healthy (3D & Weekly SMA20)?
* Is the broader **macro structure** supportive (Monthly SMA20)?
You don’t need to manually switch timeframes or add multiple moving averages – the script does all of that for you automatically using `request.security`.
---
### Alerts
The script comes with two built-in alert conditions:
* **MACD回踩转多信号 (MACD pullback bullish signal)**
* **空头回抽确认信号 (Bearish pullback confirmation signal)**
You can attach TradingView alerts to these conditions to get notified whenever a new long or bearish-confirmation setup appears, even when you’re not watching the chart.
---
### How to Use It in Your Trading
1. **Choose your main trading timeframe**
* For intraday swing: 15m / 1h / 4h
* For swing / position: 4h / Daily
2. **Watch the bottom-right SMA20 panel**
* If most higher-timeframe SMA20 rows are **green**, you are trading **with the larger trend**.
* If they are **mixed or mostly red**, you’re either counter-trend or in a choppy transition zone.
3. **Use the green MACD pullback signals**
* Prefer long setups when:
* The **Weekly and Monthly SMA20 rows are green**, and
* The signal appears **above the Daily SMA20**
* This stacks multiple edges: trend + pullback + momentum re-acceleration.
4. **Use the red bearish confirmation signals for risk management**
* Take partial profits on longs when a red signal appears near resistance.
* Consider hedge/short opportunities if higher-timeframe SMA20 rows are already red or turning red.
5. **Use RSI as a context indicator**
* Combine with overbought/oversold zones or your own RSI thresholds for additional confirmation.
---
### Why This Script Is Useful
* **Trend awareness across timeframes**:
You always know where current price sits relative to the Daily / 3-Day / Weekly / Monthly SMA20 – without switching charts.
* **Clear, rule-based signals**:
The MACD logic is explicit and systematic, focused on **pullbacks within trends** rather than random crossovers.
* **Volume-aware bearish logic**:
High-volume bearish candles often mark important supply zones. The script builds this idea directly into the short-side confirmation logic.
* **Visual and intuitive**:
Green/Red triangles + Green/Red table cells make it easy to interpret even if you are not a heavy indicator user.
* **Flexible**:
All key parameters (MACD lengths, SMA length, volume threshold, lookback period, RSI length, weekly filter) are customizable, so you can adapt it to different markets (crypto, stocks, FX) and timeframes.
---
In short, this script is a **multi-timeframe MACD pullback system with an integrated SMA20 dashboard**, suitable for swing traders and position traders who want a structured, visually clean way to align entries with trend and momentum while keeping an eye on higher-timeframe levels.
Trendline Indicator for Pionex 2//@version=5
indicator("Trendline Indicator for Pionex", overlay=true)
// ----- קו מגמה ידני -----
// יוצרים קו מגמה פשוט לגרירה ידנית
var line trendLine = line.new(x1=bar_index-10, y1=close , x2=bar_index, y2=close, extend=extend.right, color=color.blue, width=2)
// קבלת המחיר הנוכחי של הקו
trendPrice = line.get_price(trendLine, bar_index)
// ----- תנאי קנייה ומכירה -----
longCondition = close > trendPrice
shortCondition = close < trendPrice
// ----- הצגה גרפית של תנאי הקנייה והמכירה -----
plotshape(longCondition, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small)
plotshape(shortCondition, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small)
Stocktech- Neutral Candle VisualiserStocktech.in™ — Neutral Candle Visualizer
Stocktech Neutral Candle Visualizer highlights price candles based on body strength.
Large-body candles follow trend direction (green/red), while small or neutral candles are marked in blue.
Simple, clean, and optimized for discretionary traders who prefer clear visual cues without indicators.
Features:
Auto-colored candles based on body size
Trend candles = green (bull) / red (bear)
Neutral/low-strength candles = blue
Works on all markets & timeframes
Created by Stocktech.in™
ORB + FVG w Alerts ORB for chart timeframe. Draws FVG for breakout move or first FVG to form after close outside of ORB. Also draws FVGs if price closes back inside the ORB after closing outside the ORB.
Inspired by Casper SMC on YouTube. Not perfect, but it helps me focus on this set-up.
hell 1good for finding tops and bottoms in a trend .set to log scale and strech it like it looks in the chart
Michael's FVG Detector═══════════════════════════════════════
Michael's FVG Detector
═══════════════════════════════════════
A clean and efficient Fair Value Gap (FVG) indicator for TradingView that helps traders identify market imbalances with precision.
───────────────────────────────────────
Overview
───────────────────────────────────────
Fair Value Gaps (FVGs) are price inefficiencies that occur when there's a gap between the wicks of candlesticks, indicating rapid price movement with minimal trading activity. These gaps often act as support/resistance zones where price may return to "fill the gap."
This indicator automatically detects and visualizes both bullish and bearish FVGs on any timeframe, making it easy to spot potential trading opportunities.
───────────────────────────────────────
Features
───────────────────────────────────────
Core Functionality
Automatic FVG Detection : Identifies Fair Value Gaps in real-time as they form
Bullish & Bearish FVGs : Detects both upward and downward price gaps
3-Candle Pattern : Uses classic FVG logic (current candle low > high from 2 bars ago for bullish, vice versa for bearish)
Gap Size Display : Shows the exact size of each FVG in ticks directly on the box
Confirmed Bars Only : Only draws FVGs on confirmed bars to prevent repainting
Customization
Color Settings : Fully customizable colors for bullish and bearish FVGs with transparency control
Text Color : Configurable color for the tick size labels
Default Styling : Comes with sensible defaults (20% transparency, dark gray labels)
Performance Optimization
Smart Cleanup : Automatically removes boxes outside the visible chart area
Efficient Rendering : Maintains optimal performance even on lower timeframes
No Repainting : Uses confirmed bars only for reliable signals
───────────────────────────────────────
How It Works
───────────────────────────────────────
Detection Logic
Bullish FVG:
Current bar's low is higher than the high from 2 bars ago
Creates an upward gap that price left behind during bullish momentum
Bearish FVG:
Current bar's high is lower than the low from 2 bars ago
Creates a downward gap that price left behind during bearish momentum
Visual Display
Each detected FVG is displayed as:
A semi-transparent colored box spanning the gap area
The box extends from bar -2 to the current bar
Gap size in ticks shown at the bottom-left of each box
Singular/plural formatting ("1 tick" vs "X ticks")
───────────────────────────────────────
Performance Notes
───────────────────────────────────────
Cleanup runs every 50 bars to maintain optimal performance
Only creates boxes on confirmed bars (no real-time repainting)
Efficiently manages memory by removing off-screen boxes
Suitable for both manual and automated trading strategies
───────────────────────────────────────
Disclaimer
───────────────────────────────────────
This indicator is for educational and informational purposes only. It is not financial advice. Always do your own research and risk management before making trading decisions.
───────────────────────────────────────
Author : Michael
Version : 1.0
License : Free for personal use
Last Updated : November 2025
session high and low (only for current day) -HITHVEERits about session highs and lows and only for the current day and main sessions are asia london and newyork
FVG & Market Structure//@version=5
indicator("FVG & Market Structure", overlay=true)
// Inputs
fvg_lookback = input.int(100, "FVG Lookback Period")
fvg_strength = input.int(1, "FVG Minimum Strength")
show_fvg = input.bool(true, "Show FVG")
show_liquidity = input.bool(true, "Show Liquidity Zones")
show_bos = input.bool(true, "Show BOS")
// Calculate swing highs and lows
swing_high = ta.pivothigh(high, 2, 2)
swing_low = ta.pivotlow(low, 2, 2)
// Detect Fair Value Gaps (FVG)
detect_fvg() =>
// Bullish FVG (current low > previous high + threshold)
bullish_fvg = low > high and show_fvg
// Bearish FVG (current high < previous low - threshold)
bearish_fvg = high < low and show_fvg
= detect_fvg()
// Plot FVG areas
bgcolor(bullish_fvg ? color.new(color.green, 95) : na, title="Bullish FVG")
bgcolor(bearish_fvg ? color.new(color.red, 95) : na, title="Bearish FVG")
// Breach of Structure (BOS) detection
detect_bos() =>
var bool bull_bos = false
var bool bear_bos = false
// Bullish BOS - price breaks above previous swing high
if high > ta.valuewhen(swing_high, high, 1) and not na(swing_high)
bull_bos := true
bear_bos := false
// Bearish BOS - price breaks below previous swing low
if low < ta.valuewhen(swing_low, low, 1) and not na(swing_low)
bear_bos := true
bull_bos := false
= detect_bos()
// Plot BOS signals
plotshape(bull_bos and show_bos, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, title="Bullish BOS")
plotshape(bear_bos and show_bos, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small, title="Bearish BOS")
// Liquidity Zones (Recent Highs/Lows)
liquidity_range = input.int(20, "Liquidity Lookback")
buy_side_liquidity = ta.highest(high, liquidity_range)
sell_side_liquidity = ta.lowest(low, liquidity_range)
// Plot Liquidity Zones
plot(show_liquidity ? buy_side_liquidity : na, color=color.red, linewidth=1, title="Sell Side Liquidity")
plot(show_liquidity ? sell_side_liquidity : na, color=color.green, linewidth=1, title="Buy Side Liquidity")
// Order Block Detection (Simplified)
detect_order_blocks() =>
// Bullish Order Block - strong bullish candle followed by pullback
bullish_ob = close > open and (close - open) > (high - low) * 0.7 and show_fvg
// Bearish Order Block - strong bearish candle followed by pullback
bearish_ob = close < open and (open - close) > (high - low) * 0.7 and show_fvg
= detect_order_blocks()
// Plot Order Blocks
bgcolor(bullish_ob ? color.new(color.lime, 90) : na, title="Bullish Order Block")
bgcolor(bearish_ob ? color.new(color.maroon, 90) : na, title="Bearish Order Block")
// Alerts for key events
alertcondition(bull_bos, "Bullish BOS Detected", "Bullish Breach of Structure")
alertcondition(bear_bos, "Bearish BOS Detected", "Bearish Breach of Structure")
// Table for current market structure
var table info_table = table.new(position.top_right, 2, 4, bgcolor=color.white, border_width=1)
if barstate.islast
table.cell(info_table, 0, 0, "Market Structure", bgcolor=color.gray)
table.cell(info_table, 1, 0, "Status", bgcolor=color.gray)
table.cell(info_table, 0, 1, "Bullish BOS", bgcolor=bull_bos ? color.green : color.red)
table.cell(info_table, 1, 1, bull_bos ? "ACTIVE" : "INACTIVE")
table.cell(info_table, 0, 2, "Bearish BOS", bgcolor=bear_bos ? color.red : color.green)
table.cell(info_table, 1, 2, bear_bos ? "ACTIVE" : "INACTIVE")
table.cell(info_table, 0, 3, "FVG Count", bgcolor=color.blue)
table.cell(info_table, 1, 3, str.tostring(bar_index))
QQQ GO/EXIT (v13.6 – panel filters wired)Institutional level entries and exits on QQQ. uses vwap, emas, vold.
Smart Trail Signals NO CONDITIONSSmart Trail Signals Indicator
Overview
This is a trend-following indicator that uses a dynamic trailing stop system to identify bullish and bearish trends. It adapts to market volatility using ATR (Average True Range) and provides visual signals when the trend direction changes.
Core Components
Smart Trail System:
Calculates dynamic support (trail_up) and resistance (trail_down) levels
Adjusts trail levels based on price movement and volatility
Maintains trend direction until price crosses the opposite trail level
Key Parameters:
Length (14): Period for ATR calculation
Multiplier (2.0): Distance of trail from price relative to ATR
Sensitivity (1-5): Fine-tunes how quickly the trail adapts to price changes
How It Works
Trend Detection: Monitors whether price is above the support trail (bullish) or below the resistance trail (bearish)
Trail Movement:
In uptrends: Support trail rises with price but never decreases
In downtrends: Resistance trail falls with price but never increases
Signals: Diamond shapes appear when trend flips:
Green diamond below bar = bullish trend change
Red diamond above bar = bearish trend change
Visual Aids:
Trail line changes color (lime for uptrend, red for downtrend)
Candles colored green (bullish), red (bearish), or gray (neutral)
Best Use Cases
Identifying trend reversals on any timeframe
Following strong directional moves
Setting dynamic stop-loss levels
Works 24/7 on all instruments (stocks, crypto, forex)
RetryClaude can make mistakes. Please double-check responses. Sonnet 4.5
KGdana ORB + FVGORB for chart timeframe. Draws FVG for breakout move or first FVG to form after close outside of ORB. Also draws FVGs if price closes back inside the ORB after closing ouside the ORB.
Liquidity GrabsLevels of untapped internal liquidity, waiting to be reclaimed. Works on any timeframe.
Engulfing Candlestick Pattern - BB FilterBeen working on doing a better version of this. This is like version 2.0. Usese this definition of an engulfing candle:
tradeciety.com/how-to-trade-the-engulfing-candlestick-pattern
As you change the parameters of the Bollinger band the signals will change.
You can also set the distance away from the band using ATR muliplier to catch moves near the BB.
Per Claude,
This setup should give you much higher quality signals since you're filtering for engulfing patterns that occur at the extremes of the Bollinger Bands - exactly like the Tradeciety article recommends. Those are the setups with the best context and highest probability.
A few tips for using it:
You can adjust the BB Touch Distance slider if you want to be stricter or more lenient about what counts as "touching" the bands
Try enabling Strict Mode if you want only the strongest engulfing patterns (where the full range including wicks is engulfed)
Works great on higher timeframes like Daily and Weekly for the most reliable signals on NQ and ES
I personally use this on the 1000 tick NQ chart.
It's not perfect but 2x better than my first attempt. Enjoy.
Open to suggestions as well.
For entertainment purposes only.
Engulfing Candlestick Pattern - BB FilterBeen working on doing a better version of this. This is like version 2.0. Usese this definition of an engulfing candle:
tradeciety.com
As you change the parameters of the Bollinger band the signals will change.
You can also set the distance away from the band using ATR muliplier to catch moves near the BB.
Per Claude,
This setup should give you much higher quality signals since you're filtering for engulfing patterns that occur at the extremes of the Bollinger Bands - exactly like the Tradeciety article recommends. Those are the setups with the best context and highest probability.
A few tips for using it:
You can adjust the BB Touch Distance slider if you want to be stricter or more lenient about what counts as "touching" the bands
Try enabling Strict Mode if you want only the strongest engulfing patterns (where the full range including wicks is engulfed)
Works great on higher timeframes like Daily and Weekly for the most reliable signals on NQ and ES
I personally use this on the 1000 tick NQ chart.
It's not perfect but 2x better than my first attempt. Enjoy.
Open to suggestions as well.
For entertainment purposes only.
Confluence: VP + FVG + DeltaConfluence, volume profile FVG and Delta all in one chart the holy trinity.






















