ICT levels (PDL,PWL,PQL,PYL) PDHThis indicator plots ICT reference levels for multiple timeframes, including:
Daily (DO, DH, DL, PDO, PDH, PDL)
Weekly (WO, WH, WL, PWO, PWH, PWL)
Monthly (MO, MH, ML, PMO, PMH, PML)
Quarterly (QO, QH, QL, PQO, PQH, PQL)
Yearly (YO, YH, YL, PYO, PYH, PYL)
🔹 Custom Target (NYO or user-defined):
The script also lets you display a special target level (e.g. New York Open) at a user-defined hour:minute with selectable timezone.
🔹 Day of Week levels (DoW):
You can choose a specific weekday (e.g. Tuesday Open/High/Low/Close) with adjustable timezone, allowing flexible session-based analysis.
🔹 Display & Style Options:
Extend lines (None, Right, Left, Both)
Line style (Solid, Dashed, Dotted)
Font type (Default, Monospace)
Label position (Top or Middle, with spacing adjustment)
Offset bars for labels
Merge labels if levels are too close (threshold % configurable)
🔹 Priority Handling:
Includes High Timeframe Priority (TFP) option so higher-TF levels overwrite lower ones when overlapping.
🔹 Customization:
Global text and line colors
Individual colors for Day, Week, Month, Quarter, Year, DoW, and Target
Option to show/hide prices next to labels in different styles
Pivot points and levels
Opening Range Gaps [LEG]📌 Opening Range Gaps
Are you tired of indicators that don’t show the correct opening price on CFDs, or that fail to capture the true 09:30 open or the 16:14 on Nasdaq futures?
Or worse… tools that only work on the 1-minute chart?
👉 This script was built to fix that.
🔑 Why this indicator?
Unlike most gap tools, Opening Range Gaps :
Works seamlessly on both CFDs and Futures for Nasdaq.
Captures the exact 16:14 close (the CFD session end) and the true 09:30 open using M1 data aggregation, even if you’re on a higher timeframe.
Works reliably on any intraday timeframe — not just the 1-minute chart, but all the way up to the timeframe you set in the Timeframe Limit (default: 30m).
⚙️ Features:
Gap Detection with Precision
Uses the close of the 16:14 bar (last CFD session minute) as the reference.
Captures the specific open at 09:30 (not approximated by session).
Plots the gap as a shaded box with customizable colors.
Quarter Levels Inside the Gap
Automatically divides the gap into 25%, 50%, and 75% levels for precision trading.
Customization
Show/hide vertical session delimitations.
Choose whether to track the reference price throughout the session.
Extend boxes to the right for context.
Keep only the last “n” gaps on your chart (default: 10).
Works Across Timeframes
Thanks to request.security_lower_tf, all logic is based on 1-minute data, so even if you’re on 5m, 15m, or 30m, the gap will always plot with exact levels.
🧭 Use Cases
Spot the true overnight gap between CFD close (16:14) and futures open (09:30).
Track how Nasdaq fills (or fails to fill) gaps during the day.
Use quarter levels for partial fills, rejection points, or continuation setups.
Combine with ICT concepts or price action strategies to identify liquidity-driven moves.
ICT NY Opens (Midnight, 7:30 & 8:30) True📌 ICT NY Opens Fixed (Midnight, 7:30 & 8:30) TRUE
This indicator is designed for traders following ICT (Inner Circle Trader) concepts and provides precise reference levels for the most relevant New York session opens. It automatically captures and plots the opening price for Midnight (00:00 NY), 7:30 AM, and 8:30 AM (configurable), letting you use them as liquidity anchors, manipulation zones, or institutional reference points.
🔑 Key Features
Fixed New York Opens (configurable)
Midnight (00:00 NY), 7:30 AM (NY), 8:30 AM (NY) — each open is captured from the first bar of the configured session.
Sessions are editable: the indicator exposes input.session fields for each open, so you can change the exact hour/minute (e.g., set 00:00 → 23:30 or 08:30 → 08:00). The lines and levels will follow the chosen session times.
Extension & Custom Hours (explicit)
Preset extensions: 1 Day or 2 Days (the horizontal line spans that period).
Directional extension: Right (extend to the right) or Both (left & right).
Custom Hours option: enable a custom-hours toggle and enter a specific number of hours (1–23). When enabled, horizontal lines extend for the exact number of hours you enter instead of the preset day lengths.
Labels are positioned relative to the extension setting (anchored at the open or after the extension depending on the selected mode).
Customizable visuals
Show/hide each open individually.
Independent color and line-style (solid / dotted / dashed) for each open.
Separate text color for labels.
Automatic Labels & Vertical Line
Each drawn level includes an automatic label with the open name and the exact opening price.
A dedicated vertical line option exists for the Midnight open (visual daily separator).
⚙️ How it behaves (precision & workflow)
The script detects the first bar inside the session you configure and records that bar's open as the session Open price.
If you change the session string/time in settings, the indicator will use the new time going forward and draw the corresponding level at that session's opening bar.
Extensions respect either the preset days or the custom hours you specify, so you can make lines last a precise number of hours (useful for intraday setups).
🧭 Use Cases
Pinpoint liquidity clusters and anticipate stop hunts near session opens.
Use as range anchors to measure intraday deviations.
Monitor reactions around economic releases and futures opens (7:30 / 8:30).
Integrate into ICT-based scalping or swing setups where precise session timing matters.
CISD + MSS/CHOCH + BOSThis indicator is unlike all others. It shows Market Structure Shifts, Change In the State of Delivery, and Break Of Structure all at the same time in a clean and simple way. By default, BOS is disabled, and so are CISDs which are in the same direction of the previous CISD.
The best time to use CISD is after a level of liquidity has been visited and a reversal is expected.
Sr.Rma.Breakout.Fib (Merged)DO YOUR DUE DILIGENCE – THIS IS FOR EDUCATIONAL PURPOSE AND NOT A TRADE ADVICE-
This strategy is designed for traders who want to merge pattern recognition (breakouts) with market structure context (Fibonacci), while maintaining disciplined trade management through automated stop-loss and reversal logic. “Once the chart is added, please ensure the candle pattern is set to Heikin Ashi.”
1. Breakout Finder Logic
The breakout finder identifies bullish and bearish breakouts using pivots, thresholds, and test counts:
• Pivot Highs & Lows (PH/PL): Calculated using user-defined periods.
• Breakout Threshold: Dynamic channel width based on recent volatility.
• Confirmation: A breakout is validated when price action clears the breakout Conditions
• Bullish Breakout: Triggered when multiple pivot highs are cleared by bullish Conditions.
• Bearish Breakout: Triggered when multiple pivot lows are broken by bearish Conditions.
• Sessions ignored: Traders can exclude up to three custom time windows to prevent signals during low-quality periods.
Risk & Reversal Controls
• Stop-Loss: Adjustable % thresholds for both long and short trades.
• Reversal Entries: Optional signals that trigger after a stop-loss, capturing potential price reversals.
2. Strategy Order Management
The strategy executes entries and exits based on confirmed breakout and reversal signals:
• Entries:
o Long on confirmed bullish breakout.
o Short on confirmed bearish breakout.
• Stops:
o Automatic closure of open positions when stop-loss conditions are hit.
• Reversals:
o Transition directly from long to short or vice versa when reversal conditions are met.
3. Auto Fibonacci Retracement
A ZigZag-based system automatically plots Fibonacci retracement levels on the chart:
• Swing Context: Derived dynamically from pivots with adjustable depth and deviation settings.
• Fib Levels: Standard retracement and extension levels (0.236, 0.382, 0.5, 0.618, 0.786, 1.0, 1.618, 2.618, 3.618, 4.236, etc.) are supported.
• Custom Options:
o Extend lines left or right.
o Show/hide level prices and percentage values.
o Control label positions (left or right).
o Adjustable transparency for background fills between levels.
• Crossing Alerts: Alerts are fired when the price crosses specific Fibonacci levels, enhancing confluence with breakout signals.
5. Key Benefits
• Comprehensive Trading Framework: Combines breakout confirmation, risk management, and Fibonacci context.
• Visual Clarity: Automatic plotting of breakout structures and Fib levels makes the chart intuitive.
• Flexible Controls: Full customization of pivots, thresholds, sessions, stop-loss %, and Fib settings.
• Automation Ready: Alerts and strategy orders allow seamless integration with brokers or external systems.
MTF Stochastic Range FinderThis indicator compares Stochastic RSI from 2 timeframes to signal possible reversals. Default 5 minute and 2 minute. Both Stochastic RSIs are customizable.
Allows for 6 support/resistance lines and allows a tolerance to filter proximity to levels for entry.
Can filter price level by manual support/resistance levels and/or VWAP
HABHEEMA POB V3 Purity Of Breakout levels - These levels are projected levels based on specific mathematical calculations. These levels include entry and exit points along with SLs.
Trend lines indicator by ForexBeeEnhanced 3-Swing Trendline Zones - Complete Feature Guide
WHAT THIS INDICATOR DOES
This indicator automatically draws trendline zones on your chart using a 3-point validation system. Instead of just connecting any two price points like basic trendline tools, it waits for three swing points to confirm the trendline is valid before drawing it.
FEATURE 1: SWING POINT DETECTION
What it detects:
Swing highs: Price points where the high is higher than surrounding candles
Swing lows: Price points where the low is lower than surrounding candles
These show up as small arrows on your chart labeled "SH" (swing high) and "SL" (swing low)
Settings that control this:
Swing Length : Default is 6, range 1-20
Higher numbers = fewer, more significant swing points
Lower numbers = more swing points, including minor ones
Example: Setting 5 means each swing point must be higher/lower than 5 candles on each side
How to use this setting:
On 1-minute charts: Use 5-10 to filter out noise
On daily charts: Use 2-3 for more sensitivity
Volatile markets: Increase the number
Quiet markets: Decrease the number
Please See the Below Images To See the difference of swing length of 6 and 8
Display control:
Show Swing Points : Turn the arrows on/off
Default: ON (you'll see the arrows)
Turn OFF if arrows clutter your chart
FEATURE 2: RETRACEMENT VALIDATION SYSTEM
What this does:
After finding two swing points, the system checks if the second swing represents a proper market retracement, not just random price movement.
How it works:
Finds the highest point between two swing lows (or lowest point between two swing highs)
Calculates how much the second swing retraced from this extreme point
Only accepts swings that retrace between your set percentages
Settings that control this:
Lower Limit % : Default 50%, range 0-100%
Upper Limit % : Default 90%, range 0-100%
These create a "valid retracement zone"
Why this matters:
Eliminates random trendlines that don't follow market structure
Ensures trendlines represent actual retracement patterns
Based on Elliott Wave and Fibonacci principles
FEATURE 3: ATR-BASED ZONE WIDTH
What ATR means:
Average True Range measures how much price typically moves in a given period. Instead of fixed-width trendlines, this creates zones that adapt to market volatility.
Settings that control this:
Zone Width (ATR Multiple) : Default 0.3, range 0.1-1.0
ATR Length : Default 14, range 1-50 periods
How zone width works:
Multiplier 0.1 = Very narrow zones (tight around trendline)
Multiplier 0.5 = Medium zones
Multiplier 1.0 = Wide zones (accommodates more price movement)
ATR Length explained:
14 periods = Uses last 14 candles to calculate average volatility
Shorter periods (7) = More sensitive to recent volatility changes
Longer periods (21) = Smoother, less sensitive to volatility spikes
Practical impact:
During high volatility: Zones automatically become wider
During low volatility: Zones automatically become narrower
Prevents false breakouts during normal market noise
Creates realistic support/resistance areas instead of precise lines
FEATURE 4: VISUAL ZONE SYSTEM
Active Uptrend Zones:
Green upper boundary line (solid, thick)
Lime green lower boundary line (solid, thick)
Green fill between lines (80% transparency)
These represent dynamic support levels
Active Downtrend Zones:
Blue upper boundary line (solid, thick)
Navy blue lower boundary line (solid, thick)
Red fill between lines (80% transparency)
These represent dynamic resistance levels
Broken/Expired Zones:
Gray/silver boundary lines (dashed, thick)
Original fill color maintained (green for uptrend zones, red for downtrend zones)
Shows historical trendlines that are no longer active
FEATURE 5: BREAK DETECTION SYSTEM
How breaks are detected:
The system monitors when price violates the zone boundaries, indicating the trendline structure has failed.
Settings that control this:
Use Wick Break : True/False toggle
TRUE: Break occurs when candle high/low touches zone boundary
FALSE: Break occurs when candle close price crosses zone boundary
Conservative vs Aggressive approach:
Wick Break = TRUE (Aggressive) :
- More sensitive, earlier signals
- May produce more false breaks during volatile periods
- Good for scalping and short-term trading
Wick Break = FALSE (Conservative) :
- Requires candle to close beyond zone
- Fewer false signals, more reliable breaks
- Better for swing trading and position trading
What happens when zone breaks:
Zone lines change from solid to dashed
Zone lines change color to gray/silver
Fill color remains original (green/red) for identification
Zone stops extending forward
Zone is removed from active monitoring
FEATURE 6: ZONE EXPIRATION SYSTEM
What expiration does:
Allows trendlines to automatically become inactive after a set number of bars, even if they haven't been broken.
Settings that control this:
Use Zone Expiration : True/False toggle
Zone Expiration (Bars) : Default 500, range 1-1000
FALSE: Zones run indefinitely until broken
TRUE: Zones expire after specified number of bars
Visual result:
Expired zones look identical to broken zones
Lines become dashed and gray/silver
Fill colors remain original (green/red)
FEATURE 7: MULTI-TIMEFRAME TREND ANALYSIS TABLE
What the table shows:
A small table on your chart that monitors trend conditions across four different timeframes simultaneously.
Settings that control this:
TF1, TF2, TF3, TF4 : Four customizable timeframes
Default: 4H, 8H, 1D, 1W
Table Position : 9 positions (top/middle/bottom + left/center/right)
Text Size : Tiny, Small, Normal, Large, Huge
How trend detection works:
Uptrend Pattern : Current candle's high AND low are both higher than previous candle's high AND low on specified timeframes
This creates higher highs and higher lows
Shows consistent buying pressure
Table displays green background with upward arrow (▲)
Downtrend Pattern : Current candle's high AND low are both lower than previous candle's high AND low on specified timeframes
This creates lower highs and lower lows
Shows consistent selling pressure
Table displays red background with downward arrow (▼)
Range/Sideways Pattern : Current candle creates either inside bar or outside bar
Inside bar: Current range smaller than previous candle
Outside bar: Current range larger than previous candle
Shows market indecision or consolidation
Table displays orange background with diamond symbol (◆)
No Clear Pattern : None of the above conditions are met
Table displays gray background with horizontal line (⎯)
How to interpret the table:
All timeframes green (uptrend): Strong bullish alignment
All timeframes red (downtrend): Strong bearish alignment
Mixed colors: Conflicting timeframes, exercise caution
Mostly orange: Market in consolidation phase
Tooltip explanations: Hover over each cell for detailed description
FEATURE 8: BACKGROUND COLOR SYSTEM
What background colors show:
Optional feature that colors your chart background based on the current timeframe's trend condition.
Settings that control this:
Show Background Colors : True/False toggle
Background Transparency : 80-98% range
Default: OFF (no background colors)
Color scheme:
Green background: Current timeframe showing uptrend
Red background: Current timeframe showing downtrend
Orange background: Current timeframe showing range/consolidation
No background: No clear trend pattern
Transparency levels:
80%: More visible background color
95%: Subtle background hint
98%: Very subtle background tint
HABHEEMA POB V2 (FixPurity Of Breakout - This project the buy and sell levels based on the mathematical calculations. It also provides the projected SL levels for the trades. Traders to use the SL levels based on their risk-taking capabilities.
Ramen & OJ V1Ramen & OJ V1 — Strategy Overview
Ramen & OJ V1 is a mechanical price-action system built around two entry archetypes—Engulfing and Momentum—with trend gates, session controls, risk rails, and optional interval take-profits. It’s designed to behave the same way you’d trade it manually: wait for a qualified impulse, enter with discipline (optionally on a measured retracement), and manage the position with clear, rules-based exits.
Core Idea (What the engine does)
At its heart, the strategy looks for a decisive candle, then trades in alignment with your defined trend gates and flattens when that bias is no longer valid.
Entry Candle Type
Engulfing: The body of the current candle swallows the prior candle’s body (classic momentum shift).
Momentum: A simple directional body (close > open for longs, close < open for shorts).
Body Filter (lookback): Optional guard that requires the current body to be at least as large as the max body from the last N bars. This keeps you from chasing weak signals.
Primary MA (Entry/Exit Role):
Gate (optional): Require price to be above the Primary MA for longs / below for shorts.
Exit (always): Base exit occurs when price closes back across the Primary MA against your position.
Longs: qualifying bullish candle + pass all enabled filters.
Shorts: mirror logic.
Entries (Impulse vs. Pullback)
You choose how aggressive to be:
Market/Bars-Close Entry: Fire on the bar that confirms the signal (respecting filters and sessions).
Retracement Entry (optional): Instead of chasing the close, place a limit around a configurable % of the signal candle’s range (e.g., 50%). This buys the dip/sells the pop with structure, often improving average entry and risk.
Flip logic is handled: when an opposite, fully-qualified signal appears while in a position, the strategy closes first and then opens the new direction per rules.
Exits & Trade Management
Primary Exit: Price closing back across the Primary MA against your position.
Interval Take-Profit (optional):
Pre-Placed (native): Automatically lays out laddered limit targets every X ticks with OCO behavior. Each rung can carry its own stop (per-rung risk). Clean, broker-like behavior in backtests.
Manual (legacy): Closes slices as price steps through the ladder levels intrabar. Useful for platforms/brokers that need incremental closes rather than bracketed OCOs.
Per-Trade Stop: Choose ticks or dollars, and whether the $ stop is per position or per contract. When pre-placed TP is on, each rung uses a coordinated OCO stop; otherwise a single hard stop is attached.
Risk Rails (Session P&L Controls)
Session Soft Lock: When a session profit target or loss limit is hit, the strategy stops taking new trades but does not force-close open positions.
Session Hard Lock: On reaching your session P&L limit, all orders are canceled and the strategy flattens immediately. No new orders until the next session.
These rails help keep good days good and bad days survivable.
Filters & How They Work Together
1) Trend & Bias
Primary MA Gate (optional): Only long above / only short below. This keeps signals aligned with your primary bias.
Primary MA Slope Filter (optional): Require a minimum up/down slope (in degrees over a defined bar span). It’s a simple way to force impulse alignment—green light only when the MA is actually moving up for longs (or down for shorts).
Secondary MA Filter (optional): An additional trend gate (SMA/EMA, often a 200). Price must be on the correct side of this higher-timeframe proxy to trade. Great for avoiding countertrend picks.
How to combine:
Use Secondary MA as the “big picture” bias, Primary MA gate as your local regime check, and Slope to ensure momentum in that regime. That three-layer stack cuts a lot of chop.
2) Volatility/Exhaustion
CCI Dead Zone Filter (optional): Trades only when CCI is inside a specified band (default ±200). This avoids entries when price is extremely stretched; think of it as a no-chase rule.
TTM Squeeze Filter (optional): When enabled, the strategy avoids entries during a squeeze (Bollinger Bands inside Keltner Channels). You’re effectively waiting for the release, not the compression itself. This plays nicely with momentum entries and the slope gate.
How to combine:
If you want only the clean breaks, enable Slope + Squeeze; if you want structure but fewer chases, add CCI Dead Zone. You’ll filter out a lot of low-quality “wiggle” trades.
3) Time & Market Calendar
Sessions: Up to two session windows (America/Chicago by default), with background highlights.
Good-Till-Close (GTC): When ON, trades can close outside the session window; when OFF, all positions are flattened at session end and pending orders canceled.
Market-Day Filters: Skip US listed holidays and known non-full Globex days (e.g., Black Friday, certain eves). Cleaner logs and fewer backtest artifacts.
How to combine:
Run your A-setup window (e.g., cash open hour) with GTC ON if you want exits to obey system rules even after the window, or GTC OFF if you want the book flat at the bell, no exceptions.
Practical Profiles (mix-and-match presets)
Trend Rider: Primary MA gate ON, Slope filter ON, Secondary MA ON, Retracement ON (50%).
Goal: Only take momentum that’s already moving, buy the dip/sell the pop back into trend.
Structure-First Pullback: Primary MA gate ON, Secondary MA ON, CCI Dead Zone ON, Retracement 38–62%.
Goal: Filter extremes, use measured pullbacks for better R:R.
Break-Only Mode: Slope ON + Squeeze filter ON (avoid compression), Body filter ON with short lookback.
Goal: Only catch clean post-compression impulses.
Session Scalper: Tight session window, GTC OFF, Interval TP ON (small slices, short rungs), per-trade tick stop.
Goal: Quick hits in a well-defined window, always flat after.
Automation Notes
The system is built with intrabar awareness (calc_on_every_tick=true) and supports bracket-style behavior via pre-placed interval TP rungs. For webhook automation (e.g., TradersPost), keep chart(s) open and ensure alerts are tied to your order events or signal conditions as implemented in your alert templates. Always validate live routing with a small-size shakedown before scaling.
Tips, Caveats & Good Hygiene
Intrabar vs. Close: Backtests can fill intrabar where your broker might not. The pre-placed mode helps emulate OCO behavior but still depends on feed granularity.
Slippage & Fees: Set realistic slippage/commission in Strategy Properties to avoid fantasy equity curves.
Session Consistency: Use the correct timezone and verify that your broker’s session aligns with your chart session settings.
Don’t Over-stack Filters: More filters ≠ better performance. Start with trend gates, then add one volatility filter if needed.
Disclosure
This script is for educational purposes only and is not financial advice. Markets carry risk; only trade capital you can afford to lose. Test thoroughly on replay and paper before using any automated routing.
TL;DR
Identify a decisive candle → pass trend/vol filters → (optionally) pull back to a measured limit → scale out on pre-planned rungs → exit on Primary MA break or session rule. Clear, mechanical, repeatable.
Extremum Range MA Crossover Strategy1. Principle of Work & Strategy Logic ⚙️📈
Main idea: The strategy tries to catch the moment of a breakout from a price consolidation range (flat) and the start of a new trend. It combines two key elements:
Moving Average (MA) 📉: Acts as a dynamic support/resistance level and trend filter.
Range Extremes (Range High/Low) 🔺🔻: Define the borders of the recent price channel or consolidation.
The strategy does not attempt to catch absolute tops and bottoms. Instead, it enters an already formed move after the breakout, expecting continuation.
Type: Trend-following, momentum-based.
Timeframes: Works on different TFs (H1, H4, D), but best suited for H4 and higher, where breakouts are more meaningful.
2. Justification of Indicators & Settings ⚙️
A. Moving Average (MA) 📊
Why used: Core of the strategy. It smooths price fluctuations and helps define the trend. The price (via extremes) must cross the MA → signals a potential trend shift or strengthening.
Parameters:
maLength = 20: Default length (≈ one trading month, 20-21 days). Good balance between sensitivity & smoothing.
Lower TF → reduce (10–14).
Higher TF → increase (50).
maSource: Defines price source (default = Close). Alternatives (HL2, HLC3) → smoother, less noisy MA.
maType: Default = EMA (Exponential MA).
Why EMA? Faster reaction to recent price changes vs SMA → useful for breakout strategies.
Other options:
SMA 🟦 – classic, slowest.
WMA 🟨 – weights recent data stronger.
HMA 🟩 – near-zero lag, but “nervous,” more false signals.
DEMA/TEMA 🟧 – even faster & more sensitive than EMA.
VWMA 🔊 – volume-weighted.
ZLEMA ⏱ – reduced lag.
👉 Choice = tradeoff between speed of reaction & false signals.
B. Range Extremes (Previous High/Low) 📏
Why used: Define borders of recent trading range.
prevHigh = local resistance.
prevLow = local support.
Break of these levels on close = trigger.
Parameters:
lookbackPeriod = 5: Searches for highest high / lowest low of last 5 candles. Very recent range.
Higher value (10–20) → wider, stronger ranges but rarer signals.
3. Entry & Exit Rules 🎯
Long signals (BUY) 🟢📈
Condition (longCondition): Previous Low crosses MA from below upwards.
→ Price bounced from the bottom & strong enough to push range border above MA.
Execution: Auto-close short (if any) → open long.
Short signals (SELL) 🔴📉
Condition (shortCondition): Previous High crosses MA from above downwards.
→ Price rejected from the top, upper border failed above MA.
Execution: Auto-close long (if any) → open short.
Exit conditions 🚪
Exit Long (exitLongCondition): Close below prevLow.
→ Uptrend likely ended, range shifts down.
Exit Short (exitShortCondition): Close above prevHigh.
→ Downtrend likely ended, range shifts up.
⚠️ Important: Exit = only on candle close beyond extremes (not just wick).
4. Trading Settings ⚒️
overlay = true → indicators shown on chart.
initial_capital = 10000 💵.
default_qty_type = strategy.cash, default_qty_value = 100 → trades fixed $100 per order (not lots). Can switch to % of equity.
commission_type = strategy.commission.percent, commission_value = 0.1 → default broker fee = 0.1%. Adjust for your broker!
slippage = 3 → slippage = 3 ticks. Adjust to asset liquidity.
currency = USD.
margin_long = 100, margin_short = 100 → no leverage (100% margin).
5. Visualization on Chart 📊
The strategy draws 3 lines:
🔵 MA line (thickness 2).
🔴 Previous High (last N candles).
🟢 Previous Low (last N candles).
Also: entry/exit arrows & equity curve shown in backtest.
Disclaimer ⚠️📌
Risk Warning: This description & code are for educational purposes only. Not financial advice. Trading (Forex, Stocks, Crypto) carries high risk and may lead to full capital loss. You trade at your own risk.
Testing: Always backtest & demo test first. Past results ≠ future profits.
Responsibility: Author of this strategy & description is not responsible for your trading decisions or losses.
Hopiplaka Twin Tower Levels (Variable Multiplier) [NZA 333]Purpose
Instrument scope: This indicator is for exchange-traded futures only (e.g., CME/ICE). It assumes a regular session with a 16:00 daily fix; use on spot FX, equities/ETFs, CFDs, or crypto is not supported and may produce incorrect windows/levels.
This tool draws structured possible support/resistance price-level frameworks anchored to a daily “Fix” at 16:00 and lets you study intraday expansion/mean-reversion from that anchor. It overlays three families of levels:
CB - Circuit-Breaker style bands: symmetric bands at ±X% of the Fix (user-defined), plus intermediate percentages (14/26/40/50/60/74/86) and three highlighted “impulse” bands.
GB – “Goldbach-type” ratios: fixed ratios applied to a user-selected PO3 dealing range (e.g., 729, 2187, 6561 points). This produces low/eq/high rails and intermediate harmonics, including extended rails at −0.111 and 1.111.
STDV – “Stop-Run” ladders: equidistant steps (user step size) centered on the Fix and bounded by ±PO3/2.
All drawings are time-boxed windows that run from one 16:00 to the next 16:00 so you can compare today vs. prior sessions at a glance, including weekends/market closures.
How it works (high level)
Session windows (16:00→16:00)
For non-crypto symbols, each “day” is a window starting at 16:00 in the user-chosen timezone (default: America/New_York) and ending at the next day’s 15:59. When a new 16:00 occurs, the script immediately rolls the windows forward so Day-0, Day-1, Day-2, Day-3 always reference the latest four 16:00 anchors, even across weekends.
Fix source (per day)
Each day can use one of:
O/C: the open price of the 16:00 bar (acts as an official fix for that session).
VWAP: the VWAP value on the 15:59:30 (last 30 seconds bar before 16:00). You need Trading View Premium to use this source.
Manual: user-entered value. You can visit CME Group's website to see the published fix prices for your chart and enter it manually.
For a current session you want to use the previous session fix price until 4 pm (New York).
Market type handling
Crypto: by default the Fix is 16:00 Europe/London (configurable). Crypto session handling remains continuous; the script keeps the crypto branch behavior separate so nothing changes for 24/7 markets.
Non-crypto: uses the selected timezone (default NY). The script explicitly handles weekends/holidays so Day-0 can be Fri→Mon and Day-1 Thu→Fri, etc.
Ratios & math
Circuit Breakers bands: Fix ± (Fix * percent / 100), with extra mid-points (“CE levels”) and the intermediate percentages listed above.
Goldbach ratios: a fixed array of ratios mapped onto the PO3 distance; on Forex, PO3 is automatically converted to price units using syminfo.mintick.
STDV steps: Fix ± n * step, drawn only within ±PO3/2.
Rendering model
Lines are created with xloc = xloc.bar_time between the window’s start/end timestamps. A housekeeping buffer deletes/redraws on the last bar to keep charts responsive when you toggle features. A compact table shows, per day window, the session label, Fix (and its source), and the active options (CB%, PO3, STDV).
Update behavior
As soon as the 16:00 1-minute bar closes, the Fix for Day-0 updates and older windows roll forward. Historical windows (Day-1/2/3) also move forward afterward, since their Fix times are already stored. On higher timeframes, the script relies on the captured 1-minute Fix so Day-0 levels appear intrabar even if the higher-TF candle hasn’t closed yet.
How to use it
I - Choose the Fix source per day (Manual / VWAP / O/C).
II- Choose levels to show on each day, via toggles:
- Mode 1: Toggle "Show Goldbach Levels" and/or "NG Levels" / "CE Levels" (extra ratio sets) to show these levels for the day. Choose PO3 DR (Dealing Range), note the fix price acts as Equilibrium.
- Mode 2: Toggle "Show Stop Run Levels" to show PO3 distance in handles from Fix Price. Choose a PO3 number from the "STDV" option, this will be your max distance in handles (think Dealing Range).
- Mode 3: Toggle "Show Circuit Breaker Levels" to show ratios derived from the CME Group's official price limits percents from the fix price for a day (7%, 13% or 20%) * 2.
Each mode's toggles are in the same line, one line per mode. Usually you just need one of the 3 modes.
III - Use Day shift to scroll the four windows through past sessions (0 by default).
IV - Use Hour shift to visually nudge the drawings on the time axis without changing calculations.
Timezone: for non-crypto, select America/New_York, Europe/London or UTC for the 16:00 anchor. Crypto can auto-use London 16:00.
Notes & limitations
The tool does not generate buy/sell signals; it’s a visual framework for contextual levels.
O/C fixes (Default) are captured from the 1-minute series at exactly 16:00; if a symbol lacks 1-minute history at that time (rare), a day window may show as missing or could take the fix price incorrectly.
VWAP fixes are captured from the 30-seconds series at exactly 16:00; if a symbol lacks 30 seconds history at that time, a day window may show as missing.
Historical windows are fixed once their 16:00 bar has closed; Day-0 updates only at the moment a new 16:00 occurs.
Be mindful of symbol tick size/PO3 scale on Forex vs. indices/futures.
This indicator does not predict future values and does not access future data beyond the last completed 16:00 bar. See TradingView’s guidance on realistic claims and use of request.security.
(Educational use only. Trading involves risk; past behavior of levels relative to price does not guarantee future outcomes.)
Above/Below All TableThis indicator provides a snapshot of where various markets are in reference to 4 key opening times. These key times are:
18:00 (Globex open)
00:00 (Midnight open)
9:30 (RTH open)
9:45 (End of first 15 minutes of RTH)
The trading concept here is that price is likely to revert back into the current daily range if it is below all 4 of the time-based prices or above all of the time-based prices. When price is between those levels it will often chop around and be harder to navigate.
This indicator provides traders with a snapshot of price relative to those 4 levels across up to 6 different tradable instruments, indicating which direction price is expected to move for each of those instruments. This way, the trader can see which instruments are expected to potentially reverse and which ones are more likely to chop. In this way, they can select which markets to focus their attention on based on this key snapshot.
Used in conjunction with for entries, this strategy can help traders to avoid trading instruments that are less likely to move favorably on a given day.
Warning: this strategy will be ineffective on trending days as price is less likely to revert into a range on days where it is trending. It is recommended to use a trend strength tool to identify potential days where this may occur.
Trend Following S/R Fibonacci StrategyTrend Following S/R Fibonacci Strategy
Trend Following S/R Fibonacci Strategy
Edge Levels (ES/NQ) - ArchReactorCredit: I got the idea from here
Edge Levels provides a smart, pre-calculated volatility map for the E-mini S&P 500 — based on the previous session’s close and the closing value of the VIX.
How It Works
It is based on the Expected move formula:
EM = (ES/NQ PrevClose) × (Vol. Idx/100) × √(1/N)
Where:
ES/NQ PrevClose = Prior daily close on ES/NQ
Vol. Idx = Prior daily close of CBOE Volatility Index (For ES we use VIX and for NQ we use VXN)
N = Number of days (default: 252 or 365)
- 365 = Calendar-based normalization
- 252 = Trading day normalization (used by many institutional models)
Then this plots 8 support and 8 resistance levels based on Standard Deviation multipliers.
Inputs:
Asset Type: ES/NQ
Manual Override: If this is selected then we can manually enter the close of ES/NQ and VIXVXN
Normalization: 252/365 Days
For Manual Input:
Manual Input – Official Sources
ES Daily Settlement:
👉 www.cmegroup.com
NQ Daily Settlement:
👉 www.cmegroup.com
VIX Close Value:
👉 www.cboe.com
VXN Close Value:
👉 www.cboe.com
How to use
Combine it with various confirmations:
RSI/Stochastic or MFI Divergences.
Higher TF Levels or Supply and Demand Zones.
VWAP /200 ema
Failed breakout setup.
Previous Day & Premarket High/Low# Previous Day & Premarket High/Low Indicator
## Overview
This TradingView Pine Script indicator displays previous day's high/low levels and premarket high/low levels (HOD/LOD) directly on your chart. It helps traders identify key support and resistance levels from the previous trading day and track premarket price action.
## Features
### 📊 Previous Day Levels
- **Previous Day High (PDH)**: Shows the highest price from the previous trading day
- **Previous Day Low (PDL)**: Shows the lowest price from the previous trading day
- **Dynamic lines**: Automatically update each day with new previous day levels
- **Customizable colors**: Green for high, red for low (configurable)
### 🌅 Premarket Levels
- **Live Premarket HOD/LOD**: Real-time tracking of premarket high and low during premarket hours (4:00 AM - 9:30 AM)
- **Static Premarket Levels**: Frozen levels captured at 9:29 AM that persist throughout the trading day
- **Automatic session detection**: Identifies premarket vs regular trading hours
- **Time-based extension**: Lines extend to 4:00 PM end of trading day
## Time Sessions
### Premarket Session
- **Time**: 4:00 AM - 9:30 AM ET
- **Live tracking**: HOD/LOD update in real-time during premarket
- **Capture time**: Final values captured at 9:29 AM for static display
### Regular Trading Session
- **Time**: 9:30 AM - 4:00 PM ET
- **Static display**: Shows frozen premarket levels from 9:29 AM
- **Previous day levels**: Displays levels from the prior trading day
## Visual Elements
### Line Types
1. **Previous Day High**: Solid green line (customizable color)
2. **Previous Day Low**: Solid red line (customizable color)
3. **Live Premarket HOD**: Solid blue line (updates during premarket only)
4. **Live Premarket LOD**: Solid orange line (updates during premarket only)
5. **Static Premarket HOD**: Dashed blue line (frozen at 9:29 AM)
6. **Static Premarket LOD**: Dashed orange line (frozen at 9:29 AM)
### Labels
- **PDH/PDL**: Previous day high/low labels on the right side
- **PreMarket HOD/LOD**: Live premarket labels (during premarket hours)
- **Static Pre HOD/LOD**: Static premarket labels (after 9:29 AM)
## Input Settings
### Display Options
- **Show Previous Day High/Low**: Toggle previous day levels on/off
- **Show Premarket High/Low**: Toggle premarket levels on/off
- **Line Width**: Adjust thickness of all lines (1-5)
### Color Customization
- **Previous Day High Color**: Default green
- **Previous Day Low Color**: Default red
- **Premarket High Color**: Default blue
- **Premarket Low Color**: Default orange
Fibonacci Seviyeleri - ÖzelleştirilebilirFibonacci Levels & Technical Analysis Dashboard
Overview
This Pine Script indicator combines comprehensive Fibonacci level analysis with a technical indicators scoring system, presenting all information in a clean, dual-table layout directly on your TradingView chart.
Key Features
1. Fibonacci Levels Analysis
Daily Fibonacci Levels: Calculates and displays key Fibonacci retracement and extension levels based on the previous day's price range
Weekly Fibonacci Levels: Provides weekly Fibonacci levels for longer-term analysis
Monday Plan Option: Alternative weekly calculation starting from Monday's data
Real-time Updates: All levels update automatically at the start of each new period
2. Technical Indicators Scoring System
The indicator analyzes 7 major technical indicators and provides buy/sell signals:
RSI (Relative Strength Index): Momentum oscillator for overbought/oversold conditions
MACD: Trend-following momentum indicator
Stochastic: Momentum indicator comparing closing price to price range
CCI (Commodity Channel Index): Measures deviation from average price
DMI (Directional Movement Index): Trend strength indicator
OBV (On Balance Volume): Volume-based momentum indicator
Momentum: Rate of price change indicator
3. Visual Components
Chart Lines and Labels
Horizontal lines drawn at each Fibonacci level
Optional price labels showing exact level values
Customizable line styles (solid, dashed, dotted)
Adjustable line thickness and colors
Lines extend to the right for easy tracking
Dual Table Display
Left Table: Fibonacci levels with prices
Right Table: Technical indicators with signals and scoring
Tables can be positioned (top/middle/bottom and left/center/right)
Clean, professional appearance with customizable colors
How to Use
Basic Setup
Add the indicator to your chart
The default settings work well for most trading scenarios
Two tables will appear showing Fibonacci levels and technical signals
Customization Options
Fibonacci Settings
Show Daily/Weekly: Toggle which Fibonacci levels to display
Monday Plan: Enable for weekly levels based on Monday's data
Show Labels: Toggle price labels on chart
Line Styles: Choose between solid, dashed, or dotted lines
Colors: Customize colors for different level types
Technical Indicators
Adjust period settings for each indicator (RSI, MACD, etc.)
Fine-tune sensitivity for better signals on your specific instrument
Display Options
Table Position: Place tables where convenient on your chart
Show/Hide Elements: Toggle individual components as needed
Trading Applications
Fibonacci Level Trading
Support/Resistance: Use Fibonacci levels as potential support and resistance zones
Entry Points: Look for price reactions at key levels (0.236, 0.382, 0.618)
Target Setting: Use extension levels (1.618, 2.618) for profit targets
Stop Loss Placement: Place stops beyond key Fibonacci levels
Signal Interpretation
Strong Buy Signal: Score ≥ 4 (majority of indicators bullish)
Buy Signal: Score between 1 and 3 (lean bullish)
Neutral/Wait: Score = 0 (mixed signals)
Sell Signal: Score between -1 and -3 (lean bearish)
Strong Sell Signal: Score ≤ -4 (majority of indicators bearish)
Combined Analysis
Confluence Trading: Look for technical signals at Fibonacci levels
Confirmation: Use indicator signals to confirm Fibonacci level breaks
Risk Management: Use both systems to validate trade entries and exits
Best Practices
Multiple Timeframes: Compare daily and weekly Fibonacci levels for stronger zones
Volume Confirmation: Pay attention to OBV signals at key levels
Trend Alignment: Use DMI to confirm trend direction before trading levels
Patience: Wait for clear signals rather than forcing trades
Risk Management: Always use stop losses, especially when trading against the signal score
Tips for Optimal Use
Clean Charts: Hide elements you don't need to reduce clutter
Color Coding: Use contrasting colors for better visibility
Regular Monitoring: Check both tables at market open for daily planning
Backtesting: Test the indicator's signals on historical data before live trading
Combine with Price Action: Use candlestick patterns at Fibonacci levels for confirmation
Technical Notes
The indicator updates in real-time with price movements
Fibonacci calculations use traditional ratios (0.236, 0.382, 0.5, 0.618, etc.)
All technical indicators use standard calculation methods
The scoring system weights each indicator equally (1 point per indicator)
Historical levels remain visible for reference until new periods begin
Conclusion
This indicator provides a comprehensive trading dashboard combining classical Fibonacci analysis with modern technical indicators. It's designed for traders who want quick, actionable insights without switching between multiple indicators or performing manual calculations. The dual-table format keeps all essential information visible while maintaining a clean chart appearance.
Whether you're a day trader using daily Fibonacci levels or a swing trader focusing on weekly levels, this indicator adapts to your trading style while providing consistent, reliable technical analysis signals.
Universal Key Level IndicatorCustomizable indicator which provide key levels for:
NY Session
Asia Session
London Session
Globex Session
Previous Day OCHL
Previous Week OCHL
Previous Day VAH VAL POC
Previous Week VAH VAL POC
SP2L Pour Samadi Indicator [TradingFinder] Spike 2 Legs PA🔵 Introduction
The SP2L (Spike–2Leg) strategy, designed by Mohammad Ali Poursamadi, an international Iranian trader, is a simple yet powerful price action setup developed to identify precise entry points following sharp market movements.
A Spike refers to a sudden and rapid move in the market, usually triggered by a heavy flow of orders in one direction. This sharp movement creates an Imbalance between buyers and sellers. Since the market does not have time to trade evenly during such moves, it generates Inefficiency on the chart.
The direct result of a spike is usually the formation of a Fair Value Gap (FVG) — a space between candles indicating that trades were not distributed fairly. In simple terms, the spike is the cause, while Imbalance, Inefficiency, and FVG are its consequences.
🟣 How is a Spike formed?
Big Movement : A spike begins with a sharp and powerful move caused by heavy order flow in one direction.
Imbalance : This move disrupts the balance between buyers and sellers.
Inefficiency : Due to the speed of the move, the market fails to trade efficiently, leaving inefficiency on the chart.
Fair Value Gap (FVG) : The final outcome is a price gap between candles, highlighting unfair distribution of trades.
In SP2L, entries occur right after a spike. The entry logic is based on the structure of each candle’s Higher Lows (HLs) or Lower Highs (LHs).
When a spike occurs and candles consecutively form higher lows or lower highs :
In bullish conditions, each previous low becomes a potential Buy Entry.
In bearish conditions, each previous high becomes a potential Sell Entry.
🔵 How to Use
In the SP2L strategy, entries occur directly within the ongoing strong movement (the spike). A spike forms when heavy order flow pushes the market strongly in one direction, creating several large candles in sequence. This disrupts balance and leaves patterns such as Imbalance and FVG on the chart.
During such moves, the market does not necessarily retrace; instead, it continues strongly in the direction of the spike. The key principle in SP2L is that candles begin forming Higher Lows (HLs) in a bullish spike or Lower Highs (LHs) in a bearish spike. Each HL or LH acts as a potential entry level, but the actual entry only triggers once price returns to retest that level. This allows the trader to enter within a powerful wave while keeping stop-losses clear and risk controlled.
🟣 Bullish SP2L
When a bullish spike occurs, candles consecutively form Higher Lows. Each HL marks a potential entry. The entry is activated when price returns to that HL.
Stop-Loss (SL) : Placed below the candle where the spike originated, usually the lowest point before the sharp move.
Take-Profit (TP) : Defined based on classic risk-to-reward ratios, commonly TP1 = 1:1 and TP2 = 1:2. Stronger trends may allow extended targets.
🟣 Bearish SP2L
When a bearish spike occurs, candles consecutively form Lower Highs. Each LH marks a potential sell entry. The entry is triggered when price returns to retest that LH.
Stop-Loss (SL) : Placed above the candle where the bearish spike started, usually the highest point before the sharp drop.
Take-Profit (TP) : Similar to bullish setups, typically TP1 = 1:1 and TP2 = 1:2, with extended targets possible if bearish momentum continues.
🔵 Settings
🟣 Spike Filter | Movement
Minimum Spike Bars : Defines the minimum number of consecutive candles required for a valid spike.
Movement Power : Enables or disables the momentum-based spike filter.
Movement Power Level : Sets the strength threshold; higher values filter out weaker moves and only detect strong spikes.
🟣 Spike Filter | Gap
Gap Filter : Enables or disables the gap filter.
Gap Type : Selects which type of gap should be detected (All Gaps, Significant, Structural, Major).
🟣 Spike Filter | Doji
Doji Tolerance : Defines whether doji candles are allowed within a spike.
Max Doji Body Ratio : Maximum ratio of body-to-total candle size for classifying a candle as a doji.
Max Doji in Spike Ratio : Maximum percentage of doji candles allowed within a spike.
🟣 Trend Detection
Trend Detection : Enables or disables the trend detection module using dojis.
Max Doji Body Ratio : Maximum body-to-candle ratio used to classify a doji in trend calculations.
Candle Lookback : Number of candles used to calculate doji percentage for trend evaluation.
Max Doji in Trend Ratio : Maximum percentage of doji candles allowed within the lookback window for the trend to be valid.
🟣 Position Management
Stop-Loss Threshold : Enables or disables the stop-loss threshold feature.
Stop-Loss Threshold Value : Defines the value of the stop-loss threshold for risk management.
Risk-Reward Ratio : Sets the desired risk-to-reward ratio (e.g., 1:1 or 1:2).
Include SL Threshold in R:R : Determines whether the stop-loss threshold is included in risk-to-reward calculations.
🟣 Display Settings
Display Mode : Chooses between Setup (showing setups) or Signal (showing trade signals).
Only Display the Last Position : Displays only the most recent position on the chart when enabled.
🔵 Conclusion
The SP2L (Spike–2Leg) strategy, designed by Mohammad Ali Poursamadi, offers a simple yet effective framework for trading strong market flows. Built on the logic of spikes and candle structures (HLs and LHs), it identifies precise entry points directly within the main movement of the market, where risk is clear and reward is logical.
With transparent rules, defined stop-loss placement, and flexible risk management, SP2L proves especially effective in volatile markets such as forex, gold, and indices. Its simplicity makes it practical for both beginner traders and seasoned professionals.
In summary, SP2L helps traders avoid unnecessary complexity by focusing on spikes and consecutive HL/LH formations to capture accurate, low-risk entries.
PivotBoss Advanced Floor PivotsThis Indicator showing Pivot Range and Support/Resistance Lines for Two Time Frame Relationship
PivotBoss Previous HLCThis Indicator showing the Previous High/Low/Close for Two Relationship Time Frame
Shashwat Khurana's Pivot + Mean Reversion + RSI (Signals Only)Show BUY labels below bars when a bullish reversal is detected.
Show SELL labels above bars when a bearish reversal is detected.
Uses pivot levels, mean reversion, big candle, RSI, and volume filters.