SMC Structures and FVGเธชเธงเธฑเธชเธเธตเธเธฃเธฑเธ! เธเธกเธเธฐเธญเธเธดเธเธฒเธขเธญเธดเธเธเธดเนเธเนเธเธญเธฃเน "SMC Structures and FVG + MACD" เธเธตเนเธเธธเธเนเธซเนเธกเธฒเธญเธขเนเธฒเธเธฅเธฐเนเธญเธตเธขเธเนเธเนเธเนเธฅเธฐเธชเนเธงเธ เนเธเธทเนเธญเนเธซเนเธเธธเธเนเธเนเธฒเนเธเธเธฒเธฃเธเธณเธเธฒเธเธเธญเธเธกเธฑเธเธญเธขเนเธฒเธเธเนเธญเธเนเธเนเธเธฃเธฑเธ
เธญเธดเธเธเธดเนเธเนเธเธญเธฃเนเธเธตเนเนเธเนเธเธเธฒเธฃเธเธชเธกเธเธชเธฒเธเนเธเธงเธเธดเธเธเธญเธ Smart Money Concept (SMC) เธเธถเนเธเนเธเนเธเธเธฒเธฃเธงเธดเนเธเธฃเธฒเธฐเธซเนเนเธเธฃเธเธชเธฃเนเธฒเธเธเธฅเธฒเธ (Market Structure) เนเธฅเธฐ Fair Value Gap (FVG) เนเธเนเธฒเธเธฑเธเธญเธดเธเธเธดเนเธเนเธเธญเธฃเน MACD เนเธเธทเนเธญเนเธเนเนเธเนเธเธเธฑเธงเธเธฃเธญเธเธซเธฃเธทเธญเธเธฑเธงเธขเธทเธเธขเธฑเธเธชเธฑเธเธเธฒเธ Choch/BoS (Change of Character / Break of Structure)
1. เธ เธฒเธเธฃเธงเธกเธญเธดเธเธเธดเนเธเนเธเธญเธฃเน (Overall Purpose)
เธญเธดเธเธเธดเนเธเนเธเธญเธฃเนเธเธตเนเธกเธตเธเธธเธเธเธฃเธฐเธชเธเธเนเธซเธฅเธฑเธเธเธทเธญ:
เธฃเธฐเธเธธเนเธเธฃเธเธชเธฃเนเธฒเธเธเธฅเธฒเธ: เธเธตเนเธชเนเธเนเธฅเธฐเธเนเธฒเธขเธเธณเธเธฑเธ Choch (Change of Character) เนเธฅเธฐ BoS (Break of Structure) เธเธเธเธฃเธฒเธเนเธเธขเธญเธฑเธเนเธเธกเธฑเธเธด
เธเธชเธฒเธเธเธฒเธฃเธขเธทเธเธขเธฑเธเธเนเธงเธข MACD: เธชเธฑเธเธเธฒเธ Choch/BoS เธเธฐเธเธนเธเธเธดเธเธฒเธฃเธเธฒเธเนเธเนเธญเนเธกเธทเนเธญ MACD Histogram เนเธเธดเธเธเธฒเธฃเธเธฑเธเธเธถเนเธเธซเธฃเธทเธญเธฅเธ (Zero Cross) เนเธเธเธดเธจเธเธฒเธเธเธตเนเธชเธญเธเธเธฅเนเธญเธเธเธฑเธ
เนเธชเธเธ Fair Value Gap (FVG): เธซเธฒเธเนเธเธดเธเนเธเนเธเธฒเธ เธเธฐเธกเธตเธเธฒเธฃเธเธตเธเธฅเนเธญเธ FVG เธเธเธเธฃเธฒเธ
เนเธชเธเธเธฃเธฐเธเธฑเธ Fibonacci: เธเธณเธเธงเธเนเธฅเธฐเนเธชเธเธเธฃเธฐเธเธฑเธ Fibonacci เธเธตเนเธชเธณเธเธฑเธเธเธฒเธกเนเธเธฃเธเธชเธฃเนเธฒเธเธเธฅเธฒเธเธเธฑเธเธเธธเธเธฑเธ
เธเธฃเธฑเธเธเธฒเธก Timeframe: เธเธฒเธฃเธเธณเธเธงเธเนเธฅเธฐเธเธฒเธฃเนเธชเธเธเธเธฅเธเธฑเนเธเธซเธกเธเธเธฐเธเธฃเธฑเธเธเธฒเธก Timeframe เธเธตเนเธเธธเธเธเธณเธฅเธฑเธเนเธเนเธเธฒเธเธญเธขเธนเนเนเธเธขเธญเธฑเธเนเธเธกเธฑเธเธด
2. เธชเนเธงเธเธเธฃเธฐเธเธญเธเธซเธฅเธฑเธเธเธญเธเนเธเนเธ (Code Breakdown)
เนเธเนเธเธเธตเนเธชเธฒเธกเธฒเธฃเธเนเธเนเธเธญเธญเธเนเธเนเธเธชเนเธงเธเธซเธฅเธฑเธ เน เนเธเนเธเธฑเธเธเธตเน:
2.1 Inputs (เธเธฒเธฃเธเธฑเนเธเธเนเธฒ)
เธชเนเธงเธเธเธตเนเธเธทเธญเธเธฑเธงเนเธเธฃเธเธตเนเธเธธเธเธชเธฒเธกเธฒเธฃเธเธเธฃเธฑเธเนเธเนเธเนเธเนเนเธเธซเธเนเธฒเธเนเธฒเธเธเธฒเธฃเธเธฑเนเธเธเนเธฒเธเธญเธเธญเธดเธเธเธดเนเธเนเธเธญเธฃเน (เธเธฅเธดเธเธเธตเนเธฃเธนเธเธเธฑเธเนเธเธทเธญเธเธเนเธฒเธเธเธทเนเธญเธญเธดเธเธเธดเนเธเนเธเธญเธฃเนเธเธเธเธฃเธฒเธ)
MACD Settings (เธเธฑเนเธเธเนเธฒ MACD):
fast_len: เธเธงเธฒเธกเธขเธฒเธงเธเธญเธ Fast EMA เธชเธณเธซเธฃเธฑเธ MACD (เธเนเธฒเนเธฃเธดเนเธกเธเนเธ 12)
slow_len: เธเธงเธฒเธกเธขเธฒเธงเธเธญเธ Slow EMA เธชเธณเธซเธฃเธฑเธ MACD (เธเนเธฒเนเธฃเธดเนเธกเธเนเธ 26)
signal_len: เธเธงเธฒเธกเธขเธฒเธงเธเธญเธ Signal Line เธชเธณเธซเธฃเธฑเธ MACD (เธเนเธฒเนเธฃเธดเนเธกเธเนเธ 9)
= ta.macd(close, fast_len, slow_len, signal_len): เธเธณเธเธงเธเธเนเธฒ MACD Line, Signal Line เนเธฅเธฐ Histogram เนเธเธขเนเธเนเธฃเธฒเธเธฒเธเธดเธ (close) เนเธฅเธฐเธเนเธฒเธเธงเธฒเธกเธขเธฒเธงเธเธตเนเธเธณเธซเธเธ
is_bullish_macd_cross: เธเธฃเธงเธเธชเธญเธเธงเนเธฒ MACD Histogram เธเธฑเธเธเธถเนเธเนเธซเธเธทเธญเนเธชเนเธ 0 (เธเธฒเธเธเนเธฒเธฅเธเนเธเนเธเธเธงเธ)
is_bearish_macd_cross: เธเธฃเธงเธเธชเธญเธเธงเนเธฒ MACD Histogram เธเธฑเธเธฅเธเนเธเนเนเธชเนเธ 0 (เธเธฒเธเธเนเธฒเธเธงเธเนเธเนเธเธฅเธ)
Fear Value Gap (FVG) Settings:
isFvgToShow: (Boolean) เนเธเธดเธ/เธเธดเธเธเธฒเธฃเนเธชเธเธ FVG เธเธเธเธฃเธฒเธ
bullishFvgColor: เธชเธตเธชเธณเธซเธฃเธฑเธ Bullish FVG
bearishFvgColor: เธชเธตเธชเธณเธซเธฃเธฑเธ Bearish FVG
mitigatedFvgColor: เธชเธตเธชเธณเธซเธฃเธฑเธ FVG เธเธตเนเธเธนเธ Mitigate (เธฅเธเธเธญเธ) เนเธฅเนเธง
fvgHistoryNbr: เธเธณเธเธงเธ FVG เธขเนเธญเธเธซเธฅเธฑเธเธเธตเนเธเธฐเนเธชเธเธ
isMitigatedFvgToReduce: (Boolean) เนเธเธดเธ/เธเธดเธเธเธฒเธฃเธฅเธเธเธเธฒเธ FVG เนเธกเธทเนเธญเธเธนเธ Mitigate
Structures (เนเธเธฃเธเธชเธฃเนเธฒเธเธเธฅเธฒเธ) Settings:
isStructBodyCandleBreak: (Boolean) เธซเธฒเธเนเธเนเธ true เธเธฒเธฃ Break เธเธฐเธเนเธญเธเนเธเธดเธเธเธถเนเธเธเนเธงเธข เนเธเธทเนเธญเนเธเธตเธขเธ เธเธตเนเธเธดเธเนเธซเธเธทเธญ/เนเธเน Swing High/Low เธซเธฒเธเนเธเนเธ false เนเธเนเนเธชเนเนเธเธตเธขเธเธเธฐเธฅเธธเธเนเธเธทเธญเธงเนเธฒ Break
isCurrentStructToShow: (Boolean) เนเธเธดเธ/เธเธดเธเธเธฒเธฃเนเธชเธเธเนเธชเนเธเนเธเธฃเธเธชเธฃเนเธฒเธเธเธฅเธฒเธเธเธฑเธเธเธธเธเธฑเธ (เนเธชเนเธเธชเธตเธเนเธณเนเธเธดเธเนเธเธ เธฒเธเธเธฑเธงเธญเธขเนเธฒเธ)
pivot_len: เธเธงเธฒเธกเธขเธฒเธงเธเธญเธเนเธเนเธเนเธเธตเธขเธเธเธตเนเนเธเนเนเธเธเธฒเธฃเธกเธญเธเธซเธฒเธเธธเธ Pivot (Swing High/Low) เธขเธดเนเธเธเนเธฒเธเนเธญเธขเธขเธดเนเธเธเธฑเธ Swing เนเธฅเนเธเน เนเธเน, เธขเธดเนเธเธเนเธฒเธกเธฒเธเธขเธดเนเธเธเธฑเธ Swing เนเธซเธเนเน เนเธเน
bullishBosColor, bearishBosColor: เธชเธตเธชเธณเธซเธฃเธฑเธเนเธชเนเธเนเธฅเธฐเธเนเธฒเธข BOS เธเธฒเธเธถเนเธ/เธเธฒเธฅเธ
bosLineStyleOption, bosLineWidth: เธชเนเธเธฅเน (Solid, Dotted, Dashed) เนเธฅเธฐเธเธงเธฒเธกเธซเธเธฒเธเธญเธเนเธชเนเธ BOS
bullishChochColor, bearishChochColor: เธชเธตเธชเธณเธซเธฃเธฑเธเนเธชเนเธเนเธฅเธฐเธเนเธฒเธข CHoCH เธเธฒเธเธถเนเธ/เธเธฒเธฅเธ
chochLineStyleOption, chochLineWidth: เธชเนเธเธฅเน (Solid, Dotted, Dashed) เนเธฅเธฐเธเธงเธฒเธกเธซเธเธฒเธเธญเธเนเธชเนเธ CHoCH
currentStructColor, currentStructLineStyleOption, currentStructLineWidth: เธชเธต, เธชเนเธเธฅเน เนเธฅเธฐเธเธงเธฒเธกเธซเธเธฒเธเธญเธเนเธชเนเธเนเธเธฃเธเธชเธฃเนเธฒเธเธเธฅเธฒเธเธเธฑเธเธเธธเธเธฑเธ
structHistoryNbr: เธเธณเธเธงเธเธเธฒเธฃ Break (Choch/BoS) เธขเนเธญเธเธซเธฅเธฑเธเธเธตเนเธเธฐเนเธชเธเธ
Structure Fibonacci (เธเธฒเธเนเธเนเธเธเนเธเธเธเธฑเธ):
เนเธเนเธเธเธธเธ Input เธชเธณเธซเธฃเธฑเธเนเธเธดเธ/เธเธดเธ, เธเธณเธซเธเธเธเนเธฒ, เธชเธต, เธชเนเธเธฅเน เนเธฅเธฐเธเธงเธฒเธกเธซเธเธฒเธเธญเธเนเธชเนเธ Fibonacci Levels เธเนเธฒเธเน (0.786, 0.705, 0.618, 0.5, 0.382) เธเธตเนเธเธฐเธเธนเธเธเธณเธเธงเธเธเธฒเธเนเธเธฃเธเธชเธฃเนเธฒเธเธเธฅเธฒเธเธเธฑเธเธเธธเธเธฑเธ
2.2 Helper Functions (เธเธฑเธเธเนเธเธฑเธเธเนเธงเธขเธเธณเธเธฒเธ)
getLineStyle(lineOption): เธเธฑเธเธเนเธเธฑเธเธเธตเนเนเธเนเนเธเธฅเธเธเนเธฒ String เธเธตเนเนเธฅเธทเธญเธเธเธฒเธ Input (เนเธเนเธ "โ", "โ", "โ") เนเธซเนเนเธเนเธเธฃเธนเธเนเธเธ line.style_ เธเธตเน Pine Script เนเธเนเธฒเนเธ
get_structure_highest_bar(lookback): เธเธฑเธเธเนเธเธฑเธเธเธตเนเธเธขเธฒเธขเธฒเธกเธซเธฒ Bar Index เธเธญเธเนเธเนเธเนเธเธตเธขเธเธเธตเนเธเธณ Swing High เธ เธฒเธขเนเธเธเนเธงเธ lookback เธเธตเนเธเธณเธซเธเธ
get_structure_lowest_bar(lookback): เธเธฑเธเธเนเธเธฑเธเธเธตเนเธเธขเธฒเธขเธฒเธกเธซเธฒ Bar Index เธเธญเธเนเธเนเธเนเธเธตเธขเธเธเธตเนเธเธณ Swing Low เธ เธฒเธขเนเธเธเนเธงเธ lookback เธเธตเนเธเธณเธซเธเธ
is_structure_high_broken(...): เธเธฑเธเธเนเธเธฑเธเธเธตเนเธเธฃเธงเธเธชเธญเธเธงเนเธฒเธฃเธฒเธเธฒเธเธฑเธเธเธธเธเธฑเธเนเธเน Break เนเธซเธเธทเธญ _structureHigh (Swing High) เธซเธฃเธทเธญเนเธกเน เนเธเธขเธเธดเธเธฒเธฃเธเธฒเธเธฒเธ _highStructBreakPrice (เธฃเธฒเธเธฒเธเธดเธเธซเธฃเธทเธญเธฃเธฒเธเธฒ High เธเธถเนเธเธญเธขเธนเนเธเธฑเธเธเธฒเธฃเธเธฑเนเธเธเนเธฒ isStructBodyCandleBreak)
FVGDraw(...): เธเธฑเธเธเนเธเธฑเธเธเธตเนเธฃเธฑเธ Arrays เธเธญเธ FVG Boxes, Types, Mitigation Status เนเธฅเธฐ Labels เธกเธฒเธเธฃเธฐเธกเธงเธฅเธเธฅ เนเธเธทเนเธญเธญเธฑเธเนเธเธเธชเธเธฒเธเธฐเธเธญเธ FVG (เนเธเนเธ เธเธนเธ Mitigate เธซเธฃเธทเธญเนเธกเน) เนเธฅเธฐเธเธฃเธฑเธเธเธเธฒเธ/เธเธณเนเธซเธเนเธเธเธญเธ FVG Box เนเธฅเธฐ Label เธเธเธเธฃเธฒเธ
2.3 Global Variables (เธเธฑเธงเนเธเธฃเธเธฑเนเธงเธเธฑเนเธเธญเธดเธเธเธดเนเธเนเธเธญเธฃเน)
เนเธเนเธเธเธฑเธงเนเธเธฃเธเธตเนเธเธฃเธฐเธเธฒเธจเธเนเธงเธข var เธเธถเนเธเธซเธกเธฒเธขเธเธงเธฒเธกเธงเนเธฒเธเนเธฒเธเธญเธเธกเธฑเธเธเธฐเธเธนเธเนเธเนเธเนเธงเนเนเธฅเธฐเธญเธฑเธเนเธเธเนเธเนเธเนเธฅเธฐเนเธเนเธเนเธเธตเธขเธ (persists across bars)
structureLines, structureLabels: Arrays เธชเธณเธซเธฃเธฑเธเนเธเนเธเธญเนเธญเธเนเธเธเธเน line เนเธฅเธฐ label เธเธญเธเนเธชเนเธ Choch/BoS เธเธตเนเธงเธฒเธเธเธเธเธฃเธฒเธ
fvgBoxes, fvgTypes, fvgLabels, isFvgMitigated: Arrays เธชเธณเธซเธฃเธฑเธเนเธเนเธเธเนเธญเธกเธนเธฅเธเธญเธ FVG Boxes เนเธฅเธฐเธชเธเธฒเธเธฐเธเนเธฒเธเน
structureHigh, structureLow: เนเธเนเธเธฃเธฒเธเธฒเธเธญเธ Swing High/Low เธเธตเนเธชเธณเธเธฑเธเธเธญเธเนเธเธฃเธเธชเธฃเนเธฒเธเธเธฅเธฒเธเธเธฑเธเธเธธเธเธฑเธ
structureHighStartIndex, structureLowStartIndex: เนเธเนเธ Bar Index เธเธญเธเธเธธเธเนเธฃเธดเนเธกเธเนเธเธเธญเธ Swing High/Low เธเธตเนเธชเธณเธเธฑเธ
structureDirection: เนเธเนเธเธชเธเธฒเธเธฐเธเธญเธเธเธดเธจเธเธฒเธเนเธเธฃเธเธชเธฃเนเธฒเธเธเธฅเธฒเธ (1 = Bullish, 2 = Bearish, 0 = Undefined)
fiboXPrice, fiboXStartIndex, fiboXLine, fiboXLabel: เธเธฑเธงเนเธเธฃเธชเธณเธซเธฃเธฑเธเนเธเนเธเธเนเธญเธกเธนเธฅเนเธฅเธฐเธญเนเธญเธเนเธเธเธเนเธเธญเธเนเธชเนเธ Fibonacci Levels
isBOSAlert, isCHOCHAlert: (Boolean) เนเธเนเธชเธณเธซเธฃเธฑเธเธชเนเธเธชเธฑเธเธเธฒเธ Alert (เธซเธฒเธเธกเธตเธเธฒเธฃเธเธฑเนเธเธเนเธฒ Alert เนเธงเน)
2.4 FVG Processing (เธเธฒเธฃเธเธฃเธฐเธกเธงเธฅเธเธฅ FVG)
เธชเนเธงเธเธเธตเนเธเธฐเธเธฃเธงเธเธชเธญเธเนเธเธทเนเธญเธเนเธเธเธฒเธฃเนเธเธดเธ FVG (Bullish FVG: high < low , Bearish FVG: low > high )
เธซเธฒเธเนเธเธดเธ FVG เนเธฅเธฐ isFvgToShow เนเธเนเธ true เธเธฐเธกเธตเธเธฒเธฃเธชเธฃเนเธฒเธ box เนเธฅเธฐ label เนเธซเธกเนเนเธเธทเนเธญเนเธชเธเธ FVG เธเธเธเธฃเธฒเธ
เธกเธตเธเธฒเธฃเธเธฑเธเธเธฒเธฃ fvgBoxes เนเธฅเธฐ fvgLabels เนเธเธทเนเธญเธเธณเธเธฑเธเธเธณเธเธงเธ FVG เธเธตเนเนเธชเธเธเธเธฒเธก fvgHistoryNbr เนเธฅเธฐเธฅเธ FVG เนเธเนเธฒเธญเธญเธ
เธเธฑเธเธเนเธเธฑเธ FVGDraw เธเธฐเธเธนเธเนเธฃเธตเธขเธเนเธเธทเนเธญเธญเธฑเธเนเธเธเธชเธเธฒเธเธฐเธเธญเธ FVG (เนเธเนเธ เธเธฒเธฃเธเธนเธ Mitigate) เนเธฅเธฐเธเธฃเธฑเธเธเธฒเธฃเนเธชเธเธเธเธฅ
2.5 Structures Processing (เธเธฒเธฃเธเธฃเธฐเธกเธงเธฅเธเธฅเนเธเธฃเธเธชเธฃเนเธฒเธเธเธฅเธฒเธ)
Initialization: เธเธตเน bar_index == 0 (เนเธเนเธเนเธเธตเธขเธเนเธฃเธเธเธญเธเธเธฃเธฒเธ) เธเธฐเธกเธตเธเธฒเธฃเธเธณเธซเธเธเธเนเธฒเนเธฃเธดเนเธกเธเนเธเนเธซเนเธเธฑเธ structureHigh, structureLow, structureHighStartIndex, structureLowStartIndex
Finding Current High/Low: highest, highestBar, lowest, lowestBar เธเธนเธเนเธเนเนเธเธทเนเธญเธซเธฒ High/Low เธเธตเนเธชเธธเธเนเธฅเธฐ Bar Index เธเธญเธเธกเธฑเธเนเธ 10 เนเธเนเธเธฅเนเธฒเธชเธธเธ (เธซเธฃเธทเธญเธเธฑเนเธเธซเธกเธเธซเธฒเธเธเธฃเธฒเธเธชเธฑเนเธเธเธงเนเธฒ 10 เนเธเนเธ)
Calculating Structure Max/Min Bar: structureMaxBar เนเธฅเธฐ structureMinBar เนเธเนเธเธฑเธเธเนเธเธฑเธ get_structure_highest_bar เนเธฅเธฐ get_structure_lowest_bar เนเธเธทเนเธญเธซเธฒ Bar Index เธเธญเธ Swing High/Low เธเธตเนเนเธเนเธเธฃเธดเธ (เนเธกเนเนเธเนเนเธเน High/Low เธเธตเนเธชเธธเธเนเธ lookback เนเธเนเนเธเนเธเธเธธเธ Pivot เธเธตเนเธชเธกเธเธนเธฃเธเน)
Break Price: lowStructBreakPrice เนเธฅเธฐ highStructBreakPrice เธเธฐเนเธเนเธเธฃเธฒเธเธฒเธเธดเธ (close) เธซเธฃเธทเธญเธฃเธฒเธเธฒ Low/High เธเธถเนเธเธญเธขเธนเนเธเธฑเธ isStructBodyCandleBreak
isStuctureLowBroken / isStructureHighBroken: เนเธเธทเนเธญเธเนเธเนเธซเธฅเนเธฒเธเธตเนเธเธฃเธงเธเธชเธญเธเธงเนเธฒเธฃเธฒเธเธฒเนเธเนเธเธณเธฅเธฒเธข structureLow เธซเธฃเธทเธญ structureHigh เธซเธฃเธทเธญเนเธกเน เนเธเธขเธเธดเธเธฒเธฃเธเธฒเธเธฒเธเธฃเธฒเธเธฒ Break, เธฃเธฒเธเธฒเนเธเนเธเธเนเธญเธเธซเธเนเธฒ เนเธฅเธฐ Bar Index เธเธญเธเธเธธเธเนเธฃเธดเนเธกเธเนเธเนเธเธฃเธเธชเธฃเนเธฒเธ
Choch/BoS Logic (เธชเนเธงเธเธชเธณเธเธฑเธเธเธตเนเธเธนเธเธเธชเธฒเธเธเธฑเธ MACD):
if(isStuctureLowBroken and is_bearish_macd_cross): เธเธตเนเธเธทเธญเธเธธเธเธเธตเน MACD เนเธเนเธฒเธกเธฒเธกเธตเธเธเธเธฒเธ เธซเธฒเธเธฃเธฒเธเธฒเธเธณเธฅเธฒเธข structureLow (เธชเธฑเธเธเธฒเธเธเธฒเธฅเธ) เนเธฅเธฐ MACD Histogram เนเธเธดเธ Bearish Zero Cross (is_bearish_macd_cross เนเธเนเธ true) เธญเธดเธเธเธดเนเธเนเธเธญเธฃเนเธเธฐเธเธดเธเธฒเธฃเธเธฒเธงเนเธฒเนเธเนเธ Choch เธซเธฃเธทเธญ BoS
เธซเธฒเธ structureDirection == 1 (เนเธเธดเธกเนเธเนเธเธเธฒเธเธถเนเธ) เธซเธฃเธทเธญ 0 (เธขเธฑเธเนเธกเนเธเธณเธซเธเธ) เธเธฐเธเธตเนเธเนเธ "CHoCH" (เนเธเธฅเธตเนเธขเธเธเธดเธจเธเธฒเธเนเธเธฃเธเธชเธฃเนเธฒเธเนเธเนเธเธเธฒเธฅเธ)
เธซเธฒเธ structureDirection == 2 (เนเธเธดเธกเนเธเนเธเธเธฒเธฅเธ) เธเธฐเธเธตเนเธเนเธ "BOS" (เธขเธทเธเธขเธฑเธเนเธเธฃเธเธชเธฃเนเธฒเธเธเธฒเธฅเธ)
เธกเธตเธเธฒเธฃเธชเธฃเนเธฒเธ line.new เนเธฅเธฐ label.new เนเธเธทเนเธญเธงเธฒเธเนเธชเนเธเนเธฅเธฐเธเนเธฒเธขเธเธณเธเธฑเธ
structureDirection เธเธฐเธเธนเธเธญเธฑเธเนเธเธเนเธเนเธ 1 (Bullish)
structureHighStartIndex, structureLowStartIndex, structureHigh, structureLow เธเธฐเธเธนเธเธญเธฑเธเนเธเธเนเธเธทเนเธญเธเธณเธซเธเธเนเธเธฃเธเธชเธฃเนเธฒเธเนเธซเธกเน
else if(isStructureHighBroken and is_bullish_macd_cross): เนเธเนเธเธเธฑเธเธชเธณเธซเธฃเธฑเธเธเธฒเธเธถเนเธ เธซเธฒเธเธฃเธฒเธเธฒเธเธณเธฅเธฒเธข structureHigh (เธชเธฑเธเธเธฒเธเธเธฒเธเธถเนเธ) เนเธฅเธฐ MACD Histogram เนเธเธดเธ Bullish Zero Cross (is_bullish_macd_cross เนเธเนเธ true) เธญเธดเธเธเธดเนเธเนเธเธญเธฃเนเธเธฐเธเธดเธเธฒเธฃเธเธฒเธงเนเธฒเนเธเนเธ Choch เธซเธฃเธทเธญ BoS
เธซเธฒเธ structureDirection == 2 (เนเธเธดเธกเนเธเนเธเธเธฒเธฅเธ) เธซเธฃเธทเธญ 0 (เธขเธฑเธเนเธกเนเธเธณเธซเธเธ) เธเธฐเธเธตเนเธเนเธ "CHoCH" (เนเธเธฅเธตเนเธขเธเธเธดเธจเธเธฒเธเนเธเธฃเธเธชเธฃเนเธฒเธเนเธเนเธเธเธฒเธเธถเนเธ)
เธซเธฒเธ structureDirection == 1 (เนเธเธดเธกเนเธเนเธเธเธฒเธเธถเนเธ) เธเธฐเธเธตเนเธเนเธ "BOS" (เธขเธทเธเธขเธฑเธเนเธเธฃเธเธชเธฃเนเธฒเธเธเธฒเธเธถเนเธ)
เธกเธตเธเธฒเธฃเธชเธฃเนเธฒเธ line.new เนเธฅเธฐ label.new เนเธเธทเนเธญเธงเธฒเธเนเธชเนเธเนเธฅเธฐเธเนเธฒเธขเธเธณเธเธฑเธ
structureDirection เธเธฐเธเธนเธเธญเธฑเธเนเธเธเนเธเนเธ 2 (Bearish)
structureHighStartIndex, structureLowStartIndex, structureHigh, structureLow เธเธฐเธเธนเธเธญเธฑเธเนเธเธเนเธเธทเนเธญเธเธณเธซเธเธเนเธเธฃเธเธชเธฃเนเธฒเธเนเธซเธกเน
เธเธฒเธฃเธฅเธเนเธชเนเธเนเธเนเธฒ: d.delete_line (เธซเธฒเธเนเธฅเธเธฃเธฒเธฃเธตเธเธณเธเธฒเธ) เธเธฐเธเธนเธเนเธฃเธตเธขเธเนเธเธทเนเธญเธฅเธเนเธชเนเธเนเธฅเธฐเธเนเธฒเธขเธเธณเธเธฑเธเนเธเนเธฒเธญเธญเธเนเธกเธทเนเธญเธเธณเธเธงเธเนเธเธดเธ structHistoryNbr
Updating Structure High/Low (else block): เธซเธฒเธเนเธกเนเธกเธตเธเธฒเธฃ Break เนเธเธดเธเธเธถเนเธ เนเธเนเธฃเธฒเธเธฒเธเธฑเธเธเธธเธเธฑเธเธชเธนเธเธเธงเนเธฒ structureHigh เธซเธฃเธทเธญเธเนเธณเธเธงเนเธฒ structureLow เนเธเธเธดเธจเธเธฒเธเธเธตเนเธชเธญเธเธเธฅเนเธญเธเธเธฑเธ (เนเธเนเธ เธขเธฑเธเธเธเนเธเนเธเธเธฒเธเธถเนเธเนเธฅเธฐเธเธณ High เนเธซเธกเน) structureHigh เธซเธฃเธทเธญ structureLow เธเธฐเธเธนเธเธญเธฑเธเนเธเธเนเธเธทเนเธญเธเธดเธเธเธฒเธก High/Low เธเธตเนเธชเธธเธเธเธญเธเนเธเธฃเธเธชเธฃเนเธฒเธเธเธฑเธเธเธธเธเธฑเธ
Current Structure Display:
เธซเธฒเธ isCurrentStructToShow เนเธเนเธ true เธญเธดเธเธเธดเนเธเนเธเธญเธฃเนเธเธฐเธงเธฒเธเนเธชเนเธ structureHighLine เนเธฅเธฐ structureLowLine เนเธเธทเนเธญเนเธชเธเธเธเธญเธเนเธเธเธเธญเธเนเธเธฃเธเธชเธฃเนเธฒเธเธเธฅเธฒเธเธเธฑเธเธเธธเธเธฑเธ
Fibonacci Display:
เธซเธฒเธ isFiboXToShow เนเธเนเธ true เธญเธดเธเธเธดเนเธเนเธเธญเธฃเนเธเธฐเธเธณเธเธงเธเนเธฅเธฐเธงเธฒเธเนเธชเนเธ Fibonacci Levels เธเนเธฒเธเน (0.786, 0.705, 0.618, 0.5, 0.382) เนเธเธขเธญเธดเธเธเธฒเธ structureHigh เนเธฅเธฐ structureLow เธเธญเธเนเธเธฃเธเธชเธฃเนเธฒเธเธเธฅเธฒเธเธเธฑเธเธเธธเธเธฑเธ
Alerts:
alertcondition: เนเธเนเธชเธณเธซเธฃเธฑเธเธเธฑเนเธเธเนเธฒ Alert เนเธ TradingView เนเธกเธทเนเธญเนเธเธดเธเธชเธฑเธเธเธฒเธ BOS เธซเธฃเธทเธญ CHOCH
plot(na):
plot(na) เนเธเนเธเธเธณเธชเธฑเนเธเธเธตเนเธชเธณเธเธฑเธเนเธเธญเธดเธเธเธดเนเธเนเธเธญเธฃเนเธเธตเนเนเธกเนเนเธเนเธเนเธญเธเธเธฒเธฃเธเธฅเนเธญเธ Series เธเธญเธเธเนเธญเธกเธนเธฅเธเธเธเธฃเธฒเธ (เนเธเนเธ เนเธกเนเนเธเนเธเธฅเนเธญเธเนเธชเนเธ EMA เธซเธฃเธทเธญ RSI) เนเธเนเนเธเนเธงเธฒเธเธญเนเธญเธเนเธเธเธเน (Line, Label, Box) เนเธเธขเธเธฃเธ
เธเธฒเธฃเธกเธต plot(na) เธเนเธงเธขเนเธซเน Pine Script เธฃเธนเนเธงเนเธฒเธญเธดเธเธเธดเนเธเนเธเธญเธฃเนเธเธตเนเธกเธตเนเธญเธฒเธเนเธเธธเธเธเธตเนเนเธชเธเธเธเธฅเธเธเธเธฃเธฒเธ เนเธกเนเธงเนเธฒเธเธฐเนเธกเนเนเธเนเนเธเนเธ Series เธเธตเนเธเธฅเนเธญเธเธเธฒเธกเธเธเธเธดเธเนเธเธฒเธก
3. เธงเธดเธเธตเนเธเนเธเธฒเธ
เธเธฑเธเธฅเธญเธเนเธเนเธเธเธฑเนเธเธซเธกเธ เธเธตเนเธญเธขเธนเนเนเธเธเธฅเนเธญเธ immersive เธเนเธฒเธเธเธ
เนเธเธเธตเน TradingView เนเธฅเธฐเนเธเธดเธเธเธฃเธฒเธเธเธตเนเธเธธเธเธเนเธญเธเธเธฒเธฃ
เธเธฅเธดเธเธเธตเนเนเธกเธเธน "Pine Editor" เธเธตเนเธญเธขเธนเนเธเนเธฒเธเธฅเนเธฒเธเธเธญเธเธซเธเนเธฒเธเธญ
เธฅเธเนเธเนเธเนเธเธดเธกเธเธตเนเธกเธตเธญเธขเธนเน เนเธฅเธฐ เธงเธฒเธเนเธเนเธเธเธตเนเธเธฑเธเธฅเธญเธเธกเธฒ เธฅเธเนเธเนเธเธ
เธเธฅเธดเธเธเธตเนเธเธธเนเธก "Add to Chart"
เธญเธดเธเธเธดเนเธเนเธเธญเธฃเนเธเธฐเธเธนเธเนเธเธดเนเธกเธฅเธเนเธเธเธฃเธฒเธเธเธญเธเธเธธเธเนเธเธขเธญเธฑเธเนเธเธกเธฑเธเธด เธเธธเธเธชเธฒเธกเธฒเธฃเธเธเธฅเธดเธเธเธตเนเธฃเธนเธเธเธฑเธเนเธเธทเธญเธเธเนเธฒเธเธเธทเนเธญเธญเธดเธเธเธดเนเธเนเธเธญเธฃเนเธเธเธเธฃเธฒเธเนเธเธทเนเธญเนเธเนเธฒเธเธถเธเธซเธเนเธฒเธเนเธฒเธเธเธฒเธฃเธเธฑเนเธเธเนเธฒเนเธฅเธฐเธเธฃเธฑเธเนเธเนเธเธเธฒเธกเธเธงเธฒเธกเธเนเธญเธเธเธฒเธฃเธเธญเธเธเธธเธเนเธเน
Hello! I will explain the "SMC Structures and FVG + MACD" indicator you provided in detail, section by section, so you can fully understand how it works.This indicator combines the concepts of Smart Money Concept (SMC), which focuses on analyzing Market Structure and Fair Value Gaps (FVG), with the MACD indicator to serve as a filter or confirmation for Choch (Change of Character) and BoS (Break of Structure) signals.1. Overall PurposeThe main purposes of this indicator are:Identify Market Structure: Automatically draw lines and label Choch (Change of Character) and BoS (Break of Structure) on the chart.Integrate MACD Confirmation: Choch/BoS signals will only be considered when the MACD Histogram performs a cross (Zero Cross) in the corresponding direction.Display Fair Value Gap (FVG): If enabled, FVG boxes will be drawn on the chart.Display Fibonacci Levels: Calculate and display important Fibonacci levels based on the current market structure.Adapt to Timeframe: All calculations and displays will automatically adjust to the timeframe you are currently using.2. Code BreakdownThis code can be divided into the following main sections:2.1 Inputs (Settings)This section contains variables that you can adjust in the indicator's settings window (click the gear icon next to the indicator's name on the chart).MACD Settings:fast_len: Length of the Fast EMA for MACD (default 12)slow_len: Length of the Slow EMA for MACD (default 26)signal_len: Length of the Signal Line for MACD (default 9) = ta.macd(close, fast_len, slow_len, signal_len): Calculates the MACD Line, Signal Line, and Histogram using the closing price (close) and the specified lengths.is_bullish_macd_cross: Checks if the MACD Histogram crosses above the 0 line (from negative to positive).is_bearish_macd_cross: Checks if the MACD Histogram crosses below the 0 line (from positive to negative).Fear Value Gap (FVG) Settings:isFvgToShow: (Boolean) Enables/disables the display of FVG on the chart.bullishFvgColor: Color for Bullish FVG.bearishFvgColor: Color for Bearish FVG.mitigatedFvgColor: Color for FVG that has been mitigated.fvgHistoryNbr: Number of historical FVG to display.isMitigatedFvgToReduce: (Boolean) Enables/disables reducing the size of FVG when mitigated.Structures (เนเธเธฃเธเธชเธฃเนเธฒเธเธเธฅเธฒเธ) Settings:isStructBodyCandleBreak: (Boolean) If true, the break must occur with the candle body closing above/below the Swing High/Low. If false, a wick break is sufficient.isCurrentStructToShow: (Boolean) Enables/disables the display of the current market structure lines (blue lines in the example image).pivot_len: Lookback length for identifying Pivot points (Swing High/Low). A smaller value captures smaller, more frequent swings; a larger value captures larger, more significant swings.bullishBosColor, bearishBosColor: Colors for bullish/bearish BOS lines and labels.bosLineStyleOption, bosLineWidth: Style (Solid, Dotted, Dashed) and width of BOS lines.bullishChochColor, bearishChochColor: Colors for bullish/bearish CHoCH lines and labels.chochLineStyleOption, chochLineWidth: Style (Solid, Dotted, Dashed) and width of CHoCH lines.currentStructColor, currentStructLineStyleOption, currentStructLineWidth: Color, style, and width of the current market structure lines.structHistoryNbr: Number of historical breaks (Choch/BoS) to display.Structure Fibonacci (from original code):A set of inputs to enable/disable, define values, colors, styles, and widths for various Fibonacci Levels (0.786, 0.705, 0.618, 0.5, 0.382) that will be calculated from the current market structure.2.2 Helper FunctionsgetLineStyle(lineOption): This function converts the selected string input (e.g., "โ", "โ", "โ") into a line.style_ format understood by Pine Script.get_structure_highest_bar(lookback): This function attempts to find the Bar Index of the Swing High within the specified lookback period.get_structure_lowest_bar(lookback): This function attempts to find the Bar Index of the Swing Low within the specified lookback period.is_structure_high_broken(...): This function checks if the current price has broken above _structureHigh (Swing High), considering _highStructBreakPrice (closing price or high price depending on isStructBodyCandleBreak setting).FVGDraw(...): This function takes arrays of FVG Boxes, Types, Mitigation Status, and Labels to process and update the status of FVG (e.g., whether it's mitigated) and adjust the size/position of FVG Boxes and Labels on the chart.2.3 Global VariablesThese are variables declared with var, meaning their values are stored and updated on each bar (persists across bars).structureLines, structureLabels: Arrays to store line and label objects for Choch/BoS lines drawn on the chart.fvgBoxes, fvgTypes, fvgLabels, isFvgMitigated: Arrays to store FVG box data and their respective statuses.structureHigh, structureLow: Stores the price of the significant Swing High/Low of the current market structure.structureHighStartIndex, structureLowStartIndex: Stores the Bar Index of the start point of the significant Swing High/Low.structureDirection: Stores the status of the market structure direction (1 = Bullish, 2 = Bearish, 0 = Undefined).fiboXPrice, fiboXStartIndex, fiboXLine, fiboXLabel: Variables to store data and objects for Fibonacci Levels.isBOSAlert, isCHOCHAlert: (Boolean) Used to trigger alerts in TradingView (if alerts are configured).2.4 FVG ProcessingThis section checks the conditions for FVG formation (Bullish FVG: high < low , Bearish FVG: low > high ).If FVG occurs and isFvgToShow is true, a new box and label are created to display the FVG on the chart.fvgBoxes and fvgLabels are managed to limit the number of FVG displayed according to fvgHistoryNbr and remove older FVG.The FVGDraw function is called to update the FVG status (e.g., whether it's mitigated) and adjust its display.2.5 Structures ProcessingInitialization: At bar_index == 0 (the first bar of the chart), structureHigh, structureLow, structureHighStartIndex, and structureLowStartIndex are initialized.Finding Current High/Low: highest, highestBar, lowest, lowestBar are used to find the highest/lowest price and its Bar Index of it in the last 10 bars (or all bars if the chart is shorter than 10 bars).Calculating Structure Max/Min Bar: structureMaxBar and structureMinBar use get_structure_highest_bar and get_structure_lowest_bar functions to find the Bar Index of the true Swing High/Low (not just the highest/lowest in the lookback but a complete Pivot point).Break Price: lowStructBreakPrice and highStructBreakPrice will be the closing price (close) or the Low/High price, depending on the isStructBodyCandleBreak setting.isStuctureLowBroken / isStructureHighBroken: These conditions check if the price has broken structureLow or structureHigh, considering the break price, previous bar prices, and the Bar Index of the structure's starting point.Choch/BoS Logic (Key Integration with MACD):if(isStuctureLowBroken and is_bearish_macd_cross): This is where MACD plays a role. If the price breaks structureLow (bearish signal) AND the MACD Histogram performs a Bearish Zero Cross (is_bearish_macd_cross is true), the indicator will consider it a Choch or BoS.If structureDirection == 1 (previously bullish) or 0 (undefined), it will be labeled "CHoCH" (changing structure direction to bearish).If structureDirection == 2 (already bearish), it will be labeled "BOS" (confirming bearish structure).line.new and label.new are used to draw the line and label.structureDirection will be updated to 1 (Bullish).structureHighStartIndex, structureLowStartIndex, structureHigh, structureLow will be updated to define the new structure.else if(isStructureHighBroken and is_bullish_macd_cross): Similarly for bullish breaks. If the price breaks structureHigh (bullish signal) AND the MACD Histogram performs a Bullish Zero Cross (is_bullish_macd_cross is true), the indicator will consider it a Choch or BoS.If structureDirection == 2 (previously bearish) or 0 (undefined), it will be labeled "CHoCH" (changing structure direction to bullish).If structureDirection == 1 (already bullish), it will be labeled "BOS" (confirming bullish structure).line.new and label.new are used to draw the line and label.structureDirection will be updated to 2 (Bearish).structureHighStartIndex, structureLowStartIndex, structureHigh, structureLow will be updated to define the new structure.Deleting Old Lines: d.delete_line (if the library works) will be called to delete old lines and labels when their number exceeds structHistoryNbr.Updating Structure High/Low (else block): If no break occurs, but the current price is higher than structureHigh or lower than structureLow in the corresponding direction (e.g., still bullish and making a new high), structureHigh or structureLow will be updated to track the highest/lowest point of the current structure.Current Structure Display:If isCurrentStructToShow is true, the indicator draws structureHighLine and structureLowLine to show the boundaries of the current market structure.Fibonacci Display:If isFiboXToShow is true, the indicator calculates and draws various Fibonacci Levels (0.786, 0.705, 0.618, 0.5, 0.382) based on the structureHigh and structureLow of the current market structure.Alerts:alertcondition: Used to set up alerts in TradingView when BOS or CHOCH signals occur.plot(na):plot(na) is an important statement in indicators that do not plot data series directly on the chart (e.g., not plotting EMA or RSI lines) but instead draw objects (Line, Label, Box).Having plot(na) helps Pine Script recognize that this indicator has an output displayed on the chart, even if it's not a regularly plotted series.3. How to UseCopy all the code in the immersive block above.Go to TradingView and open your desired chart.Click on the "Pine Editor" menu at the bottom of the screen.Delete any existing code and paste the copied code in its place.Click the "Add to Chart" button.The indicator will be added to your chart automatically. You can click the gear icon next to the indicator's name on the chart to access the settings window and customize it to your needs.I hope this explanation helps you understand this indicator in detail. If anything is unclear, or you need further adjustments, please let me know.
Cari dalam skrip untuk "smart"
PipsHunters Trading ChecklistTitle: PipsHunters Trading Checklist (PHTC)
Short Description / Teaser:
Enforce trading discipline and never miss a step in your pre-trade analysis with this simple, interactive, on-chart checklist.
Full Description:
๐ Overview
The PipsHunters Trading Checklist (PHTC) is a powerful yet simple tool designed to instill discipline and structure into your trading routine. In the heat of the moment, it's easy to forget crucial steps of your analysis, leading to impulsive and low-probability trades. This indicator acts as your personal co-pilot, providing a persistent, on-chart checklist that you must manually complete before taking a trade.
This is not an automated signal generator. It is a utility to keep you accountable to your own trading plan. The checklist items are inspired by common concepts in price action and Smart Money Concepts (SMC) methodologies, but they serve any trader who follows a rule-based system.
โจ Key Features
Interactive On-Chart Table: Displays a clean, non-intrusive table directly on your chart.
Manual Check-off System: You are in full control. Go into the indicator settings and check off each item as you complete your analysis.
Real-Time Progress Tracking: The table header shows your progress (e.g., 4/7) and changes color from red to green when all items are checked.
Clear Visual Cues: Each item is marked with a โ
or โ, and the text color changes to provide an at-a-glance status.
"Ready!" Status: A final "READY!" confirmation appears once your entire checklist is complete, giving you the green light to look for an entry based on your strategy.
Fully Customizable Position: Place the table in any corner of your chart (Top Left, Top Right, Bottom Left, Bottom Right) to suit your layout.
๐ The Checklist Items Explained
The default checklist guides you through a structured, top-down analysis process common in many trading strategies:
Seat before 1H: A reminder to be settled and mentally prepared at your desk at least an hour before your target session begins. Avoids rushing and emotional decisions.
Check News: Have you checked for high-impact news events that could introduce extreme volatility and invalidate your setup?
Mark Day Open: The daily open is a key institutional level. Marking it helps establish the daily bias.
Mark LQ Levels: Have you identified key Liquidity (LQ) levels? This includes previous day/week highs and lows, session highs/lows, and other obvious swing points.
Wait for Kill Zone: A reminder to be patient and wait for price to trade into a specific, high-probability time window (e.g., London Kill Zone, New York Kill Zone).
LQ sweep inside Kill Zone: The core of the setup. Has price swept a key liquidity level within your chosen Kill Zone?
Lower TF Confirmations: After the liquidity sweep, have you waited for confirmation on a lower timeframe? This is often a Market Structure Shift (MSS) or Change of Character (CHoCH).
๐ ๏ธ How to Use
Add the "PipsHunters Trading Checklist" indicator to your chart.
Go to the indicator's Settings (click the gear icon โ๏ธ).
As you perform each step of your pre-trade analysis, tick the corresponding checkbox in the Inputs tab.
The on-chart table will update instantly to reflect your progress.
Only when all 7 items are checked will the table signal "READY!".
๐ฏ Who Is This For?
This indicator is perfect for:
SMC / ICT Traders: The checklist items align directly with Smart Money Concepts.
New Traders: Helps build the essential habit of a consistent pre-trade routine.
Inconsistent Traders: Acts as a guardrail to prevent impulsive, undisciplined entries.
Any Rule-Based Trader: Anyone who follows a trading plan can benefit from the structure it provides.
Disclaimer: This is a utility tool to aid in discipline and execution. It does not provide financial advice or guarantee profitable trades. All trading involves risk, and you are solely responsible for your own decisions. Trade safe and stay disciplined!
EPS, Revenue & NPM Growth Marker v2This indicator visually tracks fundamental growth by plotting smart labels on earnings dates, showing three key metrics:
EPS (Earnings Per Share)
Revenue (Sales)
Net Profit Margin (NPM)
It overlays compact, readable labels on the chart allowing you to evaluate a company's financial performance โ both sequentially (QoQ) and annually (YoY).
EPS, Revenue & NPM Growth Marker v2 uses both official earnings data and fallback logic (EPS/Revenue/NPM changes) to ensure consistent detection of earnings events.
โญ Key Features
Three Metrics: Displays EPS, Revenue, and Net Profit Margin
Growth Breakdown: Shows Absolute, Quarter-over-Quarter %, and Year-over-Year % change
Smart Arrows: Trend direction shown with emoji arrows (๐กฉ๐กซ)
Earnings Detection: Aligns labels to official earnings events or fallback data
Highly Customizable: Full control over visible metrics, growth types, label style, placement, and max label count
Clean Display: Keeps the chart clean with a limit on max labels
โ๏ธ Customization Options
You can personalize the indicator to match your charting style:
Select metrics to display: EPS, Revenue, NPM
Toggle row types: Absolute, QoQ %, YoY %
Choose label position: Above Bar, Below Bar, Top, or Bottom
Customize line style, colors, and label text color
Set the maximum number of labels shown on chart
๐ง How It Works
Absolute Value: Latest reported figure for each metric (e.g., EPS = โน3.20)
QoQ % Change: (Current - Previous Quarter) / |Previous| * 100
YoY % Change: (Current - Same Quarter Last Year) / |Previous Year| * 100
The script uses TradingViewโs request.earnings() data when available. If official earnings data is missing, it intelligently detects earnings events based on changes in EPS, Revenue, or NPM figures.
This is a major update to EPS & Sales/Revenue Growth Marker script, with expanded metrics, enhanced logic, and greater customization.
Developed & Published by: @learningvitals
Fractal Market Model [BLAZ]Version 1.0 โ Published August 2025: Initial release
1. Overview & Purpose
1.1. What This Indicator Does
The Fractal Market Model is an original multi-timeframe technical analysis tool that bridges the critical gap between macro-level market structure and micro-level price execution. Designed to work across all financial markets including Forex, Stocks, Crypto, Futures, and Commodities. While traditional Smart Money Concepts indicators exist, this implementation analyses multi-timeframe liquidity zones and price action shifts, marking potential reversal points where Higher Timeframe (HTF) liquidity sweeps coincide with Low Timeframe (LTF) price action dynamics changes.
Snapshot details: NASDAQ:GOOG , 1W Timeframe, Year 2025
1.2. What Sets This Indicator Apart
The Fractal Market Model analyses multi-timeframe correlations between HTF structural events and LTF price action. This creates a dynamic framework that reveals patterns observed historically in price behaviour that are believed to reflect institutional activity across multiple time dimensions.
The indicator recognizes that markets move in fractal cycles following the AMDX pattern (Accumulation, Manipulation, Distribution, Continuation/Reversal). By tracking this pattern across timeframes, it flags zones where price action dynamics characteristics have historically shown shifts. In the LTF, the indicator monitors for price closing through the open of an opposing candle near HTF swing highs or lows, marking this as a Change in State of Delivery (CISD), a threshold event where price action historically transitions direction.
Practical Value:
Multi-Timeframe Integration: Connects HTF structural events with LTF execution patterns.
Fractal Pattern Recognition: Identifies AMDX cycles across different time dimensions.
Price Behavior Analysis: Tracks CISD patterns that may reflect historical shifts in order flow commonly associated with institutional activity.
Range-Based Context: Analyses price action within established HTF liquidity zones.
1.3. How It Works
The indicator employs a systematic 5-candle HTF tracking methodology:
Candles 0-1: Accumulation phase identification.
Candle 2: Manipulation detection (raids previous highs/lows).
Candle 3: Distribution phase recognition.
Candle 4: Continuation/reversal toward opposite liquidity.
The system monitors for CISD patterns on the LTF when HTF manipulation candles close with confirmed sweeps, highlighting zones where order flow dynamics historically shifted within the established HTF range.
Snapshot details: FOREXCOM:AUDUSD , 1H Timeframe, 17 to 28 July 2025
Note: The Candle 0-5 and AMDX labels shown in the accompanying image are for demonstration purposes only and are not part of the indicatorโs actual functionality.
2. Visual Elements & Components
2.1. Complete FMM Setup Overview
A fully developed Fractal Market Model setup displays multiple analytical components that work together to provide comprehensive market structure analysis. Each visual element serves a specific purpose in identifying and tracking the AMDX cycle across timeframes.
2.2. Core Visual Components
Snapshot details: FOREXCOM:EURUSD , 5 Minutes Timeframe, 27 May 2025.
Note: The numbering labels 1 to 14 shown in the accompanying image are for demonstration purposes only and are not part of the indicatorโs actual functionality.
2.2.1. HTF Structure Elements
(1) HTF Candle Visualization: Displays the 5-candle sequence being tracked (configurable quantity up to 10).
(2) HTF Candle Labels (C2-C4): Numbered identification for each candle in the AMDX cycle.
(3) HTF Resolution Label: Shows the higher timeframe being analysed.
(4) Time Remaining Indicator: Countdown to HTF candle closure.
(5) Vertical Separation Lines: Clearly delineates each HTF candle period.
2.2.2. Key Price Levels
(6) Liquidity Levels: High/low levels from HTF candles 0 and 1 representing potential target zones.
(7) Sweep Detection Lines: Marks where previous HTF candle extremes have been breached on both HTF and LTF.
(8) HTF Candle Mid-Levels: 50% retracement levels of previous HTF candles displayed on current timeframe.
(9) Open Level Marker: Shows the opening price of the most recent HTF candle.
2.2.3. Institutional Analysis Tools
(10) CISD Line: Marks the Change in State of Delivery pattern identification point.
(11) Consequent Encroachment (CE): Mid-level of identified institutional order blocks.
(12) Potential Reversal Area (PRA): Zone extending from previous candle close to the mid-level.
(13) Fair Value Gap (FVG): Identifies imbalance areas requiring potential price revisits.
(14) HTF Time Labels: Individual time period labels for each HTF candle.
2.3. Interactive Features
All visual elements update dynamically as new price data confirms or invalidates the tracked patterns, providing real-time market structure analysis across the selected timeframe combination.
3. Input Parameters and Settings
3.1. Alert Configuration
Setup Notifications: Users can configure alerts to receive notifications when new FMM setups form based on their selected bias, timeframes, and filters. Enable this feature by:
Configure the bias, timeframes and filters and other settings as desired.
Toggle the "Alerts?" checkbox to ON in indicator settings.
On the chart, click the three dots menu beside the indicator's name or press Alt + A.
Select "Add Alert" and click โCreateโ to activate the alert.
3.2. Display Control Settings
3.2.1. Historical Setup Quantity
Setup Display Control: Customize how many historical setups appear on the chart, with support for up to 50 combined entries. The indicator displays both bullish and bearish FMM setups within the selected limit, including invalidated scenarios. For example, selecting "3 setups" will display the most recent combination of bullish and bearish patterns based on the model's detection logic.
Snapshot details: BINANCE:BTCUSD , 1H Timeframe, 27-Feb to 11-Mar 2025
Note: The labels โSetup 1, 2 & 3: Bullish or Bearishโ shown in the accompanying image are for demonstration purposes only and are not part of the indicatorโs actual functionality.
3.2.2. Directional Bias Filter
Bias Filter: Control which setups are displayed based on directional preference:
Bullish Only: Shows exclusively upward bias setups.
Bearish Only: Shows exclusively downward bias setups.
Balanced Mode: Displays both directional setups.
This flexibility helps align the indicator's output with broader market analysis or trading framework preferences. The chart below illustrates the same chart in 3.2.1. but when filtered to show only bullish setups.
Snapshot details: BINANCE:BTCUSD , 1H Timeframe, 27-Feb to 11-Mar 2025
Note: The labels โSetup 1, 2 & 3: Bullishโ shown in the accompanying image are for demonstration purposes only and are not part of the indicatorโs actual functionality.
3.2.3. Invalidated Setup Display
Invalidation Visibility: A setup becomes invalidated when price moves beyond the extreme high or low of the Manipulation candle (C2), indicating that the expected fractal pattern has been disrupted. Choose whether to display or hide setups that have been invalidated by subsequent price action. This feature helps maintain chart clarity while preserving analytical context:
Amber Labels: Setups invalidated at Candle 3 (C3).
Red Labels: Setups invalidated at Candle 4 (C4).
Count Preservation: Invalidated setups remain part of the total setup count regardless of visibility setting.
Below image illustrates balanced setups:
Left side: 1 bearish valid setup, with 2 invalidated setups visible.
Right side: 1 bearish valid setup, with 2 invalidated setups hidden for chart clarity.
Snapshot details: FOREXCOM:GBPJPY , 5M Timeframe, 30 July 2025
3.3. Timeframe Configuration
3.3.1. Multi-Timeframe Alignment
Custom Timeframe Selection: Configure preferred combinations of Higher Timeframe (HTF) and Lower Timeframe (LTF) for setup generation. While the indicator includes optimized default alignments (1Y โ1Q, 1Q โ1M, 1M โ1W, 1M โ1D, 1Wโ4H, 1Dโ1H, 4H-30m, 4H โ15m, 1H โ5m, 30m โ3m, 15m โ1m), users can define custom HTF-LTF configurations to suit their analysis preferences and market focus.
The image below illustrates two different HTF โ LTF configuration, both on the 5 minutes chart:
Right side: Automatic multi-timeframe alignment, where the indicator autonomously sets the HTF pairing to 1H when the current chart timeframe is the 5 minutes.
Left side: Custom Timeframe enabled, where HTF is manually set to 4H, and LTF is manually set to 15 minutes, while being on the 5 minutes chart.
Snapshot details: FOREXCOM:GBPJPY , 5 minutes timeframe, 30 July 2025
3.3.2. Session-Based Filtering
Visibility Filters: Control when FMM setups appear using multiple filtering options:
Time-Based Controls:
Show Below: Limit setup visibility to timeframes below the selected threshold.
Use Session Filter: Enable session-based time window restrictions.
Session 1, 2, 3: Configure up to three custom time sessions with start and end times.
These filtering capabilities help concentrate analysis on specific market periods or timeframe contexts.
The image below illustrates the application of session filters:
Left side: The session filter is disabled, resulting in four setups being displayed throughout the dayโtwo during the London session and two during the New York session.
Right side: The session filter is enabled to display setups exclusively within the New York session (8:00 AM โ 12:00 PM). Setups outside this time window are hidden. Since the total number of setups is limited to four, the indicator backfills by identifying and displaying two qualifying setups from earlier price action that occurred within the specified New York session window.
Snapshot details: COMEX:GC1! , 5 minutes Timeframe, 29 July 2025
3.4. Annotation Systems
3.4.1. Higher Timeframe (HTF) Annotations
HTF Display Control: Enable HTF visualization using the "HTF candles" checkbox with quantity selector (default: 5 candles, expandable to 10). This displays all HTF elements detailed in the Visual Components section 2.2. above.
Customisation Categories:
Dimensions: Adjust candle offset, gap spacing, and width for optimal chart fit.
Colours: Customize body, border, and wick colours for bullish/bearish candle differentiation.
Style Options: Control line styles for HTF opens, sweep lines, and equilibrium levels.
Feature Toggles: Enable/disable Fair Value Gaps, countdown labels, and individual candle labelling.
All HTF annotation elements support individual styling controls to maintain visual clarity while preserving analytical depth. The image below shows two examples: the left side has customized styling applied, while the right side shows the default appearance.
Snapshot details: CME_MINI:NQ1! , 5 minutes Timeframe, 29 July 2025
3.4.2. Lower Timeframe (LTF) Annotations
LTF Display Control: Comprehensive annotation system for detailed execution analysis, displaying all LTF elements outlined in the Visual Components section 2.2. above.
Customization Categories:
Core Elements: Control HTF separation lines, sweep markers, CISD levels, and candle phase toggles (C2, C3, C4) to selectively show or hide the LTF annotations for each of these specific HTF candle phases.
Reference Levels: Adjust previous equilibrium lines, CISD consequent encroachment, and HTF liquidity levels.
Analysis Tools: Enable potential holding area (PHA) markers.
Styling Options: Individual visibility toggles, colour schemes, line styles, and thickness controls for each element.
All LTF components support full customization to maintain chart clarity while providing precise execution context. The image below shows two examples: the left side has customized styling applied, while the right side shows the default appearance.
Snapshot details: TVC:DXY , 5 minutes Timeframe, 28 July 2025
3.5. Performance Considerations
Higher setup counts and extended HTF displays may impact chart loading times. Adjust settings based on device performance and analysis requirements.
4. Closed-Source Protection Justification
4.1. Why This Indicator Requires Protected Source Code
The Fractal Market Model is the result of original research, development, and practical application of advanced price action frameworks. The indicator leverages proprietary algorithmic systems designed to interpret complex market behavior across multiple timeframes. To preserve the integrity of these innovations and prevent unauthorized replication, the source code is protected.
4.1.1. Key Proprietary Innovations
Real-Time Multi-Timeframe Correlation Engine: A dynamic logic system that synchronizes higher timeframe structural behaviour with lower timeframe execution shifts using custom correlation algorithms, adaptive thresholds, and time-sensitive conditions, supporting seamless fractal analysis across nested timeframes.
CISD Detection Framework: A dedicated mechanism for identifying Change in State of Delivery (CISD), where price closes through the open of an opposing candle at or near HTF swing highs or lows after liquidity has been swept. This is used to highlight potential zones of directional change based on historical order flow dynamics.
Fractal AMDX Cycle Recognition: An engineered structure that detects and classifies phases of Accumulation, Manipulation, Distribution, and Continuation/Reversal (AMDX) across configurable candle sequences, allowing traders to visualize market intent within a repeatable cycle model.
Dynamic Invalidation Logic: An automated monitoring system that continually evaluates the validity of active setups. Setups are invalidated in real time when price breaches the extreme of the manipulation phase (C2), ensuring analytical consistency and contextual alignment.
4.1.2. Community Value
The closed-source nature of this tool protects the authorโs original intellectual property while still delivering value to the TradingView community. The indicator offers a complete, real-time visual framework, educational annotations, and intuitive controls for analysing price action structure and historically observed patterns commonly attributed to institutional behaviour across timeframes.
5. Disclaimer & Terms of Use
This indicator, titled Fractal Market Model , has been independently developed by the author based on their own study, interpretation, and practical application of the smart money concepts. The code and structure of this indicator are original and were written entirely from scratch to reflect the author's unique understanding and experience. This indicator is an invite-only script. It is closed-source to protect proprietary algorithms and research methodologies.
This tool is provided solely for educational and informational purposes. It is not intendedโand must not be interpretedโas financial advice, investment guidance, or a recommendation to buy or sell any financial instrument. The indicator is designed to assist with technical analysis based on market structure theory but does not guarantee accuracy, profitability, or specific results.
Trading financial markets involves significant risk, including the possibility of loss of capital. By using this indicator, you acknowledge and accept that you are solely responsible for any decisions you make while using the tool, including all trading or investment outcomes. No part of this script or its features should be considered a signal or assurance of success in the market.
By subscribing to or using the indicator, you agree to the following:
You fully assume all responsibility and liability for the use of this product.
You release the author from any and all liability, including losses or damages arising from its use.
You acknowledge that past performanceโreal or hypotheticalโdoes not guarantee future outcomes.
You understand that this indicator does not offer personalised advice, and no content associated with it constitutes a solicitation of financial action.
You agree that all purchases are final. Once access is granted, no refunds, reimbursements, or chargebacks will be issued under any circumstance.
You agree to not redistribute, resell, or reverse engineer the script or any part of its logic.
Users are expected to abide by all platform guidelines while using or interacting with this tool. For access instructions, please refer to the Author's Instructions section or access the tool through the verified vendor platform.
Footprint-Style Order Flow by Kalibea๐ Indicator: "Footprint-Style Order Flow by Kalibea"
Simplified Order Flow Analysis for TradingView
This indicator was created by Kalibea to bring you the power of Order Flow analysis in a clear, practical wayโwithout technical complexity and fully compatible with TradingView.
While TradingView doesnโt support traditional footprint charts, this tool simulates institutional market reading using a smart calculation of estimated volume delta, helping you make more informed trading decisions.
๐ What does this indicator do?
Estimated Delta: Calculates the difference between buying and selling pressure per candle, based on price movement and volume.
Smart Visual Signals:
๐ผ Green Triangle: Potential buy entry (buyer dominance).
๐ฝ Red Triangle: Potential sell entry (seller dominance).
Delta Histogram: Displays whether each candle was driven more by buyers or sellers.
Live Labels: Shows real-time delta values above each candle for quick interpretation.
๐ง How does it help your trading?
Detects real-time market imbalances (who's in control: buyers or sellers).
Improves entry and exit timing, especially on lower timeframes.
Helps you confirm other strategies such as supply/demand zones, support/resistance, or candlestick patterns.
Provides an institutional-style reading simplified for use within TradingView.
โ๏ธ Fully Customizable to Your Style
Adjust the delta sensitivity to suit any market: Forex, Crypto, Indices, and more.
Turn on/off visual signals and histogram as needed.
๐ Recommended by Kalibea for:
โ
Intraday traders and scalpers
โ
Traders looking to take the next step into institutional-style analysis
โ
Those seeking precise entries without overcomplicating their charts
๐ฌ โOrder Flow is the marketโs internal voice. This indicator helps you hear itโno expensive footprint software required.โ
โ Kalibea
Mereks Wick Theory๐จ Wick Precision Zones โ Top & Bottom Sniper
๐ Timeframes: 1H & 4H | ๐ Powered by Smart Wick Logic + FVG Detection
Mark the exact 50% of key wicks where smart money reacts.
This advanced indicator auto-detects Fair Value Gaps (FVGs), Order Blocks, and liquidity zones, then highlights precision reversal levels with color-coded lines (๐ด short / ๐ข long).
โ
Alerts before and when price hits the zone
โ
Works even with just a strong wick inside FVG
โ
Filters in real-time to increase signal accuracy
โ
Built for top- and bottom-ticking entries
RED E Support & ResistanceThe โRED-E Support & Resistanceโ indicator is designed to assist traders in visualizing key levels of support and resistance on a chart by employing ATR (Average True Range) to create dynamic horizontal zones. This indicator automatically plots robust support and resistance bands that can help identify potential areas where price may reverse, consolidate, or react. These levels are particularly beneficial for traders who employ concepts like Smart Money analysis, as they illustrate zones where institutional trading activity might occur.
How It Works:
โข The indicator uses ATR-based calculations to determine the placement of the support and resistance zones. This approach accounts for market volatility, making the zones adaptive to changing conditions.
โข The Zone Thickness parameter allows users to customize the width of the plotted zones, enhancing visibility and fitting them to their specific trading style.
โข The support and resistance zones extend horizontally across the chart, providing clear reference points for potential price reactions.
Practical Application:
โข Trend Analysis: Identify areas of significant price resistance and support to understand potential turning points or trends in the market.
โข Risk Management: Use these zones to better inform stop-loss placements or set profit targets.
โข Confirmation Tool: Combine the indicator with other technical analysis tools for confirmation of potential trade entries or exits.
Customization Options:
โข Change the colors of the support and resistance zones for better integration with different chart themes.
โข Adjust the ATR Length and Multiplier to fine-tune the sensitivity of the zones based on personal preferences and the characteristics of the asset being analyzed.
Disclaimer:
This indicator is for educational and informational purposes only. It is not intended to serve as investment advice or a recommendation to buy or sell any financial instrument. Always perform your own research and consider consulting with a financial professional before making trading decisions. Trading involves significant risk, and past performance does not guarantee future results.
3 hours ago
Release Notes
The โRED-E Support & Resistanceโ indicator is designed to assist traders in visualizing key levels of support and resistance on a chart by employing ATR (Average True Range) to create dynamic horizontal zones. This indicator automatically plots robust support and resistance bands that can help identify potential areas where price may reverse, consolidate, or react. These levels are particularly beneficial for traders who employ concepts like Smart Money analysis, as they illustrate zones where institutional trading activity might occur.
How It Works:
โข The indicator uses ATR-based calculations to determine the placement of the support and resistance zones. This approach accounts for market volatility, making the zones adaptive to changing conditions.
โข The Zone Thickness parameter allows users to customize the width of the plotted zones, enhancing visibility and fitting them to their specific trading style.
โข The support and resistance zones extend horizontally across the chart, providing clear reference points for potential price reactions.
Practical Application:
โข Trend Analysis: Identify areas of significant price resistance and support to understand potential turning points or trends in the market.
โข Risk Management: Use these zones to better inform stop-loss placements or set profit targets.
โข Confirmation Tool: Combine the indicator with other technical analysis tools for confirmation of potential trade entries or exits.
Customization Options:
โข Change the colors of the support and resistance zones for better integration with different chart themes.
โข Adjust the ATR Length and Multiplier to fine-tune the sensitivity of the zones based on personal preferences and the characteristics of the asset being analyzed.
Disclaimer:
This indicator is for educational and informational purposes only. It is not intended to serve as investment advice or a recommendation to buy or sell any financial instrument. Always perform your own research and consider consulting with a financial professional before making trading decisions. Trading involves significant risk, and past performance does not guarantee future results.
Dynamic S/R System - Pivot + ChannelDynamic S/R System - Pivot + Channel
A comprehensive Support & Resistance indicator combining dual methodologies for institutional-grade price level analysis
๐ CORE FEATURES
Dual Detection System
โข Pivot-Based Levels - Historical turning points with intelligent touch counting
โข Dynamic Channel S/R - Trend-aware linear regression boundaries
โข Smart Level Management - Auto-merges similar levels, removes weak/outdated ones
Volume Integration
โข Multi-timeframe volume analysis using EMA oscillator and spike detection
โข Volume confirmation for all breakout signals to filter false moves
โข Real-time volume status (Normal/High/Spike) in live information panel
Intelligent Touch Counting
โข Automatic level validation through touch frequency analysis
โข Strength classification with visual differentiation (colors/thickness)
โข Level labels showing exact touch count (S3, R5, etc.)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐จ VISUAL ELEMENTS
Line System
Solid Lines: Pivot-based S/R levels
Dashed Lines: Dynamic channel boundaries
Color Coding:
โข ๐ต Blue/๐ด Red: Standard support/resistance
โข ๐ Orange: Strong levels (multiple touches)
โข ๐ฃ Purple: Channel S/R levels
Signal Labels
โข "B" - Pivot S/R breakout with volume confirmation
โข "CB" - Channel boundary breakout
โข "Bull/Bear Wick" - False breakout detection (wick rejections)
Information Panel
Real-time analysis displays:
โข Total resistance/support levels detected
โข Closest S/R levels to current price
โข Volume status and position relative to levels
โข Current market position assessment
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
KEY ADVANTAGES
Multi-Method Validation
Combines historical pivot analysis with dynamic trend channels for comprehensive market view
False Breakout Protection
โข Volume confirmation requirements
โข Wick analysis to identify failed attempts
โข Multiple validation criteria before signal generation
Adaptive Level Management
โข Automatically updates as new pivots form
โข Removes outdated/weak levels
โข Maintains clean, relevant level display
Institutional-Grade Analysis
โข Touch counting reveals institutional respect levels
โข Volume integration shows smart money activity
โข Strength classification identifies high-probability zones
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โฐ OPTIMAL USE CASES
Best Timeframes
โข Daily - Primary recommendation for swing trading
โข 4-Hour - Intraday analysis and entries
โข Weekly - Long-term position planning
Ideal Markets
โข Crypto pairs (especially ETH/BTC, BTC/USD)
โข Forex majors with good volume data
โข Large-cap stocks with institutional participation
Trading Applications
โข Entry/exit planning around key S/R levels
โข Breakout confirmation with volume validation
โข Risk management using nearest S/R for stops
โข Trend analysis through channel dynamics
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ๏ธ CONFIGURATION GUIDELINES
Conservative Setup (Higher Confidence)
Min Pivot Strength: 3-4
Volume Threshold: 25-30%
Max Levels: 6-8
Aggressive Setup (More Signals)
Min Pivot Strength: 2
Volume Threshold: 15-20%
Max Levels: 10-12
๐ ALERT SYSTEM
Breakout Alerts
โข Resistance/Support breaks with volume confirmation
โข Channel boundary violations
โข Approaching strong S/R levels
Advanced Notifications
โข Strong level approaches (within 0.5% of price)
โข False breakout detection
โข Volume spike confirmations
๐ TRADING STRATEGY GUIDE
Entry Strategy
1. Wait for price to approach identified S/R level
2. Confirm with volume analysis (spike/high volume preferred)
3. Watch for wick formations indicating rejection
4. Enter on confirmed breakout with volume or bounce with rejection
Risk Management
โข Use nearest S/R level for stop placement
โข Scale position size based on level strength (touch count)
โข Monitor volume confirmation for exit signals
Market Context
โข Combine with higher timeframe trend analysis
โข Consider overall market sentiment and volatility
โข Use channel direction for bias confirmation
Transform complex S/R analysis into actionable trading intelligence with institutional-level insights for professional trading decisions.
COT-Extreme ZonesThis indicator visualizes Commitment of Traders (COT) data for Commercials, Non-Commercials, and Retail Traders using net positions.
It highlights extreme positioning zones with colored background boxes:
๐ด Red for extremely short positions and
๐ข Green for extremely long positions,
based on configurable thresholds.
Ideal for swing traders and sentiment-based strategies.
Includes:
โ Stepline plots for clean separation
โ Fixed opacity zones for clear visual alerts
โ Minimalistic labels (one per line)
โ Weekly resolution (auto-synced to symbol)
๐ฏ Use this to identify sentiment extremes that may lead to turning points.
TFPS - TradFi Pressure ScoreThe Data-Driven Answer to a New Market Reality.
This indicator quantifies the pressure exerted by Wall Street on the crypto market across four critical dimensions: Risk Appetite, Fear, Liquidity Flows, and the Opportunity Cost of Capital. Our research has found that the correlation between this 4-dimensional pressure vector and crypto price action reaches peak values of 0.87. This is your decisive macro edge, delivered in real-time.
The Irreversible Transformation
A fundamental analysis of the last five years of market data proves an irreversible transformation: The crypto market has matured into a high-beta risk asset, its fate now inextricably linked to Traditional Finance (TradFi).
The empirical data is clear:
Bitcoin increasingly behaves like a leveraged version of the S&P 500.
The correlation to major stock indices is statistically significant and persistent.
The "digital gold" narrative is refuted by the data; the correlation to gold is virtually non-existent.
This means standard technical indicators are no longer sufficient. Tools like RSI or MACD are blind to the powerful, external macro context that now dominates price action. They see the effect, but not the cause.
The Solution: A 4-Dimensional Macro-Lens
The TradFi Pressure Score (TFPS) is the answer. It is an institutional-grade dashboard that aggregates the four most dominant external forces into a single, actionable score:
S&P 500 (SPY): The Pulse of Risk Appetite. A rising S&P signals a "risk-on" environment, fueling capital flows into crypto.
VIX: The Market's Fear Gauge. A rising VIX signals a "risk-off" flight to safety, draining liquidity from crypto.
DXY (US-Dollar Index): The Anchor of Global Liquidity. A strong Dollar (rising DXY) tightens financial conditions, creating powerful headwinds for risk assets like Bitcoin.
US 10Y Yield: The Opportunity Cost of Capital. Rising yields make risk-free assets more attractive, pulling capital away from non-yielding assets like crypto.
What makes the TFPS truly unique?
1. Dynamic Weighting (The Secret Weapon):
Which macro factor matters most right now? Is it a surging Dollar or a collapsing stock market? The TFPS answers this automatically. It continuously analyzes the correlation of all four components to your chosen asset (e.g., Bitcoin) and adjusts their influence in real-time. The dashboard shows you the exact live weights, ensuring you are always focused on the factor that is currently driving the market.
2. Adaptive Engine:
The forces driving a 15-minute chart are different from those driving a daily chart. The TFPS engine automatically recalibrates its internal lookback periods to your chosen timeframe. This ensures the score is always optimally relevant, whether you are a day trader or a swing trader.
3. Designed for Actionable Insights
The Pressure Line: The indicator's core output. Is its value > 0 (tailwind) or < 0 (headwind)? This provides an instant, unambiguous read on the macro environment for your trade.
The Z-Score (The Contrarian Signal): The background "Stress Cloud" and the discrete dots provide early warnings of extreme macro greed or fear. Readings above +2 or below -2 have historically pinpointed moments of market exhaustion that often precede major trend reversals.
Lead/Lag Status: Gain a critical edge by knowing who is in the driver's seat. The dashboard tells you if TradFi is leading the price action or if crypto is moving independently, allowing you to validate your trade thesis against the dominant market force.
This is a public indicator with protected source code
Access is now available for traders who understand the new market reality at the intersection of crypto and traditional finance.
You are among the first to leverage what is a new standard for macro analysis in crypto trading. Your feedback is highly valued as I continue to refine this tool.
Follow for updates and trade with the full context!
EURUSD Kill Zone [Plazo Sullivan Roche Capital]EUR/USD Kil Zone
Core Logic: Navigating the NewโYork KillโZone
The EUR/USD Killzone is designed to exploit repeatable patterns that occur during the overlap of the London and NewโYork trading sessions. Research shows that the NewโYork โkillย zoneโโroughly 07:00โ09:00ย ESTโproduces the most dramatic moves in EURโ and USDโlinked currency pairs
During this window, large institutions often sweep out liquidity resting above or below the Asian and earlyโLondon session extremes , triggering sharp reversals before a new intraday trend emerges. This is in contrast to the single pre-market sweeps occuring for GOLD/
This modeul uses ICT/Smartย Money Concepts to read these patterns and waits for three confirmations before signalling a trade:
Liquidity Sweep & Rejection. Price must spike beyond the combined Asian and earlyโLondon range and then reject that area (a sharp wick and oppositeโcoloured candle), signalling that stops have been cleared. The module defines the Asian range from 00:00โ05:00ย EST and the London range from 02:00โ05:00ย EST, following the guideline that overlapping sessions produce the greatest volatility
Market Structure Break. It then waits for the 5โminute price to close beyond the most recent swing high/low (pivot), confirming that a genuine shift in order flow has occurred rather than a simple stopโrun.
FairโValueโGap (FVG) ReโTest. Upon the break, the script records the high and low of that 5โminute โdisplacementโ candle and defines a fairโvalue gapโthe imbalance between buyers and sellers. Rather than entering immediately, it sets a virtual limit order at the 50ย % level of this gap. A trade is only triggered once price retraces to this midโpoint, providing a highโprobability, highโreward entry.
These three filters help avoid common pitfalls when trading kill zones, such as false breakouts and newsโdriven whipsaws. The indicator also monitors higherโtimeframe bias (4โhour and daily charts) using 50โ and 200โperiod moving averages to gauge whether the intraday signal aligns with the broader trend.
Feature Set
The indicator provides a suite of visual and analytical tools to support disciplined trading:
Session Range Mapping: automatically draws the Asian (00:00โ05:00ย EST) and London (02:00โ05:00ย EST) session highs and lows, making it easy to see when price sweeps these levels.
KillโZone Monitoring: a builtโin timer isolates the 07:30โ09:00ย EST window and limits the indicator to one trade per session to avoid overโtrading.
PivotโBreak Detection: uses 5โminute swing highs/lows to confirm that order flow has shifted before looking for entries.
FairโValueโGap Reโtest: defines an FVG from the displacement candle and waits for a 50ย % retrace before triggering a signal. This improves riskโtoโreward by entering at a discount (for longs) or premium (for shorts).
HigherโTimeframe Dashboard: displays bullish/bearish/neutral biases on the 4โhour and daily charts, plus a confidence rating (0โ2) indicating how many of these timeframes agree with the signal direction.
Alerts: optional alerts can be configured for buyโonly, sellโonly or eitherโdirection signals.
Best Practices for Use
Align with Major Volatility Windows. The indicator is most effective during the NewโYork killย zone. Avoid trading outside this window, and be aware of highโimpact news (e.g., FOMC announcements) that can distort price action
Check HigherโTimeframe Bias. Use the dashboard to ensure the intraday signal aligns with the 4โhour and daily trends. For instance, a long signal that aligns with a bullish daily bias carries higher conviction than one going against it.
Manage Risk Responsibly. Even with multiple filters, no strategy is foolproof. Use stopโloss orders just beyond the liquidity sweep and size positions appropriately.
Combine with Fundamental Awareness. Check your economic calendar for European and U.S. data releases. If an important release occurs during the killย zone, consider standing aside or reducing risk.
Backโtest and ForwardโTest. Always validate the strategy across different market conditions and broker feeds. Pay attention to how spreads, volatility and news events influence the indicator.
Use as Part of a Toolkit. Consider combining the indicator with other confirmation tools such as momentum oscillators, volume analysis or priceโaction patterns to refine entries further. SmartโMoney Concepts often use confluence, not a single signal.
What's in It for You?
The EUR/USD Liquidity Sweep Indicator distils institutional conceptsโliquidity hunts, marketโstructure shifts and fairโvalue gapsโinto an intuitive, automated tool. By waiting for a retrace into the displacement candleโs imbalance, it helps capture trades where riskโtoโreward is skewed strongly in your favour. The dashboard encourages you to trade with the higherโtimeframe trend, and builtโin alerts ensure you never miss an opportunity.
In volatile killโzone environments, discipline and patience are vital. This indicator enforces both: it tracks session ranges, confirms structure, waits for a retrace, and triggers only when multiple conditions align. Coupled with sound risk management and your own judgement, it can become a cornerstone of a highโprobability trading plan.
Always remember that markets evolve. Continue to refine the indicator and your strategy as you gather more experience and data. The learning journey never ends, but this tool is designed to accelerate it.
Advanced ICT Theory - A-ICT๐ Advanced ICT Theory (A-ICT): The Institutional Manipulation Detector
Are you tired of being the liquidity? Stop chasing shadows and start tracking the architects of price movement.
This is not another lagging indicator. This is a complete framework for viewing the market through the lens of institutional traders. Advanced ICT Theory (A-ICT) is an all-in-one, military-grade analysis engine designed to decode the complex language of "Smart Money." It automates the core tenets of Inner Circle Trader (ICT) methodology, moving beyond simple patterns to build a dynamic, real-time narrative of market manipulation, liquidity engineering, and institutional order flow.
AIT provides a living blueprint of the market, identifying high-probability zones, tracking structural shifts, and scoring the quality of setups with a sophisticated, multi-factor algorithm. This is your X-ray into the market's true intentions.
๐ฌ THE CORE ENGINE: DECODING THE THEORY & FORMULAS
A-ICT is built upon a sophisticated, multi-layered logic system that interprets price action as a story of cause and effect. It does not guess; it confirms. Here is the foundational theory that drives the engine:
1. Market Structure: The Blueprint of Trend
The script first establishes a deep understanding of the market's skeleton through multi-level pivot analysis. It uses ta.pivothigh and ta.pivotlow to identify significant swing points.
Internal Structure (iBOS): Minor swings that show the short-term order flow. A break of internal structure is the first whisper of a potential shift.
External Structure (eBOS): Major swing points that define the primary trend. A confirmed break of external structure is a powerful statement of trend continuation. AIT validates this with optional Volume Confirmation (volume > volumeSMA * 1.2) and Candle Confirmation to ensure the break is driven by institutional force, not just a random spike.
Change of Character (CHoCH): This is the earthquake. A CHoCH occurs when a confirmed eBOS happens against the prevailing trend (e.g., a bearish eBOS in a clear uptrend). A-ICT flags this immediately, as it is the strongest signal that the primary trend is under threat of reversal.
2. Liquidity Engineering: The Fuel of the Market
Institutions don't buy into strength; they buy into weakness. They need liquidity. A-ICT maps these liquidity pools with forensic precision:
Buyside & Sellside Liquidity (BSL/SSL): Using ta.highest and ta.lowest, AIT identifies recent highs and lows where clusters of stop-loss orders (liquidity) are resting. These are institutional targets.
Liquidity Sweeps: This is the "manipulation" part of the detector. AIT has a specific formula to detect a sweep: high > bsl and close < bsl . This signifies that institutions pushed price just high enough to trigger buy-stops before aggressively sellingโa classic "stop hunt." This event dramatically increases the quality score of subsequent patterns.
3. The Element Lifecycle: From Potential to Power
This is the revolutionary heart of A-ICT. Zones are not static; they have a lifecycle. AIT tracks this with its dynamic classification engine.
Phase 1: PENDING (Yellow): The script identifies a potential zone of interest based on a specific candle formation (a "displacement"). It is marked as "Pending" because its true nature is unknown. It is a question.
Phase 2: CLASSIFICATION: After the zone is created, AIT watches what happens next. The zone's identity is defined by its actions:
ORDER BLOCK (Blue): The highest-grade element. A zone is classified as an Order Block if it directly causes a Break of Structure (BOS) . This is the footprint of institutions entering the market with enough force to validate the new trend direction.
TRAP ZONE (Orange): A zone is classified as a Trap Zone if it is directly involved in a Liquidity Sweep . This indicates the zone was used to engineer liquidity, setting a "trap" for retail traders before a reversal.
REVERSAL / S&R ZONE (Green): If a zone is not powerful enough to cause a BOS or a major sweep, but still serves as a pivot point, it's classified as a general support/resistance or reversal zone.
4. Market Inefficiencies: Gaps in the Matrix
Fair Value Gaps (FVG): AIT detects FVGsโa 3-bar pattern indicating an imbalanceโwith a strict formula: low > high (for a bullish FVG) and gapSize > atr14 * 0.5. This ensures only significant, volatile gaps are shown. An FVG co-located with an Order Block is a high-confluence setup.
5. Premium & Discount: The Law of Value
Institutions buy at wholesale (Discount) and sell at retail (Premium). AIT uses a pdLookback to define the current dealing range and divides it into three zones: Premium (sell zone), Discount (buy zone), and Equilibrium. An element's quality score is massively boosted if it aligns with this principle (e.g., a bullish Order Block in a Discount zone).
โ๏ธ THE CONTROL PANEL: A COMPLETE GUIDE TO THE INPUTS MENU
Every setting is a lever, allowing you to tune the AIT engine to your exact specifications. Master these to unlock the script's full potential.
๐ฏ A-ICT Detection Engine
Min Displacement Candles: Controls the sensitivity of element detection. How it works: It defines the number of subsequent candles that must be "inside" a large parent candle. Best practice: Use 2-3 for a balanced view on most timeframes. A higher number (4-5) will find only major, more significant zones, ideal for swing trading. A lower number (1) is highly sensitive, suitable for scalping.
Mitigation Method: Defines when a zone is considered "used up" or mitigated. How it works: Cross triggers as soon as price touches the zone's boundary. Close requires a candle to fully close beyond it. Best practice: Cross is more responsive for fast-moving markets. Close is more conservative and helps filter out fake-outs caused by wicks, making it safer for confirmations.
Min Element Size (ATR): A crucial noise filter. How it works: It requires a detected zone to be at least this multiple of the Average True Range (ATR). Best practice: Keep this around 0.5. If you see too many tiny, irrelevant zones, increase this value to 0.8 or 1.0. If you feel the script is missing smaller but valid zones, decrease it to 0.3.
Age Threshold & Pending Timeout: These manage visual clutter. How they work: Age Threshold removes old, mitigated elements after a set number of bars. Pending Timeout removes a "Pending" element if it isn't classified within a certain window. Best practice: The default settings are optimized. If your chart feels cluttered, reduce the Age Threshold. If pending zones disappear too quickly, increase the Pending Timeout.
Min Quality Threshold: Your primary visual filter. How it works: It hides all elements (boxes, lines, labels) that do not meet this minimum quality score (0-100). Best practice: Start with the default 30. To see only A- or B-grade setups, increase this to 60 or 70 for an exceptionally clean, high-probability view.
๐๏ธ Market Structure
Lookbacks (Internal, External, Major): These define the sensitivity of the trend analysis. How they work: They set the number of bars to the left and right for pivot detection. Best practice: Use smaller values for Internal (e.g., 3) to see minor structure and larger values for External (e.g., 10-15) to map the main trend. For a macro, long-term view, increase the Major Swing Lookback.
Require Volume/Candle Confirmation: Toggles for quality control on BOS/CHoCH signals. Best practice: It is highly recommended to keep these enabled. Disabling them will result in more structure signals, but many will be false alarms. They are your filter against market noise.
... (Continue this detailed breakdown for every single input group: Display Configuration, Zones Style, Levels Appearance, Colors, Dashboards, MTF, Liquidity, Premium/Discount, Sessions, and IPDA).
๐ THE INTELLIGENCE DASHBOARDS: YOUR COMMAND CENTER
The dashboards synthesize all the complex analysis into a simple, actionable intelligence briefing.
Main Dashboard (Bottom Right)
ICT Metrics & Breakdown: This is your statistical overview. Total Elements shows how much structure the script is tracking. High Quality instantly tells you if there are any A/B grade setups nearby. Unmitigated vs. Mitigated shows the balance of fresh opportunities versus resolved price action. The breakdown by Order Blocks, Trap Zones, etc., gives you a quick read on the market's recent character.
Structure & Market Context: This is your core bias. Order Flow tells you the current script-determined trend. Last BOS shows you the most recent structural event. CHoCH Active is a critical warning. HTF Bias shows if you are aligned with the higher timeframeโthe checkmark (โ) for alignment is one of the most important confluence factors.
Smart Money Flow: A volume-based sentiment gauge. Net Flow shows the raw buying vs. selling pressure, while the Bias provides an interpretation (e.g., "STRONG BULLISH FLOW").
Key Guide (Large Dashboard only): A built-in legend so you never have to guess. It defines every pattern, structure type, and special level visually.
๐ Narrative Dashboard (Bottom Left)
This is the "story" of the market, updated in real-time. It's designed to build your trading thesis.
Recent Elements Table: A live list of the most recent, high-quality setups. It displays the Type , its Narrative Role (e.g., "Bullish OB caused BOS"), its raw Quality percentage, and its final Trade Score grade. This is your at-a-glance opportunity scanner.
Market Narrative Section: This is the soul of A-ICT. It combines all data points into a human-readable story:
๐ Current Phase: Tells you if you are in a high-volatility Killzone or a consolidation phase like the Asian Range.
๐ฏ Bias & Alignment: Your primary direction, with a clear indicator of HTF alignment or conflict.
๐ Events: A causal sequence of recent events, like "๐ง Sell-side liquidity swept โ
๐ Bullish BOS โ ๐ฏ Active Order Block".
๐ฏ Next Expectation: The script's logical conclusion. It provides a specific, forward-looking hypothesis, such as "๐ Pullback expected to bullish OB at 1.2345 before continuation up."
๐จ READING THE BATTLEFIELD: A VISUAL INTERPRETATION GUIDE
Every color and line is a piece of information. Learn to read them together to see the full picture.
The Core Zones (Boxes):
Blue Box (Order Block): Highest probability zone for trend continuation. Look for entries here.
Orange Box (Trap Zone): A manipulation footprint. Expect a potential reversal after price interacts with this zone.
Green Box (Reversal/S&R): A standard pivot area. A good reference point but requires more confluence.
Purple Box (FVG): A market imbalance. Acts as a magnet for price. An FVG inside an Order Block is an A+ confluence.
The Structural Lines:
Green/Red Line (eBOS): Confirms the trend direction. A break above the green line is bullish; a break below the red line is bearish.
Thick Orange Line (CHoCH): WARNING. The previous trend is now in question. The market character has changed.
Blue/Red Lines (BSL/SSL): Liquidity targets. Expect price to gravitate towards these lines. A dotted line with a checkmark (โ) means the liquidity has been "swept" or "purged."
How to Synthesize: The magic is in the confluence. A perfect setup might look like this: Price sweeps below a red SSL line , enters a green Discount Zone during the NY Killzone , and forms a blue Order Block which then causes a green eBOS . This sequence, visible at a glance, is the story of a high-probability long setup.
๐ง THE ARCHITECT'S VISION: THE DEVELOPMENT JOURNEY
A-ICT was forged from the frustration of using lagging indicators in a market that is forward-looking. Traditional tools are reactive; they tell you what happened. The vision for A-ICT was to create a proactive engine that could anticipate institutional behavior by understanding their objectives: liquidity and efficiency. The development process was centered on creating a "lifecycle" for price patternsโthe idea that a zone's true meaning is only revealed by its consequence. This led to the post-breakout classification system and the narrative-building engine. It's designed not just to show you patterns, but to tell you their story.
โ ๏ธ RISK DISCLAIMER & BEST PRACTICES
Advanced ICT Theory (A-ICT) is a professional-grade analytical tool and does not provide financial advice or direct buy/sell signals. Its analysis is based on historical price action and probabilities. All forms of trading involve substantial risk. Past performance is not indicative of future results. Always use this tool as part of a comprehensive trading plan that includes your own analysis and a robust risk management strategy. Do not trade based on this indicator alone.
่ฆณใฎ็ฎใคใใใ่ฆใฎ็ฎใใใ
"Kan no me tsuyoku, ken no me yowaku"
โ Miyamoto Musashi, The Book of Five Rings
English: "Perceive that which cannot be seen with the eye."
โ Dskyz, Trade with insight. Trade with anticipation.
Nexalgo SMC๐ง SMC (Smart Money Concepts) โ Invite-Only Indicator
The SMC (Smart Money Concepts) indicator for TradingView is a tool that helps visualize price behavior based on institutional concepts and liquidity theory. It provides structural markers and volume-based zones in one script.
๐ง Key Components:
Order Blocks with Volume Metrics
Displays bullish and bearish order blocks along with volume-related information, helping to identify areas of possible accumulation or distribution.
Market Structure Analysis
BOS (Break of Structure)
CHoCH (Change of Character)
CHoCH+ (Extended CHoCH)
EQH/EQL (Equal Highs/Lows)
Imbalance Zones
Highlights price areas with visible inefficiencies between buying and selling pressure.
Premium & Discount Zones
Marks price regions considered relatively expensive (premium) or cheap (discount) based on recent swings.
Previous Highs & Lows
Plots historical key levels that may act as potential reaction zones.
Bullish/Bearish Dashboard
A dashboard summarizing the current directional bias based on structural elements.
Fixed Volume Profile
Displays a volume histogram over price to highlight high and low volume areas.
โ ๏ธ Disclaimer:
This indicator is intended for market analysis purposes only. It does not constitute trading advice or guarantee performance. Users should evaluate all tools based on their own judgment and trading approach.
Stockraft HFT Candlesโก HFT Candle Indicator
๐ง What Are HFT Candles?
HFT (High-Frequency Trading) candles are sharp, fast price movements often created by large algorithmic orders. These candles typically:
Break key highs/lows or liquidity zones
Quickly reverse, trapping retail traders on the wrong side
Signal manipulation or smart money activity
โ
How to Use the Indicator
Spot Liquidity Sweeps
When a candle pierces above recent highs or below recent lows and gets marked by this indicator, it's likely an HFT candle.
These candles usually act as liquidity grabs โ not genuine breakouts.
Wait for Rejection or Confirmation
Do not enter immediately.
Wait for the next candle to show rejection (e.g., pin bar, engulfing) or close back within the previous range.
Trade in the Opposite Direction
HFT candles often trap traders chasing breakouts.
Look to trade in the opposite direction of the HFT candle after confirmation.
Example: If the candle breaks a high and reverses โ look for a short.
If it breaks a low and reverses โ look for a long.
Best Used With Zones
Works best near:
Support/Resistance
Supply/Demand Zones
Session Highs/Lows
News-induced spikes
๐ฏ Purpose
This indicator helps you:
Avoid false breakouts
Understand smart money behavior
Time entries around liquidity grabs
Increase win-rate by trading reversals after traps
MACD-RSI Divergence OscillatorMACD-RSI Divergence Oscillator: Dual Confirmation with Momentum + Divergence Signals
This powerful oscillator combines MACD and RSI into a single normalized visual tool, enriched with automatic divergence detection and smart signal alerts. Itโs designed to give traders advanced insights into momentum shifts and trend reversals.
Key Features:
โข MACD + RSI Combo: Both indicators are scaled and merged into one oscillator for clearer interpretation.
โข Automatic Divergence Detection:
โข Bullish & Bearish divergences on both MACD and RSI
โข Highlights strong divergences when both confirm
โข Trading Signals:
โข Detects MACD crossovers and RSI reversals
โข Smart buy/sell signals based on momentum + divergence
โข Custom Oscillator View:
โข Plots MACD and RSI on the same scale
โข Visual zero-line, overbought/oversold levels, and customizable colors
โข Optional Dashboard Table:
โข Displays live indicator values, signal states, and divergence status
Ideal For:
โข Spotting early trend reversals
โข Confirming trade entries/exits
โข Avoiding false signals using dual indicator logic
Highly customizable and suitable for all timeframes and asset types.
Multi-Session Levels + EMA Crosses + TP Calculator (GBP/USD)# Multi-Session Levels + EMA Crosses + TP Calculator
## ๐ Description
**Advanced trading indicator combining multi-session analysis, EMA cross validation, and automated Take Profit calculations for Forex markets.**
This comprehensive tool integrates session-based level analysis with validated EMA crossovers and intelligent TP calculations, designed specifically for serious traders who need precise entry signals with calculated exit strategies.
## ๐ฏ Key Features
### ๐ **Multi-Session Analysis**
- **Asian Session (6PM-1AM Mexico)**: Generates key support/resistance levels
- **London Session (1AM-6AM Mexico)**: Analyzes manipulation patterns
- **New York Session (8AM-4PM Mexico)**: Dynamic levels with trend confirmation
- **AMD Setup Detection**: Combines all sessions for high-probability setups
### ๐ **Advanced EMA System**
- **4 EMAs**: 8, 13, 21, and 55 periods with visual display
- **Validated Crossovers**: EMA 8 vs EMA 13 with multiple confirmations
- **Smart Filtering**: Only shows signals during optimal trading hours (6AM-12PM Mexico)
### โ
**Triple Validation System**
- **MACD Confirmation**: Histogram strength + signal line position + momentum direction
- **RSI Filter**: Overbought/oversold levels with moving average confirmation
- **Squeeze Momentum**: Bollinger Bands vs Keltner Channels compression detection
### ๐ฐ **Intelligent TP Calculator**
- **ADR-Based Targets**: Uses Average Daily Range for realistic profit expectations
- **ATR Multipliers**: Conservative (1.5x), Aggressive (2.5x), Very Aggressive (3.5x)
- **Session-Aware**: Considers already-traveled distance in NY session
- **Real-Time Table**: Live pip calculations for all TP levels
- **Visual Levels**: Automatic TP lines drawn on chart with color coding
### ๐จ **Smart Alert System**
- **Validated Signals Only**: Alerts trigger only when ALL confirmations align
- **TP Integration**: Alerts include suggested take profit levels
- **Non-Validated Tracking**: Shows basic crosses that don't meet full criteria
## ๐ **Technical Calculations**
### **ADR (Average Daily Range)**
- 20-period average of daily high-low ranges
- Converted to pips for easy interpretation
- Used for percentage-based TP targets (50%, 75%, 100% of ADR)
### **ATR (Average True Range)**
- 14-period ATR from H1 timeframe (configurable)
- Accounts for gaps and volatility
- Base for multiplier-based TP levels
### **Session Tracking**
- Real-time monitoring of NY session range
- Calculates remaining potential movement
- Optimizes TP placement based on session progress
## ๐จ **Visual Elements**
### **Chart Levels**
- **Orange Lines**: Asian and London session levels
- **White/Green/Red Lines**: NY session levels (color changes with trend direction)
- **TP Lines**: Color-coded take profit levels with different styles
### **EMA Display**
- **Blue**: EMA 8 (fastest)
- **Green**: EMA 13 (signal line)
- **Yellow**: EMA 21 (trend filter)
- **Red**: EMA 55 (major trend)
### **Signal Shapes**
- **Bright Triangles**: Fully validated signals
- **Faded Triangles**: Non-validated basic crosses
- **Size Variation**: Signal strength indication
## ๐ **Information Table**
Real-time display showing:
- **TP Levels**: All calculated take profit targets in pips
- **Session Data**: NY range already traveled vs average
- **Volatility Metrics**: Current ATR and ADR values
- **Clean Design**: Easy-to-read format with color coding
## โ๏ธ **Customization Options**
### **Session Times**
- Fully configurable session times
- Mexico City timezone support
- Enable/disable individual session analysis
### **Validation Controls**
- Toggle MACD, RSI, Squeeze validation independently
- Adjust RSI overbought/oversold levels
- Customize MACD and Squeeze parameters
### **Display Options**
- Show/hide EMAs, crosses, TP levels, table
- Customize TP calculation periods (ADR, ATR)
- Choose ATR timeframe for calculations
## ๐ฏ **Ideal For**
- **Forex Day Traders**: Especially USD pairs during NY session
- **Session-Based Strategies**: Traders who respect market sessions
- **Risk Management Focus**: Those who need calculated exit strategies
- **Multi-Timeframe Analysis**: Traders using H1-H4 charts
## ๐ **Best Practices**
1. **Use during high-volume sessions** (London-NY overlap)
2. **Wait for full validation** before entering trades
3. **Consider session context** when setting TPs
4. **Combine with proper risk management** (1-2% per trade)
5. **Backtest thoroughly** before live trading
## โ ๏ธ **Important Notes**
- **Signals work best** during trending market conditions
- **AMD setups** provide highest probability entries
- **TP levels are suggestions** - adjust based on market context
- **Always use stop losses** (not included in this indicator)
- **Designed for Forex markets** - may need adjustment for other instruments
---
*This indicator combines proven technical analysis concepts with modern session-based trading approaches, providing both entry timing and exit planning in one comprehensive tool.*
Imbalance Scanner [Afnan]Identify the most aggressive candles on any chartโinstantly or historicallyโand act before the crowd notices.
๐ฅ What It Does
Four-tier detection system: ๐ก Low โ ๐ Mild โ ๐ด Explosive โ ๐ฅ Super Explosive
Smart filtering: Detects abnormal candle bodies and ranges that signal market imbalances
Volume confirmation: Optional filter ensures moves are backed by institutional-level activity
Directional control: Choose All, Bullish, or Bearish candles to match your trading bias
Pine Scanner optimized: Scan entire watchlists in real-time or historically.
Clean interface: Minimal emoji labels with background highlightingโno chart clutter
โก Quick Setup
1. Load & Configure: Add to chart and open indicator settings
2. Set Detection Level: Choose minimum imbalance strength (Low/Mild/Explosive/Super)
3. Optional Volume Filter: Enable for higher-quality signals with volume confirmation
4. Pine Scanner Setup: Set "Days Back" (0 for live scanning, >0 for historical analysis)
5. Create Alerts: Pre-built alert conditions for each explosive level
๐ฏ Primary Use Cases
Smart Money Detection: Spot where big players are active through explosive price movements
Market Inefficiencies: Find supply/demand imbalances as they develop
Breakout Confirmation: Validate genuine breakouts using explosive candle analysis
Identify momentum acceleration points for optimal timing
๐ Pine Scanner Ready
Fully compatible with TradingView's Pine Scanner for real-time watchlist monitoring and historical analysis.
๐ผ Professional Edge
Built by @AfnanTAjuddin for active traders who need reliable, fast imbalance detection across any market or timeframe. Perfect for day trading, swing trading, and institutional activity tracking.
Dily-weekly CPR @RamlakshmanDaily & Weekly CPR Levels with Multi-MA & Camarilla Bands by @Bull_Bear_Beast
This powerful script is a comprehensive support-resistance and trend structure tool, combining:
๐น Daily & Weekly CPR Levels
Central Pivot Range (CPR) including TC (Top Central), P (Pivot), BC (Bottom Central).
Classic Pivots: R1 / S1.
Previous Dayโs High-Low and Previous Weekโs High-Low lines for accurate market context.
๐ธ Camarilla Bands (H5โH3, L3โL5)
Powerful reversal & breakout zones:
H3 / L3: Reversal Levels.
H4 / L4: SL Zones.
H5 / L5: Extreme Rejection / Trend Continuation Zones.
Visual zone fill between levels for clarity and confluence.
๐ Multi-Moving Averages (MA Cluster)
Up to 3 customizable EMAs and 1 SMA.
Choose from different types: EMA, SMA, WMA, VWMA, ALMA, HMA, RMA, Linear Regression.
Display Bollinger Bands using SMA with custom deviation.
๐ Highlights:
โ
Timeframe-Aware: Daily pivots shown on intraday charts, Weekly pivots on higher timeframes.
โ
Stylish Visuals: Colored zone fills between key levels (H5โH3, L3โL5), CPR ranges, and BB bands.
โ
Modular Display Options: Toggle visibility of EMAs, SMAs, BBs, and labels.
โ
Smart Plotting: Avoids clutter by showing pivots only when relevant.
๐ ๏ธ Best Used For:
Intraday scalping with CPR + Camarilla reversals.
Swing setups using weekly levels for confluence.
Spotting trend vs. consolidation zones via BBs and MAs.
Identifying fake breakouts around L3/H3 and CPR traps.
โ๏ธ User Tips:
Use on 5m to 1H charts for day trading.
Combine with price action, volume profile, or RSI divergence.
Watch for confluence between CPR, Camarilla, and previous highs/lows.
โจ Inspired By:
Floor Pivots, Camarilla Math, Smart Money Concepts, and popular institutional tools โ wrapped into one flexible layout for the modern trader.
๐ง Created by: @Bull_Bear_Beast
If you like it, consider following or sharing feedback for improvements!
Kimchi Premium Dashboard (Final)๐ Kimchi Premium Dashboard (Live & Daily Log)
๐ Summary
This indicator is an all-in-one dashboard that tracks the real-time price difference of USDT (Tether) between a Korean exchange (Upbit) and a global exchange (Coinbase). This difference is commonly known as the "Kimchi Premium" (Kimp) or "Reverse Premium."
Going beyond a simple premium display, this tool is designed to assist with arbitrage and swing trading strategies by providing intuitive visualizations, a smart multi-tier alert system, and a daily data logging feature.
โจ Key Features
Real-time Premium Calculation: Accurately calculates the premium in percentage (%) based on the USDT prices from Upbit and Coinbase, and the live USD/KRW exchange rate.
Intuitive Zone Visualization: Instantly identify whether the premium is in a Buy, Sell, or Neutral zone through dynamic background coloring.
Smart Alert System: Delivers systematic alerts for key events like the initial -2.0% entry, a critical -2.5% breach, and subsequent new lows, all without unnecessary spam. (Can be toggled ON/OFF in settings).
Hybrid Dashboard: Features both a real-time status label and a daily log that records the day's significant low points.
๐ Visual Components Explained
Lines
๐ต Blue Line (Premium Line): This is the core real-time premium value (%). The position of this line is most important.
๐ Orange Line (SMA Line): This is the moving average of the premium. It helps identify the overall trend beyond short-term volatility.
Zones
๐ฉ Green Zone (Buy Zone): This area, typically below -2.0%, indicates a "Reverse Premium" where the Korean price is significantly lower than the global price. It represents a potential buying opportunity for arbitrage.
๐ฅ Red Zone (Kimp Zone): This area, typically above 0%, indicates a "Kimchi Premium" where the Korean price is higher. This represents a potential selling or profit-taking opportunity.
Dashboard
Live Status Label: Located on the right, this label displays the precise premium value, the current zone status (Buy/Sell/Neutral), and the SMA value in real-time.
Today's Lows Log: Located on the left, this table records the time and level of significant lows (below -2.5%) broken during the day. It resets automatically at midnight (UTC).
๐ Alerts & How to Use
This indicator provides a systematic 3-tier alert system designed for arbitrage strategies. (Must be enabled via "Enable Real-time Alerts?" in settings).
โ
Good Opportunity (-2.0%): A one-time alert triggers upon the first entry into the initial buying zone.
๐จ BIG Opportunity (-2.5%): A distinct, high-priority alert triggers when this more critical level is breached.
๐ Granular Tracking (Below -2.5%): Receive alerts for each new low in -0.1% increments for precise tracking during the best opportunities.
A recommended hybrid strategy is to keep alerts off for daily review using the "Today's Lows Log," and turn them on only during critical periods for real-time action.
Disclaimer: The information provided by this indicator is for reference purposes only and does not constitute financial advice. All investment decisions and risks are the sole responsibility of the user.
Time Range Marker By BCB ElevateThe Time Range Marker is a simple yet powerful visual tool for traders who want to focus on specific time intervals within the trading day. This indicator highlights a custom time range on your chart using a background color, helping you visually isolate key trading sessions or event windows such as:
Market open/close hours
News release periods
High-volatility trading zones
Personal strategy testing windows
โ๏ธ Key Features:
Customizable start and end time (hour & minute)
Works across all intraday timeframes
Adjustable highlight color to match your chart theme
Built using Pine Script v5 for speed and flexibility
๐ง Settings:
Start Hour / Minute โ Set the beginning of the time range (in 24-hour format)
End Hour / Minute โ Define when the range ends
Highlight Color โ Choose the background color for better visibility
๐ Timezone Note:
The indicator uses UTC time by default to ensure accuracy across markets. If your broker uses a different timezone (like EST, IST, etc.), the script can be adjusted to reflect your local market hours.
โ
How to Use the Time Range Marker Indicator
This indicator is used to visually highlight a specific time window each trading day, such as:
Market open or close sessions (e.g., NYSE, London, Tokyo)
High-impact news release periods
Custom time slots for strategy testing or scalping
๐ ๏ธ Installation Steps
Open TradingView and go to any chart.
Click on Pine Editor at the bottom of the screen.
Copy and paste the full Pine Script (shared above) into the editor.
Click the โAdd to Chartโ โถ๏ธ button.
The indicator will appear on the chart with a highlighted background during the time range you set.
โ๏ธ How to Customize the Time Range
After adding the indicator:
Click the gear icon โ๏ธ next to the indicatorโs name on the chart.
Adjust the following settings:
Start Hour / Start Minute: The beginning of your time range (in 24-hour format).
End Hour / End Minute: When the highlight should stop.
Highlight Color: Pick a color and transparency for visual clarity.
Click OK to apply changes.
๐ Timezone Consideration
By default, the indicator uses UTC (Coordinated Universal Time).
To match your brokerโs timezone (e.g., EST, IST, etc.), you'll need to adjust the script by changing:
sessStart = timestamp("Etc/UTC", ...)
sessEnd = timestamp("Etc/UTC", ...)
to your correct timezone, like "Asia/Kolkata" for IST or "America/New_York" for EST.
Let me know your broker or local timezone, and Iโll update it for you.
๐ Tips for Traders
Combine this with volume, price action, or breakout indicators to focus your strategy on high-probability time windows.
Use multiple versions of this script if you want to highlight more than one time range in a day.
Sessions with timeframe filter๐ Smart Timeframe Filtering
This session indicator includes an automatic filter that disables all session boxes when the chart timeframe is greater than the user-defined input. This helps keep higher-timeframe charts clean and focused by hiding intraday sessions when theyโre no longer relevant โ especially helpful for multi-timeframe traders.
๐ Features:
๐ฆ Draws up to 3 customizable session boxes with dynamic high/low tracking.
โฑ๏ธ Auto-disables on higher timeframes (Smart Timeframe Filter).
๐ Fully customizable session times, box colors, and time zone (GMT-based).
โก Optimized for performance using lightweight, non-overlapping box logic.
๐จโ๐ณ UI is organized like a chefโs kitchen: clean, intuitive, and easy to navigate. Settings are grouped and filtered to avoid clutter.
โ
Best Use:
This indicator is most useful for intraday traders on 1mโ15m charts.
Itโs designed to keep your workspace clean on 30m+ charts or whatever threshold you define.
Elite Display# ๐ Elite Display - Simple Chart Info with Style
**Never lose track of what you're looking at!**
A clean, fun way to display your asset name, timeframe, and daily performance directly on your chart. Created by ** ** for traders who like their charts both informative and stylish.
## ๐ **What it shows:**
- Asset name (BTCUSDT) or description (Bitcoin/TetherUS)
- Current timeframe (1H, 4H, 1D, etc.)
- Daily % change with green/red colors
**Example:** `BTCUSDT | 1H | +2.45%`
## ๐จ **Make it yours:**
- **60+ separator styles** - From classic `|` to fun emojis ๐๐โก
- **Mood mode** - Separators react to your performance (๐ for gains, ๐ข for losses)
- **Position anywhere** - 9 spots on your chart
- **Custom styling** - Colors, fonts, sizes, bold/italic
## ๐ฏ **Perfect for:**
- Multi-timeframe analysis (never forget which TF you're on!)
- Taking clean screenshots for social media
- Avoiding "wait, what symbol is this?" moments
- Adding a bit of personality to your workspace
## โ๏ธ **Super simple setup:**
1. Add to chart
2. Pick what to show (asset/timeframe/both)
3. Choose your style (classic, fun, or reactive mood)
4. Position it wherever you want
5. Done!
**It's just chart info... but way more fun!** ๐
*Works on all markets: Stocks, Crypto, Forex, Commodities*# ๐ TradingHUD - Your Smart Chart Companion
**Transform your charts with the ultimate context display!** Never lose track of your symbol, timeframe, and performance again. This highly customizable indicator brings personality and clarity to your trading workspace.
## ๐ **Key Features:**
โ
**5 Display Modes:**
- Asset Name (ticker only)
- Full Description (complete name)
- Both combined
- Timeframe Only
- Daily Variation Only
โ
**60+ Separator Styles in 3 Categories:**
- ๐จ **Classic** (15): Professional symbols (|, โข, โ, โ
, etc.)
- ๐ **Fun** (20): Colorful objects (๐, ๐, โก, ๐ฏ, ๐ฐ, etc.)
- ๐ญ **Mood** (40+): Reactive yellow faces!
- ๐ **Happy** (21): ๐๐๐ฅฐ๐๐ฅณ (for green gains)
- ๐ข **Sad** (23): ๐ข๐ญ๐ฅบ๐๐ฉ (for red losses)
โ
**Intelligent Variation Display:**
- Daily % change with smart color coding
- Green/red performance tracking
- Only appears on relevant timeframes (intraday + daily)
- Automatically hidden on weekly/monthly
โ
**Ultimate Customization:**
- 9 positioning options anywhere on chart
- Font families: Default or Monospace
- Bold/italic text formatting
- Custom colors and sizes
- Flexible element ordering
## ๐ญ **Mood Mode Magic:**
Watch your separators celebrate wins with ๐๐ค๐ or empathize with losses using ๐ข๐ญ๐ธ. Toggle this emotional feature on/off anytime!
## ๐ก **Perfect For:**
- Multi-timeframe analysis
- Screenshot documentation with context
- Avoiding symbol confusion
- Real-time performance tracking
- Adding personality to professional charts
- Social media trading posts
## โ๏ธ **Quick Setup:**
1. Add TradingHUD to your chart
2. Select display mode (Asset/Description/Both/etc.)
3. Choose separator style (Classic/Fun/Mood)
4. Position anywhere you want
5. Customize colors, fonts, and formatting
6. Trade with confidence and style!
## ๐ฏ **Live Examples:**
- **Classic**: `BTCUSDT | 1H | +2.45%`
- **Fun**: `AAPL ๐ 4H ๐ -1.23%`
- **Happy Mood**: `Gold ๐ 1D ๐ +3.67%`
- **Sad Mood**: `BTC ๐ข 15min ๐ข -5.12%`
**Professional meets personality. Context meets creativity. This is TradingHUD.** ๐โจ
*Compatible with all markets: Stocks, Crypto, Forex, Commodities, Indices*