ORB + FVG + PDH/PDL ORB + FVG + PDH/PDL is an all-in-one day-trading overlay that plots:
Opening Range (ORB) high/low with optional box and extension
Fair Value Gaps (FVG) with optional “unmitigated” levels + mitigation lines
Previous Day High/Low history (PDH/PDL) drawn as one-day segments (yesterday’s levels plotted across today’s session only)
Includes presets (ORB only / FVG only / Both) and optional alerts for ORB touches, ORB break + retest, FVG entry, and PDH/PDL touches.
Candlestick analysis
Risk & Position CalculatorThis indicator is called "Risk & Position Calculator".
This indicator shows 4 information on a table format.
1st: 20 day ADR% (ADR%)
2nd: Low of the day price (LoD)
3rd: The percentage distance between the low of the day price and the current market price in real-time (LoD dist.%)
4th: The calculated amount of shares that are suggested to buy (Shares)
The ADR% and LoD is straightforward, and I will explain more on the 3rd and 4th information.
__________________________________________________________________________________
The Lod dist.% is a useful tool if you are a breakout buyer and use the low of the day price as your stop loss, it helps you determine if a breakout buy is at a risk tight area (~1/2 ADR%) or it is more of a chase (>1 ADR%).
I use four different colors to visualize this calculation results (green, yellow, purple, and red).
Green: Lod dist.% <= 0.5 ADR%
Yellow: 0.5 ADR% < Lod dist.% <= 1 ADR%
Purple: 1 ADR% < Lod dist.% <= 1.5 ADR%
Red: 1.5 ADR% < Lod dist.%
(e.g., if Lod dist.% is colored in Green, it means your stop loss is <= 0.5 ADR%, therefore if you buy here, the risk is probably tight enough)
__________________________________________________________________________________
The Shares is a useful tool if you want to know exactly how many shares you should buy at the breakout moment. To use this tool, you first need to input two information in the indicator setting panel: the account size ($) and portfolio risk (%).
Account Size ($) means the dollar value in your total account.
Portfolio Risk (%) means how much risk you are willing to take per trade.
(e.g. a 1% portfolio risk in a 5000$ account is 50$, which is the risk you will take per trade)
After you provide these two inputs, the indicator will help you calculate how many shares you should buy based on the calculated Dollar Risk ($), real-time market price, and the low of the day price.
(e.g. Dollar Risk (50$), real-time market price (100$), Lod price (95$) -> then you will need to buy 50/(100-95) = 10 shares to meet your demand, so it will display as Shares { 10 } )
In addition, I also introduce a mechanism that helps you avoid buying too big of a position relative to your overall account . I set the limit to 25%, which means you don't put more than 25% of your account money into a single trade, which helps prevent single stock risk.
By introducing this mechanism, it will supervise if the suggested Shares to buy exceed max position limit (25%). If it actually exceeds, instead of using Dollar Risk ($) to calculate Shares, it will use position limit to calculate and display the max Shares you should buy.
__________________________________________________________________________________
That's it. Hope you find this explanation helpful when you use this indicator. Have a great day mate:)
takeshi_2Step_Screener_MOU_KAKU_FIXED3//@version=5
indicator("MNO_2Step_Screener_MOU_KAKU_FIXED3", overlay=true, max_labels_count=500)
// =========================
// Inputs
// =========================
emaSLen = input.int(5, "EMA Short (5)")
emaMLen = input.int(13, "EMA Mid (13)")
emaLLen = input.int(26, "EMA Long (26)")
macdFast = input.int(12, "MACD Fast")
macdSlow = input.int(26, "MACD Slow")
macdSignal = input.int(9, "MACD Signal")
macdZeroTh = input.float(0.2, "MOU: MACD near-zero threshold", step=0.05)
volLookback = input.int(5, "Volume MA days", minval=1)
volMinRatio = input.float(1.3, "MOU: Volume ratio min", step=0.1)
volStrong = input.float(1.5, "Strong volume ratio (Breakout/KAKU)", step=0.1)
volMaxRatio = input.float(3.0, "Volume ratio max (filter)", step=0.1)
wickBodyMult = input.float(2.0, "Pinbar: lowerWick >= body*x", step=0.1)
pivotLen = input.int(20, "Resistance lookback", minval=5)
pullMinPct = input.float(5.0, "Pullback min (%)", step=0.1)
pullMaxPct = input.float(15.0, "Pullback max (%)", step=0.1)
breakLookbackBars = input.int(5, "Pullback route: valid bars after break", minval=1)
// --- Breakout route (押し目なし初動ブレイク) ---
useBreakoutRoute = input.bool(true, "Enable MOU Breakout Route (no pullback)")
breakConfirmPct = input.float(0.3, "Break confirm: close > R*(1+%)", step=0.1)
bigBodyLookback = input.int(20, "Break candle body MA length", minval=5)
bigBodyMult = input.float(1.2, "Break candle: body >= MA*mult", step=0.1)
requireCloseNearHigh = input.bool(true, "Break candle: close near high")
closeNearHighPct = input.float(25.0, "Close near high threshold (% of range)", step=1.0)
allowMACDAboveZeroInstead = input.bool(true, "Breakout route: allow MACD GC above zero instead")
// 表示
showEMA = input.bool(true, "Plot EMAs")
showMou = input.bool(true, "Show MOU label")
showKaku = input.bool(true, "Show KAKU label")
showDebugTbl = input.bool(false, "Show debug table (last bar)")
locChoice = input.string("Below Bar", "Label location", options= )
lblLoc = locChoice == "Below Bar" ? location.belowbar : location.abovebar
// =========================
// EMA
// =========================
emaS = ta.ema(close, emaSLen)
emaM = ta.ema(close, emaMLen)
emaL = ta.ema(close, emaLLen)
// plot は if の中に入れない(naで制御)
plot(showEMA ? emaS : na, color=color.new(color.yellow, 0), title="EMA 5")
plot(showEMA ? emaM : na, color=color.new(color.blue, 0), title="EMA 13")
plot(showEMA ? emaL : na, color=color.new(color.orange, 0), title="EMA 26")
emaUpS = emaS > emaS
emaUpM = emaM > emaM
emaUpL = emaL > emaL
goldenOrder = emaS > emaM and emaM > emaL
above26_2days = close > emaL and close > emaL
// 勝率維持の土台(緩めない)
baseTrendOK = (emaUpS and emaUpM and emaUpL) and goldenOrder and above26_2days
// =========================
// MACD
// =========================
= ta.macd(close, macdFast, macdSlow, macdSignal)
macdGC = ta.crossover(macdLine, macdSig)
macdUp = macdLine > macdLine
macdNearZero = math.abs(macdLine) <= macdZeroTh
macdGCAboveZero = macdGC and macdLine > 0 and macdSig > 0
macdMouOK = macdGC and macdNearZero and macdUp
macdBreakOK = allowMACDAboveZeroInstead ? (macdMouOK or macdGCAboveZero) : macdMouOK
// =========================
// Volume
// =========================
volMA = ta.sma(volume, volLookback)
volRatio = volMA > 0 ? (volume / volMA) : na
volumeMouOK = volRatio >= volMinRatio and volRatio <= volMaxRatio
volumeStrongOK = volRatio >= volStrong and volRatio <= volMaxRatio
// =========================
// Candle patterns
// =========================
body = math.abs(close - open)
upperWick = high - math.max(open, close)
lowerWick = math.min(open, close) - low
pinbar = (lowerWick >= wickBodyMult * body) and (lowerWick > upperWick) and (close >= open)
bullEngulf =
close > open and close < open and
close >= open and open <= close
bigBull =
close > open and
open < emaM and close > emaS and
(body > ta.sma(body, 20))
candleOK = pinbar or bullEngulf or bigBull
// =========================
// Resistance / Pullback route
// =========================
res = ta.highest(high, pivotLen)
pullbackPct = res > 0 ? (res - close) / res * 100.0 : na
pullbackOK = pullbackPct >= pullMinPct and pullbackPct <= pullMaxPct
brokeRes = ta.crossover(close, res )
barsSinceBreak = ta.barssince(brokeRes)
afterBreakZone = (barsSinceBreak >= 0) and (barsSinceBreak <= breakLookbackBars)
pullbackRouteOK = afterBreakZone and pullbackOK
// =========================
// Breakout route (押し目なし初動ブレイク)
// =========================
breakConfirm = close > res * (1.0 + breakConfirmPct / 100.0)
bullBreak = close > open
bodyMA = ta.sma(body, bigBodyLookback)
bigBodyOK = bodyMA > 0 ? (body >= bodyMA * bigBodyMult) : false
rng = math.max(high - low, syminfo.mintick)
closeNearHighOK = not requireCloseNearHigh ? true : ((high - close) / rng * 100.0 <= closeNearHighPct)
mou_breakout =
useBreakoutRoute and
baseTrendOK and
breakConfirm and
bullBreak and
bigBodyOK and
closeNearHighOK and
volumeStrongOK and
macdBreakOK
mou_pullback = baseTrendOK and volumeMouOK and candleOK and macdMouOK and pullbackRouteOK
mou = mou_pullback or mou_breakout
// =========================
// KAKU (Strict): 8条件 + 最終三点
// =========================
cond1 = emaUpS and emaUpM and emaUpL
cond2 = goldenOrder
cond3 = above26_2days
cond4 = macdGCAboveZero
cond5 = volumeMouOK
cond6 = candleOK
cond7 = pullbackOK
cond8 = pullbackRouteOK
all8_strict = cond1 and cond2 and cond3 and cond4 and cond5 and cond6 and cond7 and cond8
final3 = pinbar and macdGCAboveZero and volumeStrongOK
kaku = all8_strict and final3
// =========================
// Display (統一ラベル)
// =========================
showKakuNow = showKaku and kaku
showMouPull = showMou and mou_pullback and not kaku
showMouBrk = showMou and mou_breakout and not kaku
plotshape(showMouPull, title="MOU_PULLBACK", style=shape.labelup, text="猛",
color=color.new(color.lime, 0), textcolor=color.black, location=lblLoc, size=size.tiny)
plotshape(showMouBrk, title="MOU_BREAKOUT", style=shape.labelup, text="猛B",
color=color.new(color.lime, 0), textcolor=color.black, location=lblLoc, size=size.tiny)
plotshape(showKakuNow, title="KAKU", style=shape.labelup, text="確",
color=color.new(color.yellow, 0), textcolor=color.black, location=lblLoc, size=size.small)
// =========================
// Alerts
// =========================
alertcondition(mou, title="MNO_MOU", message="MNO: MOU triggered")
alertcondition(mou_breakout, title="MNO_MOU_BREAKOUT", message="MNO: MOU Breakout triggered")
alertcondition(mou_pullback, title="MNO_MOU_PULLBACK", message="MNO: MOU Pullback triggered")
alertcondition(kaku, title="MNO_KAKU", message="MNO: KAKU triggered")
// =========================
// Debug table (optional)
// =========================
var table t = table.new(position.top_right, 2, 14, border_width=1, border_color=color.new(color.white, 60))
fRow(_name, _cond, _r) =>
bg = _cond ? color.new(color.lime, 70) : color.new(color.red, 80)
tx = _cond ? "OK" : "NO"
table.cell(t, 0, _r, _name, text_color=color.white, bgcolor=color.new(color.black, 0))
table.cell(t, 1, _r, tx, text_color=color.white, bgcolor=bg)
if showDebugTbl and barstate.islast
// ❗ colspanは使えないので2セルでヘッダーを作る
table.cell(t, 0, 0, "MNO Debug", text_color=color.white, bgcolor=color.new(color.black, 0))
table.cell(t, 1, 0, "", text_color=color.white, bgcolor=color.new(color.black, 0))
fRow("BaseTrend", baseTrendOK, 1)
fRow("MOU Pullback", mou_pullback, 2)
fRow("MOU Breakout", mou_breakout, 3)
fRow("Break confirm", breakConfirm, 4)
fRow("Break big body", bigBodyOK, 5)
fRow("Break close high", closeNearHighOK, 6)
fRow("Break vol strong", volumeStrongOK, 7)
fRow("Break MACD", macdBreakOK, 8)
fRow("KAKU all8", all8_strict, 9)
fRow("KAKU final3", final3, 10)
fRow("MOU any", mou, 11)
fRow("KAKU", kaku, 12)
indicator("MouNoOkite_InitialMove_Screener", overlay=true)//@version=5
indicator("猛の掟・初動スクリーナー(5EMA×MACD×出来高×ローソク)", overlay=true, max_labels_count=500)
// =========================
// Inputs
// =========================
emaSLen = input.int(5, "EMA Short (5)")
emaMLen = input.int(13, "EMA Mid (13)")
emaLLen = input.int(26, "EMA Long (26)")
macdFast = input.int(12, "MACD Fast")
macdSlow = input.int(26, "MACD Slow")
macdSignal = input.int(9, "MACD Signal")
volLookback = input.int(5, "出来高平均(日数)", minval=1)
volMinRatio = input.float(1.3, "出来高倍率(初動点灯)", step=0.1)
volStrong = input.float(1.5, "出来高倍率(本物初動)", step=0.1)
volMaxRatio = input.float(2.0, "出来高倍率(上限目安)", step=0.1)
wickBodyMult = input.float(2.0, "ピンバー判定: 下ヒゲ >= (実体×倍率)", step=0.1)
pivotLen = input.int(20, "直近高値/レジスタンス判定のLookback", minval=5)
pullMinPct = input.float(5.0, "押し目最小(%)", step=0.1)
pullMaxPct = input.float(15.0, "押し目最大(%)", step=0.1)
showDebug = input.bool(true, "デバッグ表示(条件チェック)")
// =========================
// EMA
// =========================
emaS = ta.ema(close, emaSLen)
emaM = ta.ema(close, emaMLen)
emaL = ta.ema(close, emaLLen)
plot(emaS, color=color.new(color.yellow, 0), title="EMA 5")
plot(emaM, color=color.new(color.blue, 0), title="EMA 13")
plot(emaL, color=color.new(color.orange, 0), title="EMA 26")
emaUpS = emaS > emaS
emaUpM = emaM > emaM
emaUpL = emaL > emaL
// 26EMA上に2日定着
above26_2days = close > emaL and close > emaL
// 黄金隊列
goldenOrder = emaS > emaM and emaM > emaL
// =========================
// MACD
// =========================
= ta.macd(close, macdFast, macdSlow, macdSignal)
// ヒストグラム縮小(マイナス圏で上向きの準備)も見たい場合の例
histShrinking = math.abs(macdHist) < math.abs(macdHist )
histUp = macdHist > macdHist
// ゼロライン上でGC(最終シグナル)
macdGCAboveZero = ta.crossover(macdLine, macdSig) and macdLine > 0 and macdSig > 0
// 参考:ゼロ直下で上昇方向(勢い準備)
macdRisingNearZero = (macdLine < 0) and (macdLine > macdLine ) and (math.abs(macdLine) <= math.abs(0.5))
// =========================
// Volume
// =========================
volMA = ta.sma(volume, volLookback)
volRatio = volMA > 0 ? (volume / volMA) : na
volumeOK = volRatio >= volMinRatio and volRatio <= volMaxRatio
volumeStrongOK = volRatio >= volStrong
// =========================
// Candle patterns
// =========================
body = math.abs(close - open)
upperWick = high - math.max(open, close)
lowerWick = math.min(open, close) - low
// 長い下ヒゲ(ピンバー系): 実体が小さく、下ヒゲが優位
pinbar = (lowerWick >= wickBodyMult * body) and (lowerWick > upperWick) and (close >= open)
// 陽線包み足(前日陰線を包む)
bullEngulf =
close > open and close < open and
close >= open and open <= close
// 5EMA・13EMA を貫く大陽線(勢い)
bigBull =
close > open and
open < emaM and close > emaS and
(body > ta.sma(body, 20)) // “相対的に大きい”目安
candleOK = pinbar or bullEngulf or bigBull
// =========================
// 押し目 (-5%〜-15%) & レジブレ後
// =========================
recentHigh = ta.highest(high, pivotLen)
pullbackPct = recentHigh > 0 ? (recentHigh - close) / recentHigh * 100.0 : na
pullbackOK = pullbackPct >= pullMinPct and pullbackPct <= pullMaxPct
// “レジスタンスブレイク”簡易定義:直近pivotLen高値を一度上抜いている
// → その後に押し目位置にいる(現在が押し目)
brokeResistance = ta.crossover(close, recentHigh ) or (close > recentHigh )
afterBreakPull = brokeResistance or brokeResistance or brokeResistance or brokeResistance or brokeResistance
breakThenPullOK = afterBreakPull and pullbackOK
// =========================
// 最終三点シグナル(ヒゲ × 出来高 × MACD)
// =========================
final3 = pinbar and macdGCAboveZero and volumeStrongOK
// =========================
// 猛の掟 8条件チェック(1つでも欠けたら「見送り」)
// =========================
// 1) 5EMA↑ 13EMA↑ 26EMA↑
cond1 = emaUpS and emaUpM and emaUpL
// 2) 5>13>26 黄金隊列
cond2 = goldenOrder
// 3) ローソク足が26EMA上に2日定着
cond3 = above26_2days
// 4) MACD(12,26,9) ゼロライン上でGC
cond4 = macdGCAboveZero
// 5) 出来高が直近5日平均の1.3〜2.0倍
cond5 = volumeOK
// 6) ピンバー or 包み足 or 大陽線
cond6 = candleOK
// 7) 押し目 -5〜15%
cond7 = pullbackOK
// 8) レジスタンスブレイク後の押し目
cond8 = breakThenPullOK
all8 = cond1 and cond2 and cond3 and cond4 and cond5 and cond6 and cond7 and cond8
// =========================
// 判定(2択のみ)
// =========================
isBuy = all8 and final3
decision = isBuy ? "買い" : "見送り"
// =========================
// 表示
// =========================
plotshape(isBuy, title="BUY", style=shape.labelup, text="買い", color=color.new(color.lime, 0), textcolor=color.black, location=location.belowbar, size=size.small)
plotshape((not isBuy) and all8, title="ALL8_OK_but_noFinal3", style=shape.labelup, text="8条件OK (最終3未)", color=color.new(color.yellow, 0), textcolor=color.black, location=location.belowbar, size=size.tiny)
// デバッグ(8項目チェック結果)
if showDebug and barstate.islast
var label dbg = na
label.delete(dbg)
txt =
"【8項目チェック】 " +
"1 EMA全上向き: " + (cond1 ? "達成" : "未達") + " " +
"2 黄金隊列: " + (cond2 ? "達成" : "未達") + " " +
"3 26EMA上2日: " + (cond3 ? "達成" : "未達") + " " +
"4 MACDゼロ上GC: " + (cond4 ? "達成" : "未達") + " " +
"5 出来高1.3-2.0: "+ (cond5 ? "達成" : "未達") + " " +
"6 ローソク条件: " + (cond6 ? "達成" : "未達") + " " +
"7 押し目5-15%: " + (cond7 ? "達成" : "未達") + " " +
"8 ブレイク後押し目: " + (cond8 ? "達成" : "未達") + " " +
"最終三点(ヒゲ×出来高×MACD): " + (final3 ? "成立" : "未成立") + " " +
"判定: " + decision
dbg := label.new(bar_index, high, txt, style=label.style_label_left, textcolor=color.white, color=color.new(color.black, 0))
// アラート
alertcondition(isBuy, title="猛の掟 BUY", message="猛の掟: 買いシグナル(8条件+最終三点)")
Precision Candle (Multi-Asset)This Script Helps in finding a Precision Candle, which signifies a potential crack in correlated assets.
you can choose between 2 or 3 assets.
make sure to use the same time frame across all assets.
Enjoy !
Magical Thirteen Turns - The Greedy SnakeThe number 9 appears:
Meaning: Warning signal. The rise may encounter resistance and a cautious pullback is about to begin.
Operation: Consider reducing your holdings (selling a portion) to lock in profits and avoid experiencing wild fluctuations.
The number 13 appears:
Meaning: Strong sell signal. The upward momentum is likely to be exhausted, which is also known as "bull exhaustion".
Operation: It is recommended to liquidate your positions or significantly reduce them. Short sell (if you are trading contracts).
HTF Suspension Blocks [TakingProphets]-----------------------------------------------------------------------------------------------
HTF SUSPENSION BLOCKS
-----------------------------------------------------------------------------------------------
HTF Suspension Blocks bring ICT’s Suspension Block concept into a multi-timeframe workflow by detecting the 3-candle pattern on higher timeframes and projecting those zones directly onto your current execution chart.
Instead of only seeing Suspension Blocks on the timeframe they form, this script identifies valid HTF formations, draws their ranges on your lower timeframe, extends them forward, and manages invalidation automatically. You get higher-timeframe context while staying in your execution environment.
-----------------------------------------------------------------------------------------------
PURPOSE AND SCOPE
-----------------------------------------------------------------------------------------------
- Detect ICT-style Suspension Blocks on multiple higher timeframes (HTF 1 / HTF 2 / HTF 3)
- Project HTF blocks onto the current chart using bar-time anchored drawing
- Require measurable body-to-body separation defined in true ticks (instrument-aware)
- Auto-extend blocks forward in time until invalidation
- Optional Consequent Encroachment (50% equilibrium) inside each block
- Per-timeframe visibility limiting so charts stay clean and actionable
- Labels each block with the originating HTF (ex: M5 / M15 / M60)
- Alerts for:
- New HTF bullish / bearish block formation
- Price entering into any HTF bullish / bearish block
- Session-restricted alert windows (New York time)
-----------------------------------------------------------------------------------------------
WHAT IS A SUSPENSION BLOCK
-----------------------------------------------------------------------------------------------
A Suspension Block is a strict 3-candle displacement sequence defined by body-to-body gaps around a middle candle. This HTF variant uses the same model, but evaluates the pattern on a higher timeframe and then projects the zone onto your current chart.
Bullish Suspension Block logic:
- HTF Candle 1 close is BELOW HTF Candle 2 open by at least Minimum Body Separation
- HTF Candle 3 open is ABOVE HTF Candle 2 close by at least Minimum Body Separation
- HTF Candle 3 open is ABOVE HTF Candle 1 close to ensure a valid vertical span
- Block vertical span: Candle 1 close (low) to Candle 3 open (high)
- Block remains valid until price CLOSES below the block low (Candle 1 close)
Bearish Suspension Block logic (mirror conditions):
- HTF Candle 1 close is ABOVE HTF Candle 2 open by at least Minimum Body Separation
- HTF Candle 3 open is BELOW HTF Candle 2 close by at least Minimum Body Separation
- HTF Candle 3 open is BELOW HTF Candle 1 close to ensure a valid vertical span
- Block vertical span: Candle 1 close (high) to Candle 3 open (low)
- Block remains valid until price CLOSES above the block high (Candle 1 close)
All gap calculations are normalized using `syminfo.mintick` so the “ticks” setting behaves correctly across instruments.
-----------------------------------------------------------------------------------------------
GENERAL SETTINGS
-----------------------------------------------------------------------------------------------
- Minimum Body Separation (ticks)
- Minimum required body-to-body gap in HTF tick units
- Used for both:
- Candle 1 close to Candle 2 open separation
- Candle 2 close to Candle 3 open separation
- Examples:
- 0.25 = quarter-tick gap
- 1.0 = full tick gap
-----------------------------------------------------------------------------------------------
TIMEFRAMES
-----------------------------------------------------------------------------------------------
This script supports up to 3 higher timeframe sources. Each HTF has:
- Enable toggle
- Timeframe selector
- Per-timeframe Max Blocks visibility control
HTF 1 / HTF 2 / HTF 3:
- These are the timeframes the script scans for Suspension Blocks
- Blocks are drawn only when your current chart timeframe is LOWER than the selected HTF
- This prevents duplicate / redundant rendering when you’re already on the HTF or higher
Max Blocks per timeframe:
- Limits the number of most-recent blocks shown per side (bullish + bearish) for that HTF
- 0 = show all blocks for that timeframe
-----------------------------------------------------------------------------------------------
VISUALIZATION SETTINGS
-----------------------------------------------------------------------------------------------
Bullish Blocks:
- Toggle visibility
- Fill color controls opacity / emphasis
- Optional border with selectable style (Solid / Dashed / Dotted)
Bearish Blocks:
- Toggle visibility
- Fill color controls opacity / emphasis
- Optional border with selectable style (Solid / Dashed / Dotted)
Consequent Encroachment (CE):
- Optional 50% equilibrium line drawn inside each block
- Style options (Solid / Dashed / Dotted)
- Automatically extends as blocks extend
HTF Labels:
- Each block is labeled with its originating timeframe (ex: M5 / M15 / M60)
- Label styling includes:
- Text color
- Size (Tiny / Small / Normal / Large)
- Labels are intentionally hidden on non-visible blocks when visibility limiting is active
-----------------------------------------------------------------------------------------------
HOW HTF PROJECTION WORKS
-----------------------------------------------------------------------------------------------
- The script requests the last 3 candles of each selected HTF via `request.security()`
- It maps those HTF candles into the standard 3-candle Suspension Block model:
- Candle 1 = oldest
- Candle 2 = middle
- Candle 3 = most recent
- When a valid block forms:
- A box is created using `xloc.bar_time`
- The left side anchors to the HTF candle timestamp
- The right side projects forward to the current chart time
- Each HTF has its own independent storage set:
- Bull boxes, bear boxes
- High / low bounds
- CE lines
- Labels
-----------------------------------------------------------------------------------------------
BLOCK MANAGEMENT & INVALIDATION
-----------------------------------------------------------------------------------------------
- All blocks extend forward automatically to the current bar time
- Bullish invalidation:
- Block is removed when price CLOSES below the block low
- Bearish invalidation:
- Block is removed when price CLOSES above the block high
- When a block invalidates:
- The box is deleted
- Its CE line is deleted
- All stored references are removed from the set
This keeps the chart focused on active HTF zones only.
-----------------------------------------------------------------------------------------------
VISIBILITY LIMITING
-----------------------------------------------------------------------------------------------
Each timeframe’s “Max Blocks” setting controls how many blocks per side remain visible.
When Max Blocks > 0:
- The script calculates distance from current price to every stored block range
- It keeps the closest N blocks per side (bullish + bearish)
- Blocks not kept are made fully transparent:
- Hidden fill
- Hidden border
- Hidden CE line
- Hidden label text
This gives you the most relevant HTF structures near price without clutter.
-----------------------------------------------------------------------------------------------
ALERT SYSTEM
-----------------------------------------------------------------------------------------------
Alerts are optional and can be restricted to specific NY sessions.
Sessions (New York time):
- Session 1 (default: 09:30–16:00)
- Session 2 (optional)
- Session 3 (optional)
Alert types:
- HTF Bullish Block Formed
- Triggers when any enabled HTF forms a new bullish suspension block
- HTF Bearish Block Formed
- Triggers when any enabled HTF forms a new bearish suspension block
- Enter Bullish Block
- Triggers when price transitions from NOT inside any bullish HTF block to inside one
- Enter Bearish Block
- Triggers when price transitions from NOT inside any bearish HTF block to inside one
Messages:
- Fully customizable alert text inputs
- Script automatically appends ticker + current chart timeframe for context
-----------------------------------------------------------------------------------------------
BEST USE CASES
-----------------------------------------------------------------------------------------------
- Use HTF Suspension Blocks as “context zones” while executing on a lower timeframe
- Pair with ICT displacement, liquidity, PD arrays, and market structure for confluence
- Treat blocks as HTF inefficiency zones that can act as reaction points on retracements
- Use “enter block” alerts as a heads-up to shift into execution mode at HTF levels
-----------------------------------------------------------------------------------------------
DISCLAIMER
-----------------------------------------------------------------------------------------------
This indicator is provided for educational and analytical purposes only. It does not constitute financial advice. Trading involves risk, and past performance is not indicative of future results.
© TakingProphets
-----------------------------------------------------------------------------------------------
MWTI Introduction onChartMarket Wave TransIndex (MWTI)
Colors show when to attack and when to rest.
• Background = current market wave
• Masked zones = low momentum (rest)
• Upper dots = higher timeframe bias
No symbols, no predictions.
Just read the market state.
Works on any market, any timeframe.
Introduction (sample) is optimized for the 15m chart.
Try it on any market in 15m.
-------------------------------------------------------
Daily OpenThis is a protected/private script. To request access, please provide:
TradingView username (required)
Your main market(s) and timeframe(s)
Intended use (education / backtesting / live trading)
(Optional) Any proof of eligibility if applicable
Once your request is reviewed, access will be granted to the username provided.
Usage Terms:
No copying, modifying, distributing, publishing, or reselling of this script or its logic
Access is granted to approved accounts only
This script is a tool for analysis and not financial advice; you assume all trading risks
The author reserves the right to update the script or revoke access at any time
Institutional Supply/Demand (Unmitigated)Title: Institutional Supply/Demand (Unmitigated)
What it does: This indicator automatically detects and highlights Fresh Institutional Supply and Demand Zones based on market structure (Swing Highs and Swing Lows). It is designed to keep your chart clean by only showing levels that have not yet been tested.
Key Features:
Auto-Detection:
Red Boxes (Supply): Appear at major Swing Highs. These represent potential Sell Limit orders from institutions.
Green Boxes (Demand): Appear at major Swing Lows. These represent potential Buy Limit orders.
Mitigation Logic (The "Clean-Up"):
The script actively monitors price action.
If price touches a box, the box is instantly deleted.
This ensures you are never looking at "old" or "used" levels. If a box is visible on your chart, it means price has never returned to that level since it was created.
Customizable Structure:
Structure Lookback: Adjusts how sensitive the detection is.
Setting 5 (Default): Finds major, significant structure points.
Setting 3: Finds smaller, internal structure points (more zones).
How to Trade:
Wait for Price to Return: Watch for price to approach a visible Red or Green box.
Reaction: Since these are "Fresh" levels, look for a rejection (wick) or a reversal pattern as soon as price taps the zone.
No Clutter: You don't need to manually delete old lines; the script does it for you.
Suspension Blocks [TakingProphets]-----------------------------------------------------------------------------------------------
SUSPENSION BLOCKS
-----------------------------------------------------------------------------------------------
Suspension Blocks are a new ICT concept designed to highlight price inefficiencies created by displacement and body-to-body gaps across a precise 3-candle sequence. These structures represent areas where price was temporarily “suspended” before continuation, often acting as high-probability reaction zones on future revisits.
This indicator automatically detects, visualizes, manages, and invalidates Suspension Blocks in real time, while intelligently limiting chart clutter to only the most relevant structures near current price.
-----------------------------------------------------------------------------------------------
PURPOSE AND SCOPE
-----------------------------------------------------------------------------------------------
- Detect ICT-style Bullish and Bearish Suspension Blocks using strict 3-candle body relationships
- Require measurable body-to-body separation defined in true ticks (instrument-aware)
- Automatically draw and extend Suspension Blocks forward in time
- Invalidate blocks only when price decisively closes beyond the defining boundary
- Optionally display Consequent Encroachment (50% equilibrium) within each block
- Limit on-chart visibility to the closest N blocks per side relative to current price
- Provide session-based, directional alerting for new block formations
-----------------------------------------------------------------------------------------------
WHAT IS A SUSPENSION BLOCK
-----------------------------------------------------------------------------------------------
A Suspension Block is a 3-candle displacement pattern defined by body gaps on both sides of a middle candle.
Bullish Suspension Block logic:
- Candle 1 close is BELOW Candle 2 open by at least the Minimum Body Separation
- Candle 3 open is ABOVE Candle 2 close by at least the Minimum Body Separation
- Candle 3 open is ABOVE Candle 1 close to ensure a valid vertical range
- The block spans from Candle 1 close (low) to Candle 3 open (high)
- The block remains valid until price CLOSES below Candle 1 close
Bearish Suspension Block logic (mirror conditions):
- Candle 1 close is ABOVE Candle 2 open by at least the Minimum Body Separation
- Candle 3 open is BELOW Candle 2 close by at least the Minimum Body Separation
- Candle 3 open is BELOW Candle 1 close to ensure a valid vertical range
- The block spans from Candle 1 close (high) to Candle 3 open (low)
- The block remains valid until price CLOSES above Candle 1 close
All calculations are performed using true tick values via `syminfo.mintick` to ensure precision across instruments.
-----------------------------------------------------------------------------------------------
GENERAL SETTINGS
-----------------------------------------------------------------------------------------------
- Minimum Body Separation (ticks)
- Defines the minimum required body-to-body gap between candles
- Measured in true ticks (0.25 = quarter tick, 1.0 = full tick, etc.)
- Max Visible Blocks per Side
- Limits the number of bullish and bearish blocks displayed
- Only the closest blocks to current price remain visible
-----------------------------------------------------------------------------------------------
VISUALIZATION SETTINGS
-----------------------------------------------------------------------------------------------
- Bullish Suspension Blocks
- Toggle bullish block visibility
- Custom fill color with adjustable transparency
- Optional border with selectable line style (Solid / Dashed / Dotted)
- Bearish Suspension Blocks
- Toggle bearish block visibility
- Custom fill color with adjustable transparency
- Optional border with selectable line style (Solid / Dashed / Dotted)
- Consequent Encroachment (CE)
- Optional 50% equilibrium line drawn inside each block
- Custom color and line style
- Automatically extends with the block
Blocks dynamically extend to the current bar and are hidden or shown based on proximity to price to keep the chart clean and actionable.
-----------------------------------------------------------------------------------------------
BLOCK MANAGEMENT & INVALIDATION
-----------------------------------------------------------------------------------------------
- Each block is stored persistently and extended forward bar-by-bar
- Bullish blocks are invalidated only when price CLOSES below the block low
- Bearish blocks are invalidated only when price CLOSES above the block high
- Invalidated blocks and their CE lines are automatically removed
- Visibility logic ensures only the most relevant structures are emphasized
-----------------------------------------------------------------------------------------------
ALERT SYSTEM
-----------------------------------------------------------------------------------------------
- Optional alerts when new Suspension Blocks form
- Independent toggles for bullish and bearish alerts
- Fully customizable alert messages
- Alerts can be restricted to specific trading sessions:
- Session 1 (default: 09:30–16:00 NY)
- Session 2 (optional)
- Session 3 (optional)
- Alerts include ticker and timeframe context automatically
-----------------------------------------------------------------------------------------------
BEST USE CASES
-----------------------------------------------------------------------------------------------
- High-probability reaction zones after displacement
- Confluence with liquidity, PD arrays, and market structure
- Execution refinement within ICT-based models
- Intraday and higher-timeframe contextual bias
- Clean, rules-based identification of inefficiency zones
-----------------------------------------------------------------------------------------------
DISCLAIMER
-----------------------------------------------------------------------------------------------
This indicator is provided for educational and analytical purposes only. It does not constitute financial advice. Trading involves risk, and past performance is not indicative of future results.
© TakingProphets
-----------------------------------------------------------------------------------------------
Smart Money Bot [MTF Confluence Edition]Uses multi-time frame analysis and supply and demand strategy.
Best used when swing trading.
HTF Fair Value Gaps🔍 What This Indicator Does
1. Multi-Timeframe Fair Value Gap Mapping
Displays Fair Value Gaps from:
1H
4H
Daily (optional)
These HTF FVGs are projected onto lower timeframes (5M / 15M) so you can:
trade in alignment with HTF imbalance,
avoid entering directly into opposing zones,
understand where reactions are likely.
2. Bullish & Bearish FVG Clarity
Bullish FVGs highlight areas of inefficiency below price
Bearish FVGs highlight areas of inefficiency above price
Zones are color-coded and extend forward for clarity
This helps traders immediately identify:
pullback targets in trends,
continuation zones,
areas of potential reaction or acceleration.
3. Clean, Non-Cluttered Visualization
No lower-timeframe noise
No redundant boxes
HTF gaps only — intentional and selective
This keeps execution charts readable and focused.
Warpath Structure + Liquidity ToolWarpath visually organizes the key elements required to trade Gold professionally:
1. Market Structure Clarity
Automatically labels HH / HL / LH / LL on major pivot points (current chart timeframe)
Makes directional bias immediately obvious
Helps prevent counter-trend trading in strong expansions
2. Liquidity Sweep Detection (Wick-Only)
Highlights true liquidity sweeps using wick behavior (no breakout guessing)
Marks the sweep wick with user-defined colors
Draws a swept-zone box that extends forward to show where liquidity was taken
Designed to identify fuel vs reversal behavior in trends
3. Key Session Levels
Automatically plots:
Asian High / Low
London High / Low
New York High / Low
Previous Day High / Low
Includes Equal Highs / Equal Lows from:
current timeframe
higher timeframes (1H / 4H / Daily)
These levels represent where price is likely to react, not where trades should be forced.
4. HTF Bias Dashboard (Minimal & Clean)
Small dashboard in the corner showing:
15M bias
1H bias
4H bias
Daily bias
Keeps higher-timeframe alignment visible without clutter
5. Premium / Discount & Market State Awareness
Uses previous session equilibrium (50%) with a neutral buffer
Helps frame:
premium vs discount
neutral vs expansion environments
Designed for context, not entry signals
6. Continuation Reload Awareness (Strong Trend Environments)
Built to handle markets that:
remain overbought
stay in premium
sweep buy-side liquidity repeatedly
Supports compression → expansion continuation behavior
Prevents missed participation during multi-day trends without abandoning discipline
Warpath Structure + Liquidity ToolWarpath visually organizes the key elements required to trade Gold professionally:
1. Market Structure Clarity
Automatically labels HH / HL / LH / LL on major pivot points (current chart timeframe)
Makes directional bias immediately obvious
Helps prevent counter-trend trading in strong expansions
2. Liquidity Sweep Detection (Wick-Only)
Highlights true liquidity sweeps using wick behavior (no breakout guessing)
Marks the sweep wick with user-defined colors
Draws a swept-zone box that extends forward to show where liquidity was taken
Designed to identify fuel vs reversal behavior in trends
3. Key Session Levels
Automatically plots:
Asian High / Low
London High / Low
New York High / Low
Previous Day High / Low
Includes Equal Highs / Equal Lows from:
current timeframe
higher timeframes (1H / 4H / Daily)
These levels represent where price is likely to react, not where trades should be forced.
4. HTF Bias Dashboard (Minimal & Clean)
Small dashboard in the corner showing:
15M bias
1H bias
4H bias
Daily bias
Keeps higher-timeframe alignment visible without clutter
5. Premium / Discount & Market State Awareness
Uses previous session equilibrium (50%) with a neutral buffer
Helps frame:
premium vs discount
neutral vs expansion environments
Designed for context, not entry signals
6. Continuation Reload Awareness (Strong Trend Environments)
Built to handle markets that:
remain overbought
stay in premium
sweep buy-side liquidity repeatedly
Supports compression → expansion continuation behavior
Prevents missed participation during multi-day trends without abandoning discipline
Aman-setup 5.0 (Bull + Bear)This indicator is based on Candle price. only for Intra day and it works on 3 minute chart.
EMA-10 Candle BreaksThe EMA-10 Trend Pullback Breakout indicator helps traders identify high-probability continuation entries by combining EMA direction, pullback candle behavior, and breakout confirmation.
It highlights key pullback candles during a strong EMA-10 trend and marks precise breakout points when price resumes in the trend direction.
📈 How It Works
🔹EMA Direction
Green EMA → EMA-10 is rising (bullish trend)
Red EMA → EMA-10 is falling (bearish trend)
🔹 Pullback Candle Detection
Bearish candle above EMA during an uptrend
Bullish candle below EMA during a downtrend
These candles often act as liquidity traps or pullbacks before trend continuation.
🔹 Breakout Labels
RB (Red Breakout)
Appears when price breaks above the high of the last bearish pullback candle in an uptrend.
GB (Green Breakout)
Appears when price breaks below the low of the last bullish pullback candle in a downtrend.
These labels highlight potential trend continuation entries
⚙️ Inputs
✅ Highlight Bearish Candles Above EMA (optional)
✅ Highlight Bullish Candles Below EMA (optional)
You can enable or disable candle highlighting to keep your chart clean.
⚠️ Notes
This indicator is not a standalone trading system.
Always use proper risk management and confirmation (market structure, volume, higher timeframe trend).
Avoid ranging or low-volatility conditions.
Victor aimstar future strategyThis script "The Next Pivot" uses various similarity measures to compare historical price sequences to the current price sequence!
Features
Find the most similar price sequence up to 100 bars from the current bar
Forecast price path up to 250 bars
Forecast ZigZag up to 250 bars
Spearmen
Pearson
Absolute Difference
Cosine Similarity
Mean Squared Error
Kendall
Forecasted linear regression channel
Victor aimstar future strategyThis script "The Next Pivot" uses various similarity measures to compare historical price sequences to the current price sequence!
Features
Find the most similar price sequence up to 100 bars from the current bar
Forecast price path up to 250 bars
Forecast ZigZag up to 250 bars
Spearmen
Pearson
Absolute Difference
Cosine Similarity
Mean Squared Error
Kendall
Forecasted linear regression channel
Victor aimstar Present strategyHere we have created an envelope indicator based on Kernel Smoothing with integrated alerts from crosses between the price and envelope extremities. Unlike the Nadaraya-Watson estimator, this indicator follows a contrarian methodology.
Please note that by default this indicator can be subject to repainting. Users can use a non-repainting smoothing method available from the settings. The triangle labels are designed so that the indicator remains useful in real-time applications.
First 5-Min Candle DetectorHighlights the high and low of the first 5-minute candle of the regular trading session, beginning at 9:30am EST.
MACD Trend Count ScoreThis indicator aims to confirm trends in an asset's price. This confirmation is achieved by counting the MACD bars in a calculation using the chosen timeframe. Positive and negative bars are considered in the calculation of the strength index, which indicates the current trend of that asset.
This Delta index summarizes the predominance of positive or negative bars in the MACD histogram over weekly, bi-weekly, monthly, bi-monthly, and quarterly periods, and, depending on the timeframe used, its result allows one to indicate the intensity of the current trend, according to the results it shows within the following ranges:
Acima de +60 → Strong Raise.
Entre +20 e +60 → Moderate High.
Entre -20 e +20 → Neutral.
Entre -60 e -20 → Moderate Low.
Abaixo de -60 → Strong Low.






















