Candle Pip SizeThis script shows previous candle close to low for bullish candles and close to high for bearish candles.
It also shows for current candle price to low for bullish candles and current candle price to high for bearish candles.
It's useful for calculating the stop loss risk.
Change Pip/Tick size input based on the pair (e.g. 1 MNQ, 0.1 USD/JPY)
Candlestick analysis
EMA Scalping RR 1:2//@version=5
indicator("EMA RR 1:2 Scalping (24H + Fixed SL)", overlay=true, max_labels_count=200, max_lines_count=200)
// ===== INPUT =====
fastLen = input.int(9, "Fast EMA")
slowLen = input.int(21, "Slow EMA")
rr = input.float(2.0, "Risk Reward", step=0.1)
atrLen = input.int(14, "ATR Length")
slATR = input.float(1.0, "SL = ATR x", step=0.1)
adxLen = input.int(14, "ADX Length")
minADX = input.int(20, "Min ADX")
bodyATR = input.float(0.5, "Big Candle vs ATR", step=0.1)
// ===== EMA =====
emaFast = ta.ema(close, fastLen)
emaSlow = ta.ema(close, slowLen)
plot(emaFast, color=color.orange, linewidth=2)
plot(emaSlow, color=color.blue, linewidth=2)
// ===== ATR & CANDLE =====
atrVal = ta.atr(atrLen)
bigBody = math.abs(close - open) >= atrVal * bodyATR
// ===== MANUAL ADX =====
upMove = high - high
downMove = low - low
plusDM = (upMove > downMove and upMove > 0) ? upMove : 0
minusDM = (downMove > upMove and downMove > 0) ? downMove : 0
trur = ta.rma(ta.tr(true), adxLen)
plusDI = 100 * ta.rma(plusDM, adxLen) / trur
minusDI = 100 * ta.rma(minusDM, adxLen) / trur
dx = 100 * math.abs(plusDI - minusDI) / (plusDI + minusDI)
adx = ta.rma(dx, adxLen)
trendOK = adx >= minADX
// ===== SIGNAL =====
buySignal =
trendOK and bigBody and
emaFast > emaSlow and close > emaFast and close <= emaFast
sellSignal =
trendOK and bigBody and
emaFast < emaSlow and close < emaFast and close >= emaFast
// ===== BUY =====
if buySignal
entry = close
sl = entry - atrVal * slATR
tp = entry + (entry - sl) * rr
label.new(bar_index, low,
"BUY Entry: " + str.tostring(entry) +
" SL: " + str.tostring(sl) +
" TP: " + str.tostring(tp),
style=label.style_label_up,
color=color.green,
textcolor=color.white)
line.new(bar_index, entry, bar_index+12, entry)
line.new(bar_index, sl, bar_index+12, sl, color=color.red)
line.new(bar_index, tp, bar_index+12, tp, color=color.green)
// ===== SELL =====
if sellSignal
entry = close
sl = entry + atrVal * slATR
tp = entry - (sl - entry) * rr
label.new(bar_index, high,
"SELL Entry: " + str.tostring(entry) +
" SL: " + str.tostring(sl) +
" TP: " + str.tostring(tp),
style=label.style_label_down,
color=color.red,
textcolor=color.white)
line.new(bar_index, entry, bar_index+12, entry)
line.new(bar_index, sl, bar_index+12, sl, color=color.red)
line.new(bar_index, tp, bar_index+12, tp, color=color.green)
Zap Super Line// Zap - Close Line Color by SMA20, MACD, RSI
// Description: Line turns green when close > SMA20 and MACD rising or above signal; red otherwise. RSI > 70 turns purple; RSI < 30 turns gray.
// Author: Ron Belson
// Email: ronbelson@gmail.com
NY Open | Opening Drive | Close UTC Open (15m)📝 Indicator Description
This indicator highlights key institutional market timing levels on a 15-minute chart, using New York session time for precision.
It visually marks and colors candles for the most important intraday moments used by active traders:
🔹 Features
NY Open (9:30 AM ET)
- Identifies the official U.S. market open.
Opening Drive Entry (9:45 AM ET)
- Marks the end of the opening volatility window and potential directional confirmation.
NY Close (4:00 PM ET)
- Highlights the U.S. equity market close.
UTC Daily Open (7:00 PM ET / 00:00 UTC)
- Marks the start of the new UTC trading day and colors the candle teal for easy recognition.
🎯 Designed For
- Crypto traders
- Index & futures traders
- Intraday and session-based strategies
- Traders who use time-based entries and session structure
⚙️ Notes
- Built specifically for the 15-minute timeframe
- Automatically adjusts for New York daylight savings
- Works on all markets that trade through the NY session
D1 High/LowThis indicator automatically plots the previous day’s high and low (D1) as thin dashed horizontal lines on the chart.
The levels are calculated strictly from yesterday’s daily candle only.
The lines are anchored directly at the previous day’s candle and extend to the right, matching institutional-style reference levels.
Visible on Daily (D1) and all lower timeframes (H4, H1, M15, etc.).
The lines reset at the start of each new trading day to reflect the latest completed session.
Designed as a context and liquidity reference, not as a predictive indicator.
Order Blocks ScannerHighlights order blocks with inneficiencies onto the chart, while removing mitigated blocks if price has touched that supply or demand area.
Also by default changes the candle color of the order block origin candle to make it easier to see already mitigated blocks for potential breaker block zones.
Look-back Value V1新增 MA10 與 MA120 的計算、繪圖、表格顯示。
新增 table_pos 參數,可選擇表格顯示位置(top_left, top_right, bottom_left, bottom_right)。
所有 table.cell 改用 具名參數 text_color,避免誤判成 width。
這樣你就能靈活選擇表格位置,並同時觀察 MA5、MA10、MA20、MA60、MA120、MA240 的扣抵分析。
Previous Day Range MarkerThis indicator highlights the high and low of the last confirmed candle on the current timeframe and optionally displays the range of the previous trading day (Daily) on lower timeframes.
It also calculates and shows the candle range in percent, helping traders quickly assess volatility and higher-timeframe context.
All levels are plotted forward into the future and can be individually enabled or disabled.
ICT 7/8/9am lines NY session + 7.30/8.30/9.30 linesThis script show the 7, 8, 9 AM NY session lines, together with the 7.30, 8.30 and 9.30AM lines, like ICT teaches in the 2024 Mentorship, lesson 2.
Feel free to use it!
NASDAQ PREDICTION RANGE ADR projection for the US session based on previous Price Action and session
N Option Selling 1
**NIFTY Weekly Option Seller – Regime & Risk Framework (HTF + RSI)**
This indicator is a **decision-support tool for NIFTY option sellers**, designed to identify whether current market conditions favor:
* **Iron Condor (IC)** – range / mean-reversion
* **Put Credit Spread (PCS)** – bullish bias
* **Call Credit Spread (CCS)** – bearish bias
The script focuses on **structure selection and risk management**, not trade execution.
---
## Core logic
### 1) Multi-timeframe context
* Signals are calculated on the **active chart timeframe** (commonly 4H).
* **Daily (HTF) EMA trend and Daily ADX** are used as **gating conditions**, ensuring strong directional scores are not allowed against the higher-timeframe context.
This prevents aggressive trend selling when the daily structure does not support it.
---
### 2) Three independent regime scores (0–5)
The script computes three capped and smoothed scores:
* **IC score (Range quality)**
Based on low ADX, price inside CPR, proximity to VWAP, Camarilla H3–L3, daily range confirmation, and mid-band RSI.
* **PCS score (Bullish structure)**
Based on EMA up-stack, trend strength (ADX), price relative to CPR/VWAP, with RSI and Daily trend acting as **brakes**, not entry signals.
* **CCS score (Bearish structure)**
Based on EMA down-stack, trend strength (ADX), price relative to CPR/VWAP, with RSI and Daily trend acting as **brakes**, not entry signals.
RSI is used only to **cap aggressiveness at extremes**, not to predict reversals.
---
### 3) Cross-penalty & smoothing
* When multiple regimes score high simultaneously, **cross-penalties reduce conflicting scores** so only one regime dominates.
* Final scores are **smoothed across bars** to avoid frequent regime flips and unstable sizing decisions.
---
### 4) Regime selection
The script selects **one primary regime** (IC / PCS / CCS) based on the highest adjusted score, with tie-break logic that prefers trend regimes only when ADX confirms strength; otherwise it defaults to IC.
---
### 5) Non-repainting reference levels
The indicator plots key **previous-day, non-repainting levels**:
* CPR (Low / High with Narrow–Wide classification)
* Camarilla H3, L3, H4, L4
* VWAP
These are contextual reference levels for structure and risk placement.
---
### 6) DEFEND / HARVEST prompts
Using ATR-based proximity logic, the script provides:
* **DEFEND** alerts when price approaches modeled risk zones
* **HARVEST** alerts when sufficient cushion exists
* **REGIME** alerts on confirmed regime changes
These are **risk-management prompts**, not buy/sell signals.
---
### 7) Visual dashboard
A compact panel displays:
* Active regime and score
* ADX / RSI
* CPR width classification
* EMA structure and tightness
* VWAP proximity
* IC / PCS / CCS scores
* Key level snapshot
---
## Intended use
* Designed for **weekly option selling**
* Best used on **4H charts with Daily context**
* Suitable for traders who manage positions **once per day**
* Encourages **structure-first thinking** (IC base with controlled directional bias)
---
## Disclaimer
This indicator does **not place trades** and does not calculate position size or P&L.
It is a **market regime and risk-awareness tool** and must be used with proper capital management and execution discipline.
Magic Hour Range + Window Levels (0/50/75/100 + Extensions)This indicator plots one or more “Magic Hour” ranges (by ET hour) by drawing the hour’s high/low box, then extending an aligned post-hour analysis window for a set number of hours. Inside that window it overlays key reversion targets—0% (High), 50% (Mid), 100% (Low), optional 25%/75%—plus optional extension levels beyond the range (±25/50/75/100% and extras). All levels are clipped to the analysis window for a clean, session-by-session view of range, targets, and extensions.
Alert 2d 2Alert 2 Tops/bottoms in a Strong mommentum for other symbols
1. There is a strong wave including many same color bars.
2. There are 2 Tops/bottoms pattern inside that wave with the same dirrection.
Daily/Weekly/Monthly Support & Resistanceindicator plots support and resistance levels derived from historical price action. It analyzes higher‑timeframe candles (Daily/Weekly/Monthly) and ranks levels by strength and number of touches, then draws the most relevant levels around the current price. If no strong levels are found, it falls back to touch‑based levels so you still get meaningful lines.
How to Use:
Add the script to any chart.
Choose Levels Timeframe:
Auto (recommended): follows the chart timeframe (D/W/M).
D / W / M: force a specific timeframe.
Set lookback windows:
Lookback Days (D) – default 200
Lookback Weeks (W) – default 104
Lookback Months (M) – default 60
Adjust sensitivity:
Min Strength – filters weaker levels.
Volume Multiplier – requires higher volume for stronger levels.
Time Decay – gives more weight to recent data.
Min Touches (Fallback) – used when no strong levels are found.
Optional: enable Show Debug Info to see how many levels are detected.
Open Source & License:
This script is open source under the MIT License. You are свободно to use, modify, and share it with attribution.
Author / Contact:
Ron Belson
For questions or requests, contact: ronbelson@gmail.com
First FVG per Session - Big Boss Traders)First FVG per Session - Big Boss Traders)
All persistent variables (fvgTop, fvgBottom, boxes) declared with var at the top.
No assignment to na without var → compiles error-free.
FVG boxes and levels are dark orange.
First FVG per session is drawn and prolonged dynamically.
Background colors per session remain.
ABCD Strategy (v7 Ready)//@version=6
indicator("ABCD Strategy v7 – MTF S/R Filter", overlay=true, max_lines_count=300, max_labels_count=300)
//━━━━━━━━━━━━━━━━━━━━━
// INPUTS
//━━━━━━━━━━━━━━━━━━━━━
pivotLen = input.int(5, "Swing Strength", minval=2)
bcMin = input.float(0.618, "BC Min Fib")
bcMax = input.float(0.786, "BC Max Fib")
cdMin = input.float(1.272, "CD Min Extension")
cdMax = input.float(1.618, "CD Max Extension")
htfTF = input.timeframe("240", "Higher Timeframe (S/R)")
srLookback = input.int(200, "HTF S/R Lookback")
srTolerance = input.float(0.002, "S/R Zone Tolerance (0.2%)")
showSR = input.bool(true, "Show HTF S/R Zones")
showTargets = input.bool(true, "Show Targets")
//━━━━━━━━━━━━━━━━━━━━━
// HIGHER TF SUPPORT / RESISTANCE
//━━━━━━━━━━━━━━━━━━━━━
htfHigh = request.security(syminfo.tickerid, htfTF, ta.highest(high, srLookback))
htfLow = request.security(syminfo.tickerid, htfTF, ta.lowest(low, srLookback))
srHighZoneTop = htfHigh * (1 + srTolerance)
srHighZoneBottom = htfHigh * (1 - srTolerance)
srLowZoneTop = htfLow * (1 + srTolerance)
srLowZoneBottom = htfLow * (1 - srTolerance)
//━━━━━━━━━━━━━━━━━━━━━
// DRAW HTF ZONES
//━━━━━━━━━━━━━━━━━━━━━
if showSR
box.new(bar_index - 5, srHighZoneTop, bar_index + 5, srHighZoneBottom,
bgcolor=color.new(color.red, 85), border_color=color.red)
box.new(bar_index - 5, srLowZoneTop, bar_index + 5, srLowZoneBottom,
bgcolor=color.new(color.green, 85), border_color=color.green)
//━━━━━━━━━━━━━━━━━━━━━
// SWING DETECTION
//━━━━━━━━━━━━━━━━━━━━━
ph = ta.pivothigh(high, pivotLen, pivotLen)
pl = ta.pivotlow(low, pivotLen, pivotLen)
var float A = na
var float B = na
var float C = na
var float D = na
var int Ab = na
var int Bb = na
var int Cb = na
var int Db = na
if not na(pl)
A := B
Ab := Bb
B := C
Bb := Cb
C := low
Cb := bar_index
if not na(ph)
A := B
Ab := Bb
B := C
Bb := Cb
C := high
Cb := bar_index
//━━━━━━━━━━━━━━━━━━━━━
// ABCD LOGIC
//━━━━━━━━━━━━━━━━━━━━━
ab = math.abs(B - A)
bc = math.abs(C - B)
bcFib = bc / ab
validBC = bcFib >= bcMin and bcFib <= bcMax
bull = C > B
cdMinPrice = bull ? C - bc * cdMin : C + bc * cdMin
cdMaxPrice = bull ? C - bc * cdMax : C + bc * cdMax
inDzone = low <= cdMaxPrice and high >= cdMinPrice
//━━━━━━━━━━━━━━━━━━━━━
// MTF STRUCTURE FILTER
//━━━━━━━━━━━━━━━━━━━━━
nearResistance = close <= srHighZoneTop and close >= srHighZoneBottom
nearSupport = close <= srLowZoneTop and close >= srLowZoneBottom
structureOK =
(bull and nearSupport) or
(not bull and nearResistance)
//━━━━━━━━━━━━━━━━━━━━━
// FINAL D CONFIRMATION
//━━━━━━━━━━━━━━━━━━━━━
if validBC and inDzone and structureOK
D := close
Db := bar_index
//━━━━━━━━━━━━━━━━━━━━━
// TARGETS
//━━━━━━━━━━━━━━━━━━━━━
tp1 = bull ? D + math.abs(D - C) * 0.382 : D - math.abs(D - C) * 0.382
tp2 = bull ? D + math.abs(D - C) * 0.618 : D - math.abs(D - C) * 0.618
//━━━━━━━━━━━━━━━━━━━━━
// DRAW PATTERN
//━━━━━━━━━━━━━━━━━━━━━
if not na(D)
line.new(Ab, A, Bb, B, width=2, color=color.blue)
line.new(Bb, B, Cb, C, width=2, color=color.orange)
line.new(Cb, C, Db, D, width=2, color=color.green)
label.new(Db, D, "D (HTF CONFIRMED)", style=label.style_label_down, color=color.yellow)
if showTargets
line.new(Db, tp1, Db + 12, tp1, color=color.green)
line.new(Db, tp2, Db + 12, tp2, color=color.teal)
alertcondition(validBC and inDzone and structureOK,
"ABCD v7 Confirmed",
"ABCD Pattern confirmed at Higher-Timeframe Support/Resistance — wait for price action.")
ICT First FVG Per Session - Big Boss TradersICT First FVG Per Session like per session FVG Asia FVG london First P FVG and New york first P FVG
Gold Futures Prop-Firm Strategy (GC) 1-18-2026Overview
This is a long-only, session-based, multi-regime trading strategy designed specifically for Gold futures (GC / GC1!) on intraday timeframes (typically 5–15 minutes).
The strategy aims to capture high-probability moves during the New York and Asian sessions while avoiding major economic news events and enforcing strict daily risk limits — making it suitable for prop firm challenges (e.g. FTMO, FundedNext, Apex, etc.) that require consistent profitability, limited drawdown, and disciplined risk management.
Core Philosophy
Trade longs only (shorts were removed after analysis showed they were consistently unprofitable)
Different logic depending on session and market regime (trending vs ranging)
Heavy filtering using trend strength (ADX), volume confirmation, EMA alignment, Bollinger Bands, and RSI
Strict position sizing, daily loss cap, per-session trade limits, and news blackout periods
Trailing stop mechanism to let winners run while protecting against reversals
Trading Sessions & Time Windows (Eastern Time)
NY Session: 08:30 – 15:00 ET
NY AM (trend/breakout zone): 08:30 – 11:30 ET
NY PM (mean-reversion zone): 11:30 – 15:00 ET
Asia Session (mean-reversion zone): 18:00 – 02:00 ET
News blackouts: short windows around high-impact releases (CPI/NFP, ISM/Fed, FOMC)
Entry Logic (Long Only)
NY AM – Trend Following & Breakouts (strongest trend filter)
ADX > 30 (strong trend)
Price above 200 EMA (bull regime)
Fast EMA (21) crosses above Slow EMA (55) or breakout above 20-bar high
Volume spike (> 1.4 × 20-period SMA)
Max 2 trades per NY session per day
NY PM & Asia – Mean Reversion
ADX ≤ 30 (ranging market)
Price below lower Bollinger Band (20, 2.0)
RSI < 25 (deep oversold)
No volume filter required here
Max 2 trades per Asia session per day
Risk Management Rules
Position size: Fixed 1–2 contracts (user selectable)
Initial stop: 1.7 × ATR(14) below entry (tightened from original)
Trailing stop:
Activates after price moves +1.0 × ATR in profit
Trails by 1.0 × ATR (locked-in profits aggressively)
Daily loss limit: -$600 (stops all trading for the day once hit)
No trading during defined news windows
Pyramiding disabled (only one position at a time)
No short entries (removed after backtest analysis)
Indicators Used
EMA 21 / 55 / 200 (trend direction & filter)
ATR(14) × 0.85 (volatility base)
ADX(14) threshold 30 (strong trend confirmation)
Bollinger Bands (20, 2.0) for mean-reversion entries
RSI(14) with oversold < 25
Volume spike filter (1.4× SMA) for trend/breakout entries
20-bar highest high / lowest low for breakout detection
Visual Elements on Chart
Fast (blue), Slow (orange), and Filter (red) EMAs
Bollinger Bands (gray, semi-transparent fill)
Background coloring:
Red tint during news blackout periods
Purple tint when daily loss limit is hit
Intended Use Case
Prop trading firm evaluation accounts
Conservative intraday gold trading
Focus on high-quality long setups in trending (NY AM) and mean-reverting (Asia/PM) environments
Goal: positive expectancy with controlled drawdown, suitable for passing drawdown and profit targets
TradeSkull Opening Candle Range BoxThis will give you and extended range box of the opening candle of your choice on what ever timeframe you like
Wick & Body % with upper wick thresholdA simple indicator to give the sizes of wicks and main body of the last candle as percentage of high - low. No negative figures. If the candle is red, the table will be red and vice versa. Table could be located as per user preference. Upper wick threshold is user defined and will be red beyond the threshold.
Alert 2dAlert 2 Tops/bottoms in a Strong mommentum.
1. There is a strong wave including many same color bars.
2. There are 2 Tops/bottoms pattern inside that wave with the same dirrection.






















