Price Action Toolkit | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Price Action Toolkit indicator! Price Action Toolkit integrates key level strategy , traditional supply-demand analysis , and market structures to help traders in their decisions. Now with features that are available to use in multiple timeframes!
Features of the new Price Action Toolkit indicator :
Volumized Fair Value Gaps (FVGs)
Volumized Order & Breaker Blocks
Identification of Market Structures
Equal Highs & Lows
Buyside & Sellside Liquidity
Premium & Discount Zones
MTF Highs & Lows (Daily, Weekly, Monthly, Pre-Market)
Customizable Settings
📌 HOW DOES IT WORK ?
We believe that the analytical elements that are within this indicator work best when they co-exist with each other on the chart. Trading often requires taking multiple elements into consideration for better accuracy on market analysis. Thus, we combined some of the useful strategies in one indicator for ease of use.
1. Volumized Fair Value Gaps
Fair value gaps often occur when there is an imbalance in the market, and can be spotted with a specific formation on the chart.
The volume when the FVG occurs plays an important role when determining the strength of it, so we've placed two bars on the FVG zone, indicating the high & low volumes of the FVG. The high volume is the total volume of the last two bars on a bullish FVG, while the low volume is - of the FVG. For a bearish FVG, the total volume of the last two bars is the low volume. The indicator can also detect FVGs that exist in other timeframes than the current chart.
2. Volumized Order Blocks
Order blocks occur when there is a high amount of market orders exist on a price range. It is possible to find order blocks using specific formations on the chart.
The high & low volume of order blocks should be taken into consideration while determining their strengths. The determination of the high & low volume of order blocks are similar to FVGs, in a bullish order block, the high volume is the last 2 bars' total volume, while the low volume is the oldest bar's volume. In a bearish order block scenerio, the low volume becomes the last 2 bars' total volume.
3. Volumized Breaker Blocks
Breaker blocks form when an order block fails, or "breaks". It is often associated with market going in the opposite direction of the broken order block, and they can be spotted by following order blocks and finding the point they get broken, ie. price goes below a bullish order block.
The volume of a breaker block is simply the total volume of the bar that the original order block is broken. Often the higher the breaking bar's volume, the stronger the breaker block is.
4. Market Structures
Sometimes specific market structures form and break as the market fills buy & sell orders. Formed Change of Character (CHoCH) and Break of Structure (BOS) often mean that market will change direction, and they can be spotted by inspecting low & high pivot points of the chart.
5. Equal Highs & Lows
Equal Highs & Lows occur when there is a significant amount of difference between a candle's close price and it's high / low value, and it happens again in a specific range. EQH and EQL usually mean there is a resistance that blocks the price from going further up / down.
6. Buyside & Sellside Liquidity
Buyside & Sellside Liquidity zones are where most traders place their take-profits and stop-losses in their long / short positions. They are spotted by using high & low pivot points on the chart.
7. Premium & Discount Zones
The premium zone is a zone that is over the fair value of the asset's price, and the discount zone is the opposite. They are formed by the latest high & low pivot points.
8. MTF Highs / Lows
MTF Highs / Lows are actually pretty self-explanatory, you can enable / disable Daily, Weekly, Monthly & Pre-Market Highs and Lows.
🚩UNIQUENESS
Our new indicator offers a comprehensive toolkit for traders, combining multiple analytical elements with customizable settings to aid in decision-making across different market conditions and timeframes. The volumetric information of both FVGs and Order & Breaker Blocks will be present in your chart to serve you greater detail about them. The indicator also efficiently identifies market structures, liquidity zones and premium & discount zones to give you an insight about the current state of the market. And finally with the use of multiple timeframes , you can easily take a look at the bigger picture. We recommend reading the "How Does It Work" section of the descripton to get a better understanding about how this indicator is unique to others.
⚙️SETTINGS
1. General Configuration
Show Historic Zones -> This will show historic Fair Value Gaps, Order & Breaker Blocks and Sellside & Buyside liquidities which are expired.
2. Fair Value Gaps
Enabled -> Enables / Disables Fair Value Gaps
Volumetric Info -> The volumetric information of the FVG Zones will be rendered if activated.
Zone Invalidation -> Select between Wick & Close price for FVG Zone Invalidation.
Zone Filtering -> With "Average Range" selected, algorithm will find FVG zones in comparison with average range of last bars in the chart. With the "Volume Threshold" option, you may select a Volume Threshold % to spot FVGs with a larger total volume than average.
FVG Detection -> With the "Same Type" option, all 3 bars that formed the FVG should be the same type. (Bullish / Bearish). If the "All" option is selected, bar types may vary between Bullish / Bearish.
Detection Sensitivity -> You may select between Low, Normal or High FVG detection sensitivity. This will essentially determine the size of the spotted FVGs, with lower sensitivies resulting in spotting bigger FVGs, and higher sensitivies resulting in spotting all sizes of FVGs.
3. Order Blocks
Enabled -> Enables / Disables Order Blocks
Volumetric Info -> The volumetric information of the Order Blocks will be rendered if activated.
Zone Invalidation -> Select between Wick & Close price for Order Block Invalidation.
Swing Length -> Swing length is used when finding order block formations. Smaller values will result in finding smaller order blocks.
4. Breaker Blocks
Enabled -> Enables / Disables Breaker Blocks
Volumetric Info -> The volumetric information of the Breaker Blocks will be rendered if activated.
Zone Invalidation -> Select between Wick & Close price for Breaker Block Invalidation.
5. Timeframes
You can set and enable / disable up to 3 timeframes. Note that only higher timeframes than the current chart will work.
6. Market Structures
Break Of Structure ( BOS ) -> If the current structure of the market is broken in a bullish or bearish direction, it will be displayed.
Change Of Character ( CHoCH ) -> If the market shifts into another direction, it will be displayed.
Change Of Character+ ( CHoCH+ ) -> This will display stronger Change Of Characters if enabled.
7. Equal Highs & Lows
EQH -> Enables / Disables Equal Highs.
EQL -> Enables / Disables Equal Lows.
ATR Multiplier (0.1 - 1.0) -> Determines the maximum difference between highs / lows to be considered as equal. Lower values will result in more accurate results.
8. Buyside & Sellside Liquidity
Zone Width -> Determines the width of the liquidity zones, 1 = 0.025%, 2 = 0.05%, 3 = 0.1%.
9. Premium & Discount Zones
Enabled -> Enables / Disables Premium & Discount Zones.
10. MTF Highs / Lows
You can enable / disable Daily, Weekly, Monthly & Pre-Market Highs and Lows using this setting. You can also switch their line shapes between solid, dashed and dotted.
Cari dalam skrip untuk "fvg"
Price Action SuiteThe TRN Price Action Suite incorporates a treasure trove of time and price action concepts. It includes a set of trading tools that, when combined, allow for a more accurate view of the market. This enables traders to find high probability entry points before the market moves to the next liquidation level.
Features of the TRN Price Action Suite:
(Inverse) Fair Value Gaps (FVG)
Order Blocks (OB)
FVG and OB with Cumulative Volume Delta
Volume Imbalances
Market Structure
Liquidity levels
Sessions
Kill zones/Opening Range
The indicator helps traders to easily identify favorable market conditions and high probability trade setups. It automatically finds time and price action concepts and displays them in an intuitive way on the chart. One of the highlights is the detection of Fair Value Gaps and Order Blocks in connection with Cumulative Volume Delta (approx.). You will not find this connection anywhere else.
Fair Value Gaps (FVGs)
A fair value gap occurs when there are inefficiencies in the market or imbalanced buying and selling pressures. Fair value gaps can become a magnet for the price before continuing in the same direction. Special attention should be paid to FVGs that are supported by support and resistance levels, as these offer a higher probability of success for trades. Additionally, the indicator plots inverse FVG (iFVG). These are FVG that are “closed” by a FVG in the other direction. IFVGs are a strong sign of the market to continue in the direction of the iFVG.
In addition to the FVGs you see on the chart, you can add also FVGs from a higher timeframe including the cumulative buy/sell volume. For this you can set “Timeframe 1” and “Timeframe 2” in the settings to your preferred timeframes. E.g. you trade on a 5-minute chart, and you want to see FVGs from 4 hours and a daily chart, then you set Timeframe 1 to 4 h and to Timeframe 2 to 1 D.
Order Blocks and Volume Imbalances can also be shown from higher timeframes.
Order Blocks (OBs)
Order blocks are areas on the chart where a high concentration of limit orders was found in the past. They can serve as potential support or resistance areas. These represent areas in the market where there is an oversupply (supply) or an excess demand (demand). They are often key zones for potential turning points or continuations of the current trend. A bullish OB, for example, is the last bearish candle before a significant uptrend.
FVGs and OBs with Cumulative Volume Delta
The TRN Price Action Suite can show FVGs and OBs with the corresponding Cumulative Volume Delta (CVD). It is a metric to analyze market dynamics by tracking the net difference between buying and selling volumes over a specific timeframe. It is used to determine the strength of the FVG/OB. The FVG/OB includes two bars on the left side, indicating the cumulative buy volume in green as well es the cumulative sell volume in red. At the right side of the FVG/OB box the ratio of the cumulative buy/sell volume is displayed. A high ratio over 1, for example 1.5, indicates a lot of buying pressure. On the hand, a ratio far below 1, for example 0.66, indicates a lot of selling pressure.
Volume Imbalances (VIBs)
Volume Imbalances indicate a price gap from the previous close, but unlike gaps, there is no absence of trading activity within a specific price range. Bullish VIs have opening and closing prices above the previous close, with overlap between the current low and previous high. Bearish VIs are vice versa.
Market Structure
The market structure represents the dominant trend in the market. It is based on swing highs and lows. For instance, if the price makes higher highs (HH) and higher lows (HL) the market structure represents an uptrend. Vice versa if price makes lower lows (LL) and lower highs (LH) the market trend is down.
If the market structure is up, traders can enter positions in a pullback. For this, a trader could use a FVG or an OB as an entry condition.
Market Structure Shift (MSS) (Change of Character (ChoCh))
A market structure shift occurs when the market transitions from one dominant trend to a different one, often signaling a potential change in the underlying market dynamics. A MSS signals the start of a new trend. It signals the change from an uptrend to a down trend and vice versa. Therefore, it is sometimes called change of character (ChoCh). A valid MSS should ideally occur in a strong supply or demand zone. This indicates that the market may be approaching a trend reversal or consolidation.
Break of Structure (BOS)
A break of structure happens when the market breaks out of its established trading range or pattern. The market continues its dominant trend, indicated by the last MSS.
In an uptrend, for example, each time the price breaks through a new high, a "bullish BOS" is formed. This indicates that the market can overcome previous resistance levels and continue to rise.
Levels
One core concept in trading is that price flows to areas of liquidity. Natural liquidity areas are the current day open, high, low (CDO, CDH, CDL) or the previous day high, low, close (PDH, PDL, PDC). The same is true for the current week (CWO, CWH, CWL) and the previous week (PWH, PWL, PWC).
Pay special attention in case some of these levels are close together. Then these levels serve like a magnet for the price. The TRN Price Action Suite indicator can cluster these levels fully automatically together to give the trader the flexibility to focus solely on the trading part.
Sessions
Sessions are the trading hours during which the banks are actively trading. The three main trading sessions:
Asia: Most of the volume from the Asian players are handled within this session.
London: This is where the European players are most active.
New York: In the New York session all the USA players are active as well as all the other American players. Furthermore, a lot of global players are active in this session as well.
Killzones
A kill zone in trading refers to a specific time period during the trading day when the market experiences increased volatility and liquidity. It is an opportunity for traders to capitalize on potential price movements and generate profits. There are several different killzones during the day.
There are three different types of killzones:
Indices/Futures: This one is suitable if you trade products like the ES, NQ, FDAX, CL or Stocks, Options.
Forex: If you trade Forex this setting will mark the most liquid periods of the day.
Opening Range: In case you trade the opening range of the sessions, use this setting.
Trading Example
Мой скрипт// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © Mistab1009
//@version=6
indicator("MistaB SMC Navigation Toolkit", overlay=true, max_boxes_count=200)
// === USER INPUTS ===
extendBars = input.int(250, "Box Extension", group="Order Blocks")
opacity = input.int(75, "Box Opacity", group="Order Blocks")
showMidLine = input.bool(true, "Show Midline", group="Order Blocks")
bullColor = input.color(color.green, "Bullish OB Color", group="Order Blocks")
bearColor = input.color(color.red, "Bearish OB Color", group="Order Blocks")
useFractalSwings = input.bool(true, "Use Fractal Swings for OBs", group="Order Blocks")
useDisplacement = input.bool(true, "Require Displacement Candle", group="Order Blocks")
useHighVol = input.bool(true, "Require High Volume", group="Order Blocks")
obBuffer = input.float(0.0, "OB Buffer (points)", step=0.05, group="Order Blocks")
volLength = input.int(21, "Volume MA Length", group="Order Blocks")
volMultiplier = input.float(1.01, "Volume Multiplier", step=0.01, group="Order Blocks")
displacementMultiplier = input.float(1.0, "Displacement Multiplier", minval=0.5, maxval=1.0, step=0.05, group="Order Blocks")
lineExtendLength = input.int(20, "Structure Line Length", group="Structure")
showOB = input.bool(true, "Show Order Blocks", group="Order Blocks")
showFVG = input.bool(true, "Show Fair Value Gaps", group="FVG")
cleanupDelay = input.int(20, "Cleanup Delay (bars)", minval=1, group="Cleanup Settings")
fastCleanup = input.bool(false, "Fast Cleanup Mode", group="Cleanup Settings")
brokenColor = input.color(color.gray, "Broken OB/FVG Color", group="Cleanup Settings")
// Market Structure dimming
msDimOpacity = input.int(70, "Dimmed Structure/FVG Opacity (HTF mismatch)", minval=0, maxval=100, group="Structure")
// Premium/Discount Zones
showZones = input.bool(true, "Show Premium/Discount Zones", group="Premium/Discount Zones")
premiumColor = input.color(color.red, "Premium Zone Color", group="Premium/Discount Zones")
discountColor = input.color(color.green, "Discount Zone Color", group="Premium/Discount Zones")
// FVG Colors
bullish_fvg_color = input.color(color.new(color.green, 70), "Bullish FVG Color", group="FVG")
bearish_fvg_color = input.color(color.new(color.red, 70), "Bearish FVG Color", group="FVG")
// HTF Confirmation
confirmationTF = input.timeframe("60", "HTF Confirmation TF", group="HTF Confirmation")
requireHTF = input.bool(true, "Require HTF Alignment", group="HTF Confirmation")
// === ARRAYS ===
var box bullOBs = array.new_box()
var box bearOBs = array.new_box()
var line bullLines = array.new_line()
var line bearLines = array.new_line()
var int brokenTimestampsBull = array.new_int()
var int brokenTimestampsBear = array.new_int()
// === FRACTAL LOGIC ===
useFractal = input.string("5", "Fractal Type", options= , group="Structure")
fractalOffset = useFractal == "5" ? 2 : useFractal == "3" ? 1 : na
isSwingHigh = useFractal != "None" and not na(fractalOffset) and high > high and high > high and (useFractal != "5" or (high > high and high > high ))
isSwingLow = useFractal != "None" and not na(fractalOffset) and low < low and low < low and (useFractal != "5" or (low < low and low < low ))
// === OPPOSITE CANDLE FINDER ===
f_findOppositeCandle(_bull) =>
int retIndex = na
float retHigh = na
float retLow = na
for i = 1 to 50
bool isOpp = _bull ? (open > close ) : (close > open )
if isOpp
retIndex := bar_index - i
retHigh := high
retLow := low
break
// === HTF STRUCTURE DETECTION ===
htfTrendUp = request.security(syminfo.tickerid, confirmationTF, close > ta.sma(close, 20))
htfBullOB = request.security(syminfo.tickerid, confirmationTF, isSwingLow)
htfBearOB = request.security(syminfo.tickerid, confirmationTF, isSwingHigh)
// === HTF STATUS LABEL ===
var label htfLabel = na
var string htfTxt = ""
var color htfCol = color.gray
if barstate.islast
if not requireHTF
htfTxt := "HTF: Not Required"
htfCol := color.gray
else
if htfTrendUp
htfTxt := "HTF: Bullish ✅"
htfCol := color.green
else
htfTxt := "HTF: Bearish ✅"
htfCol := color.red
if na(htfLabel)
htfLabel := label.new(bar_index, high, text=htfTxt, style=label.style_label_left, textcolor=color.white, color=htfCol)
else
label.set_xy(htfLabel, bar_index, high)
label.set_text(htfLabel, htfTxt)
label.set_color(htfLabel, htfCol)
// === CLEANUP FUNCTION ===
f_cleanOB(_boxes, _lines, _timestamps, _isBull) =>
sz = array.size(_boxes)
if sz > 0
for i = sz - 1 to 0
b = array.get(_boxes, i)
l = array.get(_lines, i)
top = box.get_top(b)
bottom = box.get_bottom(b)
_broken = _isBull ? (close < bottom) : (close > top)
expired = bar_index - box.get_left(b) > extendBars
if _broken
if fastCleanup
box.delete(b)
if not na(l)
line.delete(l)
array.remove(_boxes, i)
array.remove(_lines, i)
if array.size(_timestamps) > i
array.remove(_timestamps, i)
continue
else
if array.size(_timestamps) <= i
array.push(_timestamps, bar_index)
else
array.set(_timestamps, i, bar_index)
box.set_bgcolor(b, color.new(brokenColor, opacity))
if not na(l)
line.set_color(l, brokenColor)
if expired or (array.size(_timestamps) > i and bar_index - array.get(_timestamps, i) >= cleanupDelay)
box.delete(b)
if not na(l)
line.delete(l)
array.remove(_boxes, i)
array.remove(_lines, i)
if array.size(_timestamps) > i
array.remove(_timestamps, i)
// === OB DETECTION ===
isDisplacementBull = close - open > ta.atr(14) * displacementMultiplier
isDisplacementBear = open - close > ta.atr(14) * displacementMultiplier
isHighVolume = volume > ta.sma(volume, volLength) * volMultiplier
if showOB and isSwingLow and bar_index > fractalOffset + 2
ok = (not useDisplacement or isDisplacementBull) and (not useHighVol or isHighVolume)
htfOK = not requireHTF or (htfTrendUp and htfBullOB)
= f_findOppositeCandle(true)
if ok and htfOK and not na(idxB)
hiB += obBuffer
loB -= obBuffer
array.push(bullOBs, box.new(left=idxB, top=hiB, right=bar_index + extendBars, bottom=loB, bgcolor=color.new(bullColor, opacity), border_color=bullColor, xloc=xloc.bar_index))
array.push(bullLines, showMidLine ? line.new(x1=idxB, y1=(hiB+loB)/2, x2=bar_index + extendBars, y2=(hiB+loB)/2, color=bullColor, style=line.style_dashed, xloc=xloc.bar_index) : na)
if showOB and isSwingHigh and bar_index > fractalOffset + 2
ok = (not useDisplacement or isDisplacementBear) and (not useHighVol or isHighVolume)
htfOK = not requireHTF or (not htfTrendUp and htfBearOB)
= f_findOppositeCandle(false)
if ok and htfOK and not na(idxS)
hiS += obBuffer
loS -= obBuffer
array.push(bearOBs, box.new(left=idxS, top=hiS, right=bar_index + extendBars, bottom=loS, bgcolor=color.new(bearColor, opacity), border_color=bearColor, xloc=xloc.bar_index))
array.push(bearLines, showMidLine ? line.new(x1=idxS, y1=(hiS+loS)/2, x2=bar_index + extendBars, y2=(hiS+loS)/2, color=bearColor, style=line.style_dashed, xloc=xloc.bar_index) : na)
f_cleanOB(bullOBs, bullLines, brokenTimestampsBull, true)
f_cleanOB(bearOBs, bearLines, brokenTimestampsBear, false)
// === MARKET STRUCTURE ===
var float lastHigh = na
var float lastLow = na
var bool trendUp = false
var bool prevTrendUp = false
if useFractal != "None" and bar_index > fractalOffset + 2
if isSwingHigh
swingHigh = high
if not na(lastHigh)
prevTrendUp := trendUp
trendUp := swingHigh > lastHigh
colorLine = trendUp ? color.green : color.red
structIsBull = trendUp
htfMatches = not requireHTF or (structIsBull and htfTrendUp) or (not structIsBull and not htfTrendUp)
colorUsed = htfMatches ? colorLine : color.new(colorLine, msDimOpacity)
txt = trendUp ? (prevTrendUp ? "HH BoS" : "HH CHoCH") : (prevTrendUp ? "LH CHoCH" : "LH BoS")
label.new(bar_index - fractalOffset - 1, swingHigh, text=txt, style=label.style_label_down, color=colorUsed, textcolor=color.white, size=size.small)
line.new(x1=bar_index - fractalOffset - 1, y1=swingHigh, x2=bar_index - fractalOffset - 1 + lineExtendLength, y2=swingHigh, color=colorUsed, width=1, xloc=xloc.bar_index)
lastHigh := swingHigh
if isSwingLow
swingLow = low
if not na(lastLow)
prevTrendUp := trendUp
trendUp := swingLow > lastLow
colorLine = trendUp ? color.green : color.red
structIsBull = trendUp
htfMatches = not requireHTF or (structIsBull and htfTrendUp) or (not structIsBull and not htfTrendUp)
colorUsed = htfMatches ? colorLine : color.new(colorLine, msDimOpacity)
txt = trendUp ? (prevTrendUp ? "HL BoS" : "HL CHoCH") : (prevTrendUp ? "LL CHoCH" : "LL BoS")
label.new(bar_index - fractalOffset - 1, swingLow, text=txt, style=label.style_label_up, color=colorUsed, textcolor=color.white, size=size.small)
line.new(x1=bar_index - fractalOffset - 1, y1=swingLow, x2=bar_index - fractalOffset - 1 + lineExtendLength, y2=swingLow, color=colorUsed, width=1, xloc=xloc.bar_index)
lastLow := swingLow
// === FVG LOGIC ===
var box bullish_fvg_boxes = array.new_box()
var label bullish_labels = array.new_label()
var box bearish_fvg_boxes = array.new_box()
var label bearish_labels = array.new_label()
var int bullFvgTimestamps = array.new_int()
var int bearFvgTimestamps = array.new_int()
if showFVG and bar_index >= 2
if low > high // Bullish FVG
htfMatches = not requireHTF or htfTrendUp
colorUsed = htfMatches ? bullish_fvg_color : color.new(bullish_fvg_color, msDimOpacity)
b = box.new(left=bar_index - 2, top=low, right=bar_index, bottom=high , bgcolor=colorUsed, border_color=na, extend=extend.right, xloc=xloc.bar_index)
array.push(bullish_fvg_boxes, b)
l = label.new(x=bar_index + 20, y=(low + high ) / 2, text="FVG", style=label.style_label_left, color=na, textcolor=color.green, xloc=xloc.bar_index)
array.push(bullish_labels, l)
if high < low // Bearish FVG
htfMatches = not requireHTF or not htfTrendUp
colorUsed = htfMatches ? bearish_fvg_color : color.new(bearish_fvg_color, msDimOpacity)
b = box.new(left=bar_index - 2, top=low , right=bar_index, bottom=high, bgcolor=colorUsed, border_color=na, extend=extend.right, xloc=xloc.bar_index)
array.push(bearish_fvg_boxes, b)
l = label.new(x=bar_index + 20, y=(low + high) / 2, text="FVG", style=label.style_label_left, color=na, textcolor=color.red, xloc=xloc.bar_index)
array.push(bearish_labels, l)
// === FVG Cleanup ===
f_cleanFVG(_boxes, _labels, _timestamps, _isBull) =>
sz = array.size(_boxes)
if sz > 0
for j = sz - 1 to 0
b = array.get(_boxes, j)
l = array.get(_labels, j)
bool filled = _isBull ? (bar_index > (box.get_left(b) + 1) and close < box.get_bottom(b)) : (bar_index > (box.get_left(b) + 1) and close > box.get_top(b))
if filled
if fastCleanup
box.delete(b)
label.delete(l)
array.remove(_boxes, j)
array.remove(_labels, j)
if array.size(_timestamps) > j
array.remove(_timestamps, j)
continue
if array.size(_timestamps) <= j
array.push(_timestamps, bar_index)
box.set_bgcolor(b, color.new(brokenColor, opacity))
label.set_textcolor(l, brokenColor)
if array.size(_timestamps) > j and bar_index - array.get(_timestamps, j) >= cleanupDelay
box.delete(b)
label.delete(l)
array.remove(_boxes, j)
array.remove(_labels, j)
array.remove(_timestamps, j)
f_cleanFVG(bullish_fvg_boxes, bullish_labels, bullFvgTimestamps, true)
f_cleanFVG(bearish_fvg_boxes, bearish_labels, bearFvgTimestamps, false)
// === PREMIUM / DISCOUNT ZONES ===
var box premBox = na
var box discBox = na
mid = (lastHigh + lastLow) / 2
if showZones and not na(mid) and not na(lastHigh) and not na(lastLow)
if not na(premBox)
box.delete(premBox)
if not na(discBox)
box.delete(discBox)
premBox := box.new(left=bar_index - 10, right=bar_index, top=lastHigh, bottom=mid, bgcolor=color.new(premiumColor, 85), border_color=na, xloc=xloc.bar_index)
discBox := box.new(left=bar_index - 10, right=bar_index, top=mid, bottom=lastLow, bgcolor=color.new(discountColor, 85), border_color=na, xloc=xloc.bar_index)
Trident Pattern [SpeculationLab]This indicator is based on the increasingly popular Trident strategy, and is best suited for the 30-minute timeframe. It performs particularly well on naturally bullish instruments such as gold, Bitcoin, and Nasdaq.All components of this indicator are original work by Speculation Lab.
Rather than stacking random features, this script is designed as a modular structure where each part works in synergy to build the Trident logic.
🔧 Modules Included:
Session Highlight — Visual display of the London Kill Zone
5 Customizable EMAs — Fully adjustable length, color, and toggling
Bullish Fair Value Gap (FVG) detection
Four types of Doji candlestick recognition
🧫 Logic Breakdown:
1. Time Session Filter
By default, the indicator highlights the London Kill Zone, defined as 03:00–06:30 New York time.Users can freely adjust the time zone, time range, and background color, with preconfigured zones including New York, London, Tokyo, Shanghai, and Sydney.
⚠️ Note: To maintain flexibility, the London Kill Zone is not enforced as a mandatory entry condition.
Users may apply it as an optional filter based on their own trading style.
2. 5 EMA Trend Filter
The script uses a five-EMA structure to confirm market trend.The default EMA lengths are 5, 9, 13, 21, and 200.A valid entry requires:
EMAs 5, 9, 13, 21 stacked in descending order
AND the 1-hour close is above EMA(200)
All EMAs are fully customizable and can be toggled on/off.
3. Bullish Fair Value Gap (FVG)
Bullish FVGs are detected using a 3-bar logic, from high to low .To filter noise, the gap must be greater than 0.7 × ATR(14) by default.Both the ATR period and multiplier are adjustable.
The FVG Extend setting has two roles:
It controls how many bars the FVG box extends to the right (default: 20)
It defines the active window for confirming entries within the FVG zone
Users can fully customize the box color, text, and center line.
4. Doji Detection
The script detects four types of Doji candlesticks:
Standard Doji
Long-legged Doji
Dragonfly Doji
Gravestone Doji
The Body Ratio setting controls how small the candle body must be relative to the full range (default ≤ 0.1).Long Wick Ratio and Short Wick Ratio further help fine-tune wick length criteria.
✅ Entry Signal Logic:
A Trident entry is confirmed when all the following conditions are met:
Trend Filter Passes
EMAs are stacked: 5 > 9 > 13 > 21
1H close is above EMA(200)
A Doji candle appears inside an active FVG zone
The next candle closes below the Doji’s high
If all conditions are satisfied, a Trident signal is triggered at the close of the confirming candle.
⚠️ Disclaimer
This indicator is intended for educational and research purposes only. It does not constitute financial advice or trading signals.Trading involves high risk. Please act according to your own risk management.Speculation Lab and the author bear no responsibility for any financial outcomes resulting from the use of this script.
本指标基于近年来日益流行的 Trident(三叉戟)策略,推荐使用在 30分钟时间框架,尤其适用于黄金、比特币、纳斯达克等具有自然上涨倾向的交易品种。本指标由 Speculation Lab 原创开发,结构严谨,逻辑清晰。
本指标采用模块化设计,各部分功能相辅相成,共同构建三叉戟策略逻辑,而非杂乱堆砌。
🔧 指标包含以下功能模块:
交易时段高亮 — 默认显示 伦敦杀戮区
五条可调节 EMA 均线 — 长度与颜色可自定义,模块可单独开关
看涨 Fair Value Gap(公平价值缺口)检测
四种 Doji(十字星)K线形态识别
🧫 逻辑说明:
1. 交易时段过滤
默认高亮显示的伦敦杀戮区为 纽约时间03:00–06:30。用户可自由调整 参考时区、具体时段和 背景颜色,支持预设时区包括纽约、伦敦、东京、上海和悉尼。
⚠️ 说明:为保持策略灵活性,伦敦杀戮区并非强制入场条件。
是否采用此过滤,可由用户自行决定。
2. 趋势过滤(五条EMA)
该指标采用五条 EMA 来确认市场趋势。默认长度为 5、9、13、21、200。入场信号要求满足以下条件:
EMA 5、9、13、21 从上到下依次排列(多头排列)
且 1小时图上的收盘价高于 EMA200
所有均线均可单独启用/关闭,长度与颜色均可自定义。
3. 看涨 FVG 区域识别
FVG 使用 3 根K线结构进行检测,从 high 到 low 。默认要求缺口 大于等于 0.7 × ATR(14),以过滤微小无效缺口。ATR周期与乘数均可自定义设置。
“FVG Extend”参数有两个作用:
控制图表上 FVG 区域箱体的右延伸长度(默认20根K线)
用作 FVG 活跃期的判断标准,仅在此区间内出现的 Doji 才会被视为有效信号触发条件
用户可自由设置 FVG 的背景颜色、文字样式与中线颜色。
4. Doji(十字星)识别
支持以下四种常见 Doji 形态识别:
标准十字星
长腿十字星
蜻蜓线(下影线长)
墓碑线(上影线长)
“Body Ratio” 控制实体占K线全长的比例,默认不超过0.2。“Long Wick Ratio” 与 “Short Wick Ratio” 可进一步调节影线长度识别标准。
✅ 入场信号逻辑:
符合以下所有条件时,触发三叉戟入场信号:
趋势过滤通过
EMA 依次排列为 5 > 9 > 13 > 21
且 1小时收盘价高于 EMA200
在 FVG 区域内出现有效 Doji 十字星
下一根K线收盘价 低于 Doji 的最高价
若以上条件均满足,则在确认K线收盘时触发三叉戟入场信号。
⚠️ 免责声明 Disclaimer
本指标旨在提供技术分析工具,仅用于教育与研究目的,不构成任何投资建议或交易指令。交易具有高风险,请根据自身风险承受能力合理操作。使用本脚本所导致的任何盈亏,作者与 Speculation Lab 不承担任何责任。
cd_full_poi_CxOverview
This indicator tracks the price in 16 different time frames (optional) in order to answer the question of where the current price has reacted or will react.
It appears on the chart and in the report table when the price approaches or touches the fvg or mitigations (order block / supply-demand), the rules of which will be explained below.
In summary, it follows the fvg and mitigations in the higher timeframe than the lower timeframe.
Many traders see fvg or mitigates as an point of interest and see the high, low swept in those zones as a trading opportunity. Key levels, Session high/lows and Equal high and lows also point of interest.
If we summarise the description of the point of interest ;
1- Fair value gaps (FVG) (16 time frames)
2- Mitigation zones (16 time frames)
3- Previous week, day, H4, H1 high and low levels
4- Sessions zones (Asia, London and New York)
5- Equal high and low levels are in indicator display.
Details:
1- Fair Value Gaps : It is simply described as a price gap and consists of a series of 3 candles. The reaction of the price to the gap between the 1st and 3rd candle wicks is observed.
The indicator offers 3 options for marking. These are :
1-1- ‘Colours are unimportant’: candle colours are not considered for marking. Fvg formation is sufficient.(Classical)
1-2- ‘First candle opposite colour’ : when a price gap occurs, the first candle of a series of 3 candles must be opposite.
For bullish fvg : bearish - bullish - free
For Bearish fvg : bullish - bearish - free
1-3- ‘All same colour’ : all candles in a series of 3 candles must be the same direction.
For bullish fvg: bullish - bullish - bullish
For bearish fvg : bearish - bearish – bearish
Examples:
2- Mitigation zones: Opposite candles with a fvg in front of them or candles higher/lower than the previous and next candle and with the same colour as the fvg series are marked.
Examples :
3- Previous week, day, H4, H1 high and low levels
4- Sessions regions (Asia, London and New York)
5- Equal high and low levels:
Annotation: Many traders want to see a liquidity grab on the poi, then try to enter the trade with the appropriate method.
Among the indicators, there is also the indication of grabs/swepts that occur at swing points. It is also indicated when the area previously marked as equal high/low is violated (grab).
At the end, sample setups will be shown to give an idea about the use of the indicator.
Settings:
- The options to be displayed from the menu are selected by ticking.
- 1m, 2m, 3m, 5m, 5m, 10m, 15m, 30m, h1, h4, h4, h6, h8, h12, daily, weekly, monthly and quarterly, 16 time zones in total can be displayed.
- The ‘Collapse when the price touches mitigate’ tab controls whether to collapse the box as the price moves into the inner region of the mitigate. If not selected, the size of the mitigate does not change.
- ‘Approach limit =(ATR / n)’ tab controls how close the price is to the fvg or mitigate. Instant ATR(10) value is calculated by dividing by the entered ‘n’ value.
- All boxes and lines are automatically removed from the screen when the beyond is closed.
- Colour selections, table, text features are controlled from the menu.
- Sessions hours are set as standard hours, the user can select special time zones. Timezone is set to GMT-4.
- On the candle when the price touches fvg or mitigate, the timeframe information of the POI is shown in the report table together with the graphical representation.
The benefits and differences :
1- We can evaluate the factors we use for setup together.
2- We are aware of what awaits us in the high time frame in the following candles.
3- It offers the user the opportunity to be selective with different candle selection options in fvg selection.
4- Mitige areas are actually unmitige areas because they have a price gap in front of them. The market likes to retest these areas.
5- Equal high/low zones are the levels that the price creates to accumulate liquidity or fails to go beyond (especially during high volume hours). Failure or crossing of the level may give a reversal or continuation prediction.
Sample setup 1:
Sample setup 2:
Sample setup 3:
Cheerful trades…
Enjoy…
Radi IQ [TradingIQ]Introducing "Radi IQ".
Radi IQ is a comprehensive market structure indicator designed to provide traders with a detailed view of key price levels and market behavior. It combines several analytical methods—including internal and external structure analysis, fair value gaps, order blocks, breaker blocks, rejection blocks, premium discount zones, equal levels, directional liquidity grabs, and trend meters —to help users better understand areas of support and resistance, potential turning points, and liquidity events in the market.
Key Components and Their Functions
Market Structure Analysis
Internal and External Structure : The indicator evaluates market structure on two levels. The internal analysis focuses on immediate price action (e.g., recent support/resistance and swing points), while the external analysis uses a higher timeframe to provide context. This dual approach helps to confirm the strength of key levels by comparing short-term moves with the broader market trend.
Break of Structure (BoS) and Change of Character (CHoCH) : These signals highlight moments when the market shifts its behavior. A BoS indicates that a previous level of support or resistance has been overcome, while a CHoCH signals a change in the market’s character. Both are marked clearly on the chart using distinct color codes.
Break of Structure + (BoS+) and Change of Character + (CHoCH+) : These signals highlight moments when the market shifts its behavior and is confirmed by prior price action. A BoS + indicates that a previous level of support or resistance has been overcome, while price action achieves higher highs and higher lows (resistance break) or lower highs and lower lows (support break). CHoCH + signals a change in the market’s character when supported by prior price action - lower highs for a support break and higher lows for a resistance break.
BoS and CHoCH
The image above shows BoS and CHoCH identified on the price chart, and explains what each signifies.
A Break Of Structure (BoS) occurs when price decisively moves beyond a previously established support or resistance level. It indicates that the current trend or market pattern is being challenged, and the market may be ready to change direction.
A Change of Character (CHoCH) describes a shift in how the market behaves. A CHoCH occurs when, in an uptrend, a previously established support level breaks, or in a downtrend, a previously established resistance level breaks.
This break indicates that the market's typical structure is shifting, suggesting that the current trend may be losing its strength and that a reversal or a new trend could be developing.
CHoCH+
The image above explains CHoCH+ and how it forms, while highlighting an instance where a downside CHoCH+ formed following lower highs.
A Change of Character + (CHoCH+) describes a shift in how the market behaves that is supported by prior price action. For support breaks, price must form lower highs before breaking support.
The image above explains CHoCH+ for resistance breaks, while highlighting an instance where a resistance point broke that was supported by prior price action.
BoS+
The image above explains BoS+ and how it forms, while highlighting an instance where an upside BoS+ formed following higher highs and higher lows.
A BoS+ resistance break requires higher highs and higher lows prior to the resistance point being closed over.
The image above explains BoS+ support break, while highlighting an instance where a downside BoS+ formed following lower highs and lower lows.
A BoS+ support break requires lower highs and lower lows prior to the support point being closed under.
Future BoS and CHoCH
Radi IQ also displays where the next BoS and CHoCH points are located.
The image above shows the feature in action. With this, traders will always know where the next key support/resistance breakpoints are before they actually occur.
Fair Value Gaps (FVG)
The indicator identifies gaps in the price where little or no trading occurred—known as fair value gaps. These gaps can act as temporary support or resistance and may indicate areas where the market is likely to correct. FVGs are displayed with clear color gradients that differentiate between upward and downward gaps.
The image above shows an identified upside FVG. In the image, the identified upside FVG acted as a support point for price.
The image above shows an identified downside FVG. In the image, the identified downside FVG acted as a resistance point for price.
Low Volume FVG
In addition to identifying trading FVGs - Radi IQ can also specifically detect low volume fair value gaps. Ideally, these fair value gaps will form inside a low volume node on a volume profile.
Low volume node FVGs are important because these are areas where very little trading occurred and is confirmable, indicating an imbalance in supply and demand. Since few trades took place there, the market often moves quickly through these zones when revisited, which can lead to rapid price changes. This "gap" in trading activity can serve as a signal for potential reversals or fast moves, offering opportunities to enter or exit positions based on expected market behavior.
The image above shows identified FVGs that formed on low volume.
Large Area FVGs
Radi IQ is also capable of filtering out “inconsequential” FVGs. With this, Radi IQ can be enabled to only mark FVGs that cover a wide price range.
The image above shows the feature enabled, and all identified FVGs formed with a wide price range.
Large Area FVGs and Low Volume FVGs Combined
Traders can also enable Radi IQ to only mark FVGs that form on low volume and have a wide price range - allowing traders to only identify the highest quality FVGs on the chart.
Order Blocks and Premium Discount Zones
Order Blocks: Radi IQ detects areas where large orders have previously been placed by institutional traders. These blocks can act as strong levels of support or resistance, and the indicator marks bullish and bearish order blocks with dedicated colors.
What is an order block?
Order blocks are clusters of orders that institutions have executed to enter or exit a market position. They typically form when there is a period of consolidation before a significant move. For example, the last bullish candle before a strong down move may indicate a supply order block, while the last bearish candle before a sharp rally might be considered a demand order block.
Why They Form:
Institutions don’t trade in small, sporadic amounts; they accumulate or distribute large volumes of an asset. To avoid slippage and minimize market impact, they execute these orders over a zone rather than at a single price point. This creates a recognizable “block” on the chart.
Order Block Identification Types
Strength Score
The “Strength Score” order block detection mode is a TradingIQ proprietary ranking system for identified order blocks.
Purpose
The purpose of the “Strength Score” ranking system is to determine the “strength” or significance of an order block and rate the zone’s likelihood to act as support/resistance when retested in the future.
The scoring system ranks from 0 - 10, with “0” indicating a “weak” score or low likelihood of acting as a key support/resistance level when retested in the future.
A rating of “5” indicates a “moderate” score, indicating that the order block has a moderate likelihood of acting as a key support/resistance level when retested in the future.
A rating of “10” indicates a “strong” score, indicating that the order block has a strong likelihood of acting as a key support/resistance level when retested in the future.
How It Works
The score is calculated by examining the price move following the formation of an order block. The stronger the price move after an order block forms - the higher the Strength Score.
The image above shows a bearish order block with a score of “5” identified on the chart. The order block successfully operates as a resistance point when retested.
The image above shows a bullish order block with a score of “5” identified on the chart. The order block successfully operates as a resistance point when retested.
Volume-Based
The volume-based order block detection method detects traditional order blocks, but goes one step further by identifying the highest concentration point of volume for the bar and drawing the order block around this concentration point.
Key features when using the volume-based order block detection method:
The top of the order block is anchored to the top of the highest volume concentration point of the bar
The bottom of the order block is anchored to the bottom of the highest volume concentration point of the bar
The total volume that went into creation of the order block is displayed on the chart
The total volume of the order block is recorded as a percentage relative to the total volume for all order blocks on the chart
The image above shows the detection method in action.
Breaker Blocks
A breaker block is a specific type of order block that gains significance when price breaks through it and then often retests the level as a new area of support or resistance. Essentially, it’s a zone where, after the initial break, the previous level (which once acted as strong support or resistance) flips roles. For example, in an uptrend, if the price falls below a key support level, that level can become a breaker block and act as resistance if the price tries to move back up. Conversely, in a downtrend, a broken resistance level can serve as new support. Traders monitor breaker blocks because they often mark a shift in market sentiment and can provide potential entry or exit points once the market re-engages with these levels.
The image above shows a breaker block above price acting as resistance.
The image above shows a breaker block below price acting as support.
Rejection Blocks
A rejection block is a price area where the market shows a strong unwillingness to move beyond a certain level. This typically happens when price approaches a specific level but then is quickly rejected, leading to a bounce in the opposite direction. In other words, a rejection block forms when traders' orders create a barrier, causing the price to reverse rather than break through. Traders watch these areas closely, as they often signal a strong concentration of supply or demand that could provide potential entry or exit points for trades.
The image above shows both a verified upside rejection block acting as resistance, and an untested downside rejection block.
Rejection blocks are expected to function as strong support/resistance points when retested in the future.
Premium Discount Zones
Premium Discount Zones : These zones reflect areas where price is trading above (premium) or below (discount) a fair value range. They help traders gauge whether the current market price is relatively high or low compared to historical averages.
Premium Discount Zones account for recent swing highs and lows to calculate a fair value along with discount and premium prices over an intermediate time window.
The image above shows the premium and discount price zones in action.
Equal Levels
The indicator also tracks and highlights equal levels, which occur when the market repeatedly tests the same price levels. Equal levels can reinforce the significance of a support or resistance area and are represented by their own set of color markers.
The image above shows Radi IQ distinguishing equal highs and equal lows.
Equal Highs
When you see two or more highs that are approximately the same, it suggests that the market is repeatedly rejecting attempts to push higher. This signals a strong resistance level where sellers (or stop-hunters) are active.
Equal Lows
Similarly, consecutive lows at the same level indicate strong support, where buyers step in consistently, preventing further decline.
Strong Highs and Lows
Strong High
A strong high is a price level where the market repeatedly fails to push higher. Typically, it’s characterized by:
Rejection: Price approaches the high but then reverses sharply, often leaving long upper wicks on the candlestick chart.
Consolidation: Multiple bars might show highs that are very close in value (often termed "equal highs"), indicating a well-established resistance zone.
Market Sentiment: This pattern suggests that sellers are actively defending that level, preventing further upward movement.
Strong Lows
Conversely, a strong low is a price level where the market repeatedly fails to break lower. It is identified by:
Bounce Back: Price touches the low and then rebounds sharply, often leaving long lower wicks.
Consistency: Multiple lows occur around the same level (sometimes referred to as "equal lows"), marking a solid support area.
Market Sentiment: This indicates that buyers are stepping in at that level, absorbing selling pressure and supporting the price.
The image above shows Radi IQ detecting both a strong high and strong low, while the detected strong low acts as support when retested.
Liquidity Grabs
Liquidity grabs occur when the market temporarily moves to absorb liquidity, often triggering stop-loss orders and leading to rapid price movements. Radi IQ flags these events by identifying conditions where price moves against recent pivots, helping traders spot potential liquidity-related reversals or breakouts.
The image above shows Radi IQ identifying both an upside liquidity grab and a downside liquidity grab.
Upside Liquidity Grab (Bearish)
An upside liquidity grab happens when the price moves above a well-known resistance area or recent high. This move is often short-lived.
Many traders place stop-loss orders or pending buy orders just above resistance levels. Institutional players may intentionally push price upward to trigger these orders, thereby “grabbing” the liquidity available at that level.
Downside Liquidity Grab (Bullish)
A downside liquidity grab is the mirror image: the price briefly dips below a key support level or recent low.
Traders often place stop-loss orders or pending sell orders just below support levels. An intentional drop below this support can trigger these stops, allowing institutional players to capture liquidity.
Multi-Timeframe Analysis and Swings
By using data from different timeframes, Radi IQ offers a broader perspective on market trends. It highlights significant swing highs and swing lows, providing visual cues that indicate the market’s directional bias. This feature assists traders in identifying both short-term opportunities and long-term trends.
The image above shows Radi IQ detecting higher swings and lower swings.
IQ Meters / Fibometer
IQ Meters (Fibometers) are a proprietary TradingIQ tool that allows traders to easily identify the highs and lows of the current trend and where current price is relative to these points.
The image above depicts the IQ Meters—an exclusive TradingIQ tool designed to help traders evaluate trend strength and retracement opportunities.
When the lower timeframe Zig Zag IQ and the higher timeframe Zig Zag IQ are out of sync (i.e., one is uptrending while the other is downtrending, with no active positions), the meters display a neutral color as shown in the image.
The key to using these meters is to identify trend unison and pinpoint key trend retracement entry opportunities. Fibonacci retracement levels for the current trend are interlaced along each meter, and the current price is converted to a retracement ratio of the trend.
These meters can mathematically determine where price stands relative to the larger and smaller trends, aiding in identifying entry opportunities.
The top of each meter indicates the highest price achieved during the current price move.
The bottom of each meter indicates the lowest price achieved during the current price move.
When both the larger and smaller trends are in sync and uptrending, or when a long position is active, the IQ meters turn green, indicating uptrend strength.
When both meters are green, it indicates uptrend strength as both the higher timeframe trend and lower timeframe trend are in unison. Look for price to retrace to key fibonacci retracement levels during this time period.
When both trends are in sync and downtrending, or when a short position is active, the IQ meters turn red, indicating downtrend strength.
When both meters are red, it indicates downtrend strength as both the higher timeframe trend and lower timeframe trend are in unison. Look for price to retrace to key fibonacci retracement levels during this time period.
Summary
Radi IQ serves as a robust, data-driven tool for traders who seek a deeper understanding of market structure. By integrating internal and external analysis, fair value gap detection, order block identification, premium discount zoning, equal level tracking, liquidity grabs and much more into one indicator, it offers a multi-layered view of the market. This helps traders not only recognize potential turning points and areas of market stress but also manage risk more effectively and plan their trades with greater precision. The indicator’s clear visual representation and dynamic updates make it a practical addition to any trader’s toolkit.
DT_KEY_LEVELSDT_Key_Levels: Powerful Market Structure Analysis Indicator
DT_Key_Levels is an advanced indicator for fundamental market structure analysis, optimized for higher timeframes (D1, W, M). The indicator combines three powerful technical analysis tools — fractals, Fair Value Gaps (FVG), and psychological levels — in one comprehensive solution.
Three Components of the Indicator
1. Enhanced Fractal System
The indicator uses an improved version of Bill Williams' classic fractals, allowing for deeper market structure analysis:
Dual Identification System:
Standard 5-bar fractals (displayed with thick lines) for analyzing reliable support/resistance levels
Light 3-bar fractals (displayed with thin lines) for early identification of potential reversal points
Intelligent Tracking System:
Automatic detection and filtering of completed fractals
Marking fractals with corresponding timeframe designation (HTF-1D, HTF-1W, HTF-1M)
Tracking and marking the All-Time High (ATH)
2. Fair Value Gaps (FVG) System
The indicator identifies and visualizes price gaps in market structure — zones that often act as magnets for future price movements:
Precise Identification of Inefficient Zones:
Bullish FVG: when the current candle's low is above the -2 candle's high
Bearish FVG: when the current candle's high is below the -2 candle's low
Detailed Visualization:
Clear display of upper and lower boundaries of each FVG
Midline (0.5 FVG) for determining key reaction levels within the gap
Marking each FVG with "FF" (Fair value Fill) label for quick identification
Dynamic Management:
Automatic removal of FVGs when they are filled by price movement
Customizable line extension for improved tracking of target zones
3. Intelligent Psychological Levels
The indicator automatically determines key psychological levels with adaptation to the type of instrument being traded:
Specialized Calibration for Various Assets:
Forex (EUR/USD, GBP/USD, USD/JPY): optimization for standard figures and round values
Precious metals (XAUUSD): adaptation to typical gold reaction zones with a $50 step
Cryptocurrencies (BTC, ETH): dynamic step adjustment depending on current price zone
Stock indices (NASDAQ, S&P500, DAX): accounting for the movement characteristics of each index
Smart Adaptation System:
Automatic determination of the optimal step for any instrument
Generation of up to 24 key levels, evenly distributed around the current price
Intelligent filtering to display only significant levels
Practical Application
Strategic Analysis
Identifying Key Structural Levels:
Use monthly and weekly fractals to determine strategic support/resistance zones
Look for coincidences of fractals with psychological levels to identify particularly strong zones of interest
Determine long-term barriers using type 5 fractals on higher timeframes
Analysis of Market Inefficiencies:
Track the formation of FVGs as potential targets for future movements
Use FVG midlines (0.5) as important internal reaction levels
Analyze the speed of FVG filling to understand trend strength
Tactical Trading Decisions
Entry Points and Risk Management:
Use bounces from fractals in the direction of the larger trend as a signal for entry
Place stop-losses behind fractal levels or key psychological levels
Monitor the formation of new fractals as a signal of potential reversal
Determining Target Levels:
Use unfilled FVGs as natural price targets
Apply nearby psychological levels for partial position closing
Project higher timeframe fractals to determine long-term goals
Indicator Advantages
Comprehensive Approach: combining three methodologies for a complete understanding of market structure
Intelligent Adaptation: automatic adjustment to the characteristics of different types of assets
Clean Visual Presentation: despite the abundance of information, the indicator maintains clarity of display
Effective Signal Filtering: automatic removal of completed levels to reduce visual noise
Higher Timeframe Optimization: specifically designed for daily, weekly and monthly charts
Usage Recommendations
Use the indicator only on D1, W, and M timeframes for the most reliable signals
Pay special attention to areas where different types of signals coincide (e.g., fractal + psychological level)
Use higher timeframe fractals as key zones for medium and long-term trading
Track FVGs as potential target zones and focus on their filling
The Ultimate Indicator by ATK
The Ultimate Indicator By ATK
This all-in-one trading indicator integrates multiple advanced tools to provide ICT traders with deep insights into market structure, liquidity zones, Fair Value Gaps (FVG), and AI-powered signals. Whether you’re a scalper or a long-term trader, this indicator offers real-time analysis and helps identify potential trading opportunities in dynamic markets.
🔵 Key Features
🔹 2 options for checking SMT (Separation and Divergence) Detection:
First - Compares highs and lows of a primary symbol (e.g., NQ1!) with a user-defined comparison symbol (e.g., ES1!).
Automatically detects and visualizes discrepancies (red for highs, blue for lows) between the symbols.
Offers customizable comparison settings and alerts for divergence detection.
Second -
Real-time SMT comparison between two tickers - red/green lines.
🔹 Market Structure Change (MSS) & Break of Structure (BOS) Detection:
Identifies market structure shifts and breakouts, crucial for spotting potential reversals.
Customizable sensitivity and length settings to adapt to various market conditions and trading strategies. Use 3 different timeframes on the same chart.
🔹 Buy Side & Sell Side Liquidity Zones:
Highlights liquidity zones on both buy and sell sides, offering a clear view of market pressure points.
Configurable settings for detection length, margin, and alert conditions for liquidity sweeps like the 15-minute Buy Side Liquidity (BSL) and Sell Side Liquidity (SSL).
These lines from Swing Highs & Lows:
Automatically plots horizontal lines at the most recent swing highs and lows.
Lines are removed once the closing price breaches these levels, ensuring real-time updates and clean charting.
🔹 Fair Value Gap (FVG) Detection:
Detects FVG formations on 5-minute and 1-minute charts, making it ideal for scalpers capturing liquidity gaps.
Includes directional arrows and customizable alerts based on higher and lower timeframe FVG analysis, helping traders time their entry and exit points.
🔹IFVG (Inverse fair value gap) - yellow
🔹IFVG + SMT - Light blue
🔹IFVG + SMT + HTF FVG - green/red (1 min only)
🔹IFVG + SMT + BSL/SSL Swept - green/red (1 min only)
for example:
🔹 Capture and plot significant price levels at specific times throughout the trading day:
TDO (True Day Open): The price at which a market opens at 12:00 AM US.
TMSO (True Micro Session Open): The open price of the Q2 of the micro session.
RVT (Revolving True Open): The price recorded at 12:00 PM US.
AO (Asia True Open Price): The price captured at 7:30 PM US, specifically representing the opening price of the Asian session.
LO (London True Open Price): 1:30 AM US
AM (New York Session - Afternoon Market True Open Price): 7:30 AM US
PM (Post Market Open Price): 1:30 PM US.
For example TMSO:
🔹 AI-Powered Entry Detection:
The script helps identify entry points based on specific candle patterns, while also considering the exponential moving averages (EMAs) for trend confirmation.
🔶FFMS Strategy: (First Five Minute Strategy)
Check 5-min time frame if the price is between the high and low of the previous day. then, when NYO if there is retest on the High/Low on the 5-min chart after crossover or crossunder the 5 minute first candle high/low lines.
🔶PSP & PSP + FVG
🔹The Precision Swing Point (PSP). It helps you visually identify price decorrelation (type of SMT) among key futures contracts (NQ/ES or NQ/ES/YM/ZB) and set alerts for these significant market movements.
🔹The PSP HTF 15 Min + FVG LTF 1 Min
In this strategy the script is looking for PSP in HTF (15-Min) and capture the FVG in LTF (1-Min) only if its between High and Low of the PSP.
If there is a retracement in parallel micro session time, for example: Q1 with Q3 or Q2 with Q4, Q3 with Q1, etc…
if the retracement was happened and the price close above/below the high/low of the FVG from the LTF that captured according to the direction for long/short, it plots an arrow.
Update the script that checks the purple arrows and shows all of them each time there is a new PSP in a 15-minute timeframe and then FVG in 1 Min timeframe with the reference to the TDO/TMSO/Open session
for example:
Step 1: PSP 15Min LOW/HIGH Lines look for FVG by the conditions above - purple arrow
Step 2:FVG founded - purple arrow
SMT Fill on 15 min timeframe + IFVG 1 min - Detected option:
When Sym1 closed above/below FVG and Sym2 didn't it is SMT FILL (15 Min timeframe)
White arrows when captured SMT FIll + IFVG:
option to turn on alert on this strategy too.
🔹Detect liquidity swept on 15-min timeframe by $$ - green/red
🔹Detect liquidity to sweep zones on by diamonds - green/red
🔹Alerts for all Events and full scenarios.
Real-time notifications ensure traders can act quickly on potential trade setups.
🔵 Conclusion:
This Ultimate Indicator by ATK brings together critical elements of market analysis in one tool for ICT traders, offering real-time insights, alerts, and visual aids to enhance trading strategies. Whether you’re focused on short-term price action or long-term market trends, this indicator provides the tools necessary for informed decision-making and improved trading performance.
IFVG ExtendedThis indicator identifies and visualizes "Imbalance Fair Value Gaps" (IFVGs) on a price chart. It highlights these gaps, tracks their evolution, and signals when they are "filled" or "invalidated" by price action. The script is quite advanced, using custom types, arrays, and dynamic drawing.
1. Types and Variables
Custom Types:
lab: Stores label information (x, y, direction).
fvg: Stores Fair Value Gap data, including its boundaries, direction, state, labels, and other properties.
Arrays:
Four arrays track bullish and bearish FVGs, and their "invalidated" (filled) versions.
Signals:
Boolean variables to store if a bullish or bearish signal is triggered.
2. User Inputs and Parameters
Display Settings:
How many recent FVGs to show, signal preference (close or wick), ATR multiplier for gap size filtering, and colors for bullish/bearish/midline.
3. Chart Data
Price Data:
Open, high, low, close, and ATR (Average True Range) are stored for use in calculations.
4. Functions
label_maker:
Draws an up or down arrow label at a given point, colored for bullish or bearish.
fvg_manage:
Checks if any FVGs in the array have been "invalidated" (i.e., price has crossed their boundary). If so, moves them to the invalidated array.
inv_manage:
Manages invalidated FVGs, checking if a signal should be fired (i.e., price has reacted to the gap). Also removes old FVGs.
send_it:
Draws the FVGs and their labels on the chart, using boxes and lines for visualization.
5. Main Logic and Visualization
FVG Detection:
On each bar, checks for new bullish or bearish FVGs based on price action and ATR filter.
Adds new FVGs to the appropriate array.
FVG Management:
Updates the arrays, moves invalidated FVGs, and checks for signals.
Drawing:
On the last bar, clears all previous drawings and redraws the current FVGs and their labels.
6. Alerts
Alert Conditions:
Sets up alerts for when a bullish or bearish IFVG signal is triggered, so users can be notified.
Summary
In short:
This script automatically finds and tracks "Imbalance Fair Value Gaps" on your chart, highlights them, and alerts you when price interacts with them in a significant way. It uses advanced Pine Script features to manage and visualize these zones dynamically, helping traders spot potential reversal or continuation points based on gap theory
ICT Master Suite [Trading IQ]Hello Traders!
We’re excited to introduce the ICT Master Suite by TradingIQ, a new tool designed to bring together several ICT concepts and strategies in one place.
The Purpose Behind the ICT Master Suite
There are a few challenges traders often face when using ICT-related indicators:
Many available indicators focus on one or two ICT methods, which can limit traders who apply a broader range of ICT related techniques on their charts.
There aren't many indicators for ICT strategy models, and we couldn't find ICT indicators that allow for testing the strategy models and setting alerts.
Many ICT related concepts exist in the public domain as indicators, not strategies! This makes it difficult to verify that the ICT concept has some utility in the market you're trading and if it's worth trading - it's difficult to know if it's working!
Some users might not have enough chart space to apply numerous ICT related indicators, which can be restrictive for those wanting to use multiple ICT techniques simultaneously.
The ICT Master Suite is designed to offer a comprehensive option for traders who want to apply a variety of ICT methods. By combining several ICT techniques and strategy models into one indicator, it helps users maximize their chart space while accessing multiple tools in a single slot.
Additionally, the ICT Master Suite was developed as a strategy . This means users can backtest various ICT strategy models - including deep backtesting. A primary goal of this indicator is to let traders decide for themselves what markets to trade ICT concepts in and give them the capability to figure out if the strategy models are worth trading!
What Makes the ICT Master Suite Different
There are many ICT-related indicators available on TradingView, each offering valuable insights. What the ICT Master Suite aims to do is bring together a wider selection of these techniques into one tool. This includes both key ICT methods and strategy models, allowing traders to test and activate strategies all within one indicator.
Features
The ICT Master Suite offers:
Multiple ICT strategy models, including the 2022 Strategy Model and Unicorn Model, which can be built, tested, and used for live trading.
Calculation and display of key price areas like Breaker Blocks, Rejection Blocks, Order Blocks, Fair Value Gaps, Equal Levels, and more.
The ability to set alerts based on these ICT strategies and key price areas.
A comprehensive, yet practical, all-inclusive ICT indicator for traders.
Customizable Timeframe - Calculate ICT concepts on off-chart timeframes
Unicorn Strategy Model
2022 Strategy Model
Liquidity Raid Strategy Model
OTE (Optimal Trade Entry) Strategy Model
Silver Bullet Strategy Model
Order blocks
Breaker blocks
Rejection blocks
FVG
Strong highs and lows
Displacements
Liquidity sweeps
Power of 3
ICT Macros
HTF previous bar high and low
Break of Structure indications
Market Structure Shift indications
Equal highs and lows
Swings highs and swing lows
Fibonacci TPs and SLs
Swing level TPs and SLs
Previous day high and low TPs and SLs
And much more! An ongoing project!
How To Use
Many traders will already be familiar with the ICT related concepts listed above, and will find using the ICT Master Suite quite intuitive!
Despite this, let's go over the features of the tool in-depth and how to use the tool!
The image above shows the ICT Master Suite with almost all techniques activated.
ICT 2022 Strategy Model
The ICT Master suite provides the ability to test, set alerts for, and live trade the ICT 2022 Strategy Model.
The image above shows an example of a long position being entered following a complete setup for the 2022 ICT model.
A liquidity sweep occurs prior to an upside breakout. During the upside breakout the model looks for the FVG that is nearest 50% of the setup range. A limit order is placed at this FVG for entry.
The target entry percentage for the range is customizable in the settings. For instance, you can select to enter at an FVG nearest 33% of the range, 20%, 66%, etc.
The profit target for the model generally uses the highest high of the range (100%) for longs and the lowest low of the range (100%) for shorts. Stop losses are generally set at 0% of the range.
The image above shows the short model in action!
Whether you decide to follow the 2022 model diligently or not, you can still set alerts when the entry condition is met.
ICT Unicorn Model
The image above shows an example of a long position being entered following a complete setup for the ICT Unicorn model.
A lower swing low followed by a higher swing high precedes the overlap of an FVG and breaker block formed during the sequence.
During the upside breakout the model looks for an FVG and breaker block that formed during the sequence and overlap each other. A limit order is placed at the nearest overlap point to current price.
The profit target for this example trade is set at the swing high and the stop loss at the swing low. However, both the profit target and stop loss for this model are configurable in the settings.
For Longs, the selectable profit targets are:
Swing High
Fib -0.5
Fib -1
Fib -2
For Longs, the selectable stop losses are:
Swing Low
Bottom of FVG or breaker block
The image above shows the short version of the Unicorn Model in action!
For Shorts, the selectable profit targets are:
Swing Low
Fib -0.5
Fib -1
Fib -2
For Shorts, the selectable stop losses are:
Swing High
Top of FVG or breaker block
The image above shows the profit target and stop loss options in the settings for the Unicorn Model.
Optimal Trade Entry (OTE) Model
The image above shows an example of a long position being entered following a complete setup for the OTE model.
Price retraces either 0.62, 0.705, or 0.79 of an upside move and a trade is entered.
The profit target for this example trade is set at the -0.5 fib level. This is also adjustable in the settings.
For Longs, the selectable profit targets are:
Swing High
Fib -0.5
Fib -1
Fib -2
The image above shows the short version of the OTE Model in action!
For Shorts, the selectable profit targets are:
Swing Low
Fib -0.5
Fib -1
Fib -2
Liquidity Raid Model
The image above shows an example of a long position being entered following a complete setup for the Liquidity Raid Modell.
The user must define the session in the settings (for this example it is 13:30-16:00 NY time).
During the session, the indicator will calculate the session high and session low. Following a “raid” of either the session high or session low (after the session has completed) the script will look for an entry at a recently formed breaker block.
If the session high is raided the script will look for short entries at a bearish breaker block. If the session low is raided the script will look for long entries at a bullish breaker block.
For Longs, the profit target options are:
Swing high
User inputted Lib level
For Longs, the stop loss options are:
Swing low
User inputted Lib level
Breaker block bottom
The image above shows the short version of the Liquidity Raid Model in action!
For Shorts, the profit target options are:
Swing Low
User inputted Lib level
For Shorts, the stop loss options are:
Swing High
User inputted Lib level
Breaker block top
Silver Bullet Model
The image above shows an example of a long position being entered following a complete setup for the Silver Bullet Modell.
During the session, the indicator will determine the higher timeframe bias. If the higher timeframe bias is bullish the strategy will look to enter long at an FVG that forms during the session. If the higher timeframe bias is bearish the indicator will look to enter short at an FVG that forms during the session.
For Longs, the profit target options are:
Nearest Swing High Above Entry
Previous Day High
For Longs, the stop loss options are:
Nearest Swing Low
Previous Day Low
The image above shows the short version of the Silver Bullet Model in action!
For Shorts, the profit target options are:
Nearest Swing Low Below Entry
Previous Day Low
For Shorts, the stop loss options are:
Nearest Swing High
Previous Day High
Order blocks
The image above shows indicator identifying and labeling order blocks.
The color of the order blocks, and how many should be shown, are configurable in the settings!
Breaker Blocks
The image above shows indicator identifying and labeling order blocks.
The color of the breaker blocks, and how many should be shown, are configurable in the settings!
Rejection Blocks
The image above shows indicator identifying and labeling rejection blocks.
The color of the rejection blocks, and how many should be shown, are configurable in the settings!
Fair Value Gaps
The image above shows indicator identifying and labeling fair value gaps.
The color of the fair value gaps, and how many should be shown, are configurable in the settings!
Additionally, you can select to only show fair values gaps that form after a liquidity sweep. Doing so reduces "noisy" FVGs and focuses on identifying FVGs that form after a significant trading event.
The image above shows the feature enabled. A fair value gap that occurred after a liquidity sweep is shown.
Market Structure
The image above shows the ICT Master Suite calculating market structure shots and break of structures!
The color of MSS and BoS, and whether they should be displayed, are configurable in the settings.
Displacements
The images above show indicator identifying and labeling displacements.
The color of the displacements, and how many should be shown, are configurable in the settings!
Equal Price Points
The image above shows the indicator identifying and labeling equal highs and equal lows.
The color of the equal levels, and how many should be shown, are configurable in the settings!
Previous Custom TF High/Low
The image above shows the ICT Master Suite calculating the high and low price for a user-defined timeframe. In this case the previous day’s high and low are calculated.
To illustrate the customizable timeframe function, the image above shows the indicator calculating the previous 4 hour high and low.
Liquidity Sweeps
The image above shows the indicator identifying a liquidity sweep prior to an upside breakout.
The image above shows the indicator identifying a liquidity sweep prior to a downside breakout.
The color and aggressiveness of liquidity sweep identification are adjustable in the settings!
Power Of Three
The image above shows the indicator calculating Po3 for two user-defined higher timeframes!
Macros
The image above shows the ICT Master Suite identifying the ICT macros!
ICT Macros are only displayable on the 5 minute timeframe or less.
Strategy Performance Table
In addition to a full-fledged TradingView backtest for any of the ICT strategy models the indicator offers, a quick-and-easy strategy table exists for the indicator!
The image above shows the strategy performance table in action.
Keep in mind that, because the ICT Master Suite is a strategy script, you can perform fully automatic backtests, deep backtests, easily add commission and portfolio balance and look at pertinent metrics for the ICT strategies you are testing!
Lite Mode
Traders who want the cleanest chart possible can toggle on “Lite Mode”!
In Lite Mode, any neon or “glow” like effects are removed and key levels are marked as strict border boxes. You can also select to remove box borders if that’s what you prefer!
Settings Used For Backtest
For the displayed backtest, a starting balance of $1000 USD was used. A commission of 0.02%, slippage of 2 ticks, a verify price for limit orders of 2 ticks, and 5% of capital investment per order.
A commission of 0.02% was used due to the backtested asset being a perpetual future contract for a crypto currency. The highest commission (lowest-tier VIP) for maker orders on many exchanges is 0.02%. All entered positions take place as maker orders and so do profit target exits. Stop orders exist as stop-market orders.
A slippage of 2 ticks was used to simulate more realistic stop-market orders. A verify limit order settings of 2 ticks was also used. Even though BTCUSDT.P on Binance is liquid, we just want the backtest to be on the safe side. Additionally, the backtest traded 100+ trades over the period. The higher the sample size the better; however, this example test can serve as a starting point for traders interested in ICT concepts.
Community Assistance And Feedback
Given the complexity and idiosyncratic applications of ICT concepts amongst its proponents, the ICT Master Suite’s built-in strategies and level identification methods might not align with everyone's interpretation.
That said, the best we can do is precisely define ICT strategy rules and concepts to a repeatable process, test, and apply them! Whether or not an ICT strategy is trading precisely how you would trade it, seeing the model in action, taking trades, and with performance statistics is immensely helpful in assessing predictive utility.
If you think we missed something, you notice a bug, have an idea for strategy model improvement, please let us know! The ICT Master Suite is an ongoing project that will, ideally, be shaped by the community.
A big thank you to the @PineCoders for their Time Library!
Thank you!
OmniSessions [WinWorld]The indicator shows the range of 4 most popular sessions (New York, Tokyo, London, Sydney). Sessions are used to identify zones with maximum volatility, as well as to find entry points. Session boundaries can act as POI no worse than OrderBlock.
In addition to sessions, you can use settings with KillZones - a range within a session that has potentially high volatility.
Silver Bullet is a more advanced range that allows you to identify the potential for maximum volatility. Excellent entry points can be obtained on the sweep of the range or from the nearest orderblock. We will explain it a bit deeply below.
Why use sessions?
During specific sessions big financial instutions from specific parts of the world enter the market, and this fact alone let us find the most "liquid" sessions in order to catch the best price movements. If talking about orderblocks, it is just a point of interest (more precisely, it is actually a zone of interest), which usually is a zone where the signficant amount of limit orders lies, and when price enter such zone, it immediately shows a strong reaction with either breakout from this zone or it bounces against this zone.
How is this indicator different from others?
There a lot of orderblocks indicator out here publicly available, but huge portion of them doesn't take into calculation important smart money concepts, such as valid pullbacks, for example. Valid pullbacks is a concept of price movement, which lets us indentify quite precisely price's impulses. Based on this impulses, we search our orderblocks. This approach allows to catch the most relevant and highly liquid orderblocks, which present traders with best trade entry opportunities, because usually, when entering with these orderblocks, you follow the moves of big money players, and that gives trader an edge in trading. None of open-source indicators uses such approach ( we've studied all of them ). Also an important notice: no public code is utilized in this indicato whatsoever. We've build our own flexible session mechanism, which allows you to quickly change between different type of sessions and also choose which session to use. And the big thing is our own alorithm to deal with asset, trading sessions of which are quite exotic (such as DAX and MEOX indexes, which close and open at different times of the day, which makes it hard for indicator to catch by default), so with indicator you can enjoy trading by sessions with no "bugs".
And the most user-desired and important thing: we've implemented feature to set winter and summer seasons for sessions, and this solves life-long struggle of traders to set correct trading session time, when forex exchanges switch trading hours, so now you don't need to info which our summer or winter is traded by, but just switch between seasons by one button in our indicator. And we can proudly state, no sesions indicator in the TradingView has such feature , so feel free to use it now on our indicator.
How orderblocks are built?
When London, New York or Asia ends, we find the closest orderblocks above and below closed session's high and low respectively. We do it by finding so called valid pullbacks ( was explained above ), then searching for valid fair value gap (FVG), that is inside of some valid pullbacks, and if we find it, then the orderblock is established and you will live orderblock and fair value gap (FVG) box ( both are colored in closed session's colour ).
How are orderblocks and FVG displayed on the chart?
Live orderblock and FVG are displayed as boxes on the chart, that are plolonged each bar if price didn't reach the orderblock.
Some important details:
When price touches FVG, FVG then is modified to reflect how much of untouched FVG is left. You will see it as decreasing of FVG box size in live mode. If price fully takes over FVG, FVG deletes;
When price touches orderblock, orderblock stops being prolonged and stays on the chart and is considered as worked-out.
These featues allow you to fully see live orderblocks and FVGs (if they exist) and already worked-out orderblocks to see how useful they were in the history.
Is that it?
No, because our indicator also shows sessions sweeps, which is historically a good indication that price grabbed the liquidity of previously closed sessions and now has enough "power" to do big movements, which is a good thing for traders, because it allows them to catch big movements and profit big.
Ok, we've covered the basics, now let's talk about what exactly this indicator can do.
OmnISessions is all-in-one sessions' indicator, that cointain:
Sessions (Automatic adaptation to your time zone)
Kill Zones
Silver Bullets
Session Sweeps
Order Blocks (Session, Killzone, SilverBullet)
Easily switch between summer and winter seasons
Now you don't need to look for opening and closing times of stock exchanges: the algorithm itself adjusts the session times according to your timezone. Just change the seasonality: winter/summer and the session times will be clearly displayed on your chart.
A quick view of the settings:
Show: Sessions, KillZones or SilverBullet
Season selection: Winter/Summer
Session Color Selection
Visuals:
Show/Hide session name - displays session name (ex.: London, New York, Silver Bullet and etc.) on the chart;
Show/Hide session box - displays session range as box with coloured background on the chart;
Show/Hide High/Low sessions - displays two horizontal lines for higher and lower borders of the session;
Show/Hide OrderBlocks - displays worked-out orderblocks in the history with live orderblocks and their fair value gaps (FVGs);
Show/Hide live Session High/Low - displays higher and lower border of the session as lines, that are prolonged each bar even after the session ends;
Show/Hide Session Sweeps - displays session sweeps of higher and lower border as dotted line;
Dividers (alternative session display):
Horizontal Divider
Backgrounder coloring
Customization: choose the display type: Sessions, Killzones or Silver Bullet.
The indicator displays orders that are above or below the previous session boundaries.
Below are Killzones with Order Blocks:
And this is Silver Bullet with Order Blocks:
Overall, you can clearly see that orderblocks, sessions sweeps and different type of sessions in one indicator allow you to fully utilize your time and mental energy, because finding orderblocks with valid pullbacks by hand is quite time-costly task, but finding them on different type of sessions, while not knowing trading hours of current trading session, is the true hell of work. OmniSessions indicator performs all of these calculations by itself, so you can focus on finding the best entries, while checking the situation on different sessions at the same time.
We hope that you will find great use of OmniSessions!
HTF POI [TakingProphets]HTF POI – Higher Timeframe Points of Interest Detection
The HTF POI Indicator by Taking Prophets is designed for traders following ICT (Inner Circle Trader) concepts and smart money principles. This tool automatically detects higher timeframe (HTF) points of interest (POIs) such as Fair Value Gaps (FVGs), Inverse Fair Value Gaps (IFVGs), and Consequent Encroachment (CE) levels, helping traders spot high-probability trading zones used by institutions.
🔹 Key Features:
✅ Automatic Detection of FVGs & IFVGs – Identifies key price inefficiencies across multiple timeframes.
✅ Multi-Timeframe Analysis – Detect POIs on the current timeframe and up to five higher timeframes (HTF1 to HTF5).
✅ Customizable Sensitivity – Adjust detection settings to High, Medium, or Low based on price gap size.
✅ Fair Value Gap (FVG) Encroachment Lines – Optional midpoint levels to track potential price rebalancing.
✅ Volume Display Option – View volume within detected FVGs for additional confluence.
✅ Inverse Fair Value Gaps (IFVGs) – Tracks invalidated gaps that turn into new liquidity pools.
✅ Works Across All Markets – Ideal for Forex, Futures, Stocks, and Crypto.
🔹 How It Works:
📌 Fair Value Gaps (FVGs) – Price inefficiencies caused by fast institutional moves that often get revisited.
📌 Bullish FVGs (BISI) – Formed when price gaps up, creating a demand zone where price may return.
📌 Bearish FVGs (SIBI) – Formed when price gaps down, acting as a supply zone for potential reversals.
📌 Inverse Fair Value Gaps (IFVGs) – Previously unfilled FVGs that get mitigated and act as liquidity pools.
📌 Consequent Encroachment (CE) – The 50% midpoint of an FVG, where price often reacts.
📌 Multi-Timeframe Integration – Tracks higher timeframe gaps for confluence with lower timeframe setups.
🔹 How to Use:
Identify FVG zones for potential entries or exits in alignment with smart money concepts.
Use Consequent Encroachment (CE) levels to confirm reactions at the 50% level of an FVG.
Watch for IFVGs as they provide new liquidity pools after FVGs are invalidated.
Combine with CHoCH/BOS market structure shifts and Order Blocks for higher-probability trades.
🚀 Refine your trade entries with precision using the HTF POI Indicator by Taking Prophets!
Fair Value Gap DetectorHow this indicator works:
It detects two types of FVGs:
Bullish FVG: Occurs when the low of the current candle is higher than the high of the candle from 2 bars ago (creates an upward gap)
Bearish FVG: Occurs when the high of the current candle is lower than the low of the candle from 2 bars ago (creates a downward gap)
Features:
Allows users to toggle both bullish and bearish FVG detection independently
Customizable colors for both bullish (default green) and bearish (default red) FVGs
Visualizes FVGs using:
Boxes that highlight the gap area (with 80% transparency)
Labels that mark each FVG ("Bull FVG" or "Bear FVG")
Visual representation:
Bullish FVGs are marked with green boxes and downward-pointing labels
Bearish FVGs are marked with red boxes and upward-pointing labels
This indicator can be useful for :
Identifying potential areas where price might return to
Finding potential support and resistance zones
Understanding market structure and momentum shifts
Inversion Fair Value Gap Screener | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Inverse Fair Value Gap Screener! This screener can provide information about the latest Inverse Fair Value Gaps in up to 5 tickers. You can also customize the algorithm that finds the Inverse Fair Value Gaps and the styling of the screener.
Features of the new Inverse Fair Value Gap (IFVG) Screener :
Find Latest Inverse Fair Value Gaps Across 5 Tickers
Shows Their Information Of :
Latest Status
Number Of Retests
Consumption Percent
Volume
Customizable Algorithm / Styling
📌 HOW DOES IT WORK ?
A Fair Value Gap generally occur when there is an imbalance in the market. They can be detected by specific formations within the chart. An Inverse Fair Value Gap is when a FVG becomes invalidated, thus reversing the direction of the FVG.
IFVGs get consumed when a Close / Wick enters the IFVG zone. Check this example:
This screener then finds Fair Value Gaps across 5 different tickers, and shows the latest information about them.
Status ->
Far -> The current price is far away from the IFVG.
Approaching ⬆️/⬇️ -> The current price is approaching the IFVG, and the direction it's approaching from.
Inside -> The price is currently inside the IFVG.
Retests -> Retest means the price tried to invalidate the IFVG, but failed to do so. Here you can see how many times the price retested the IFVG.
Consumed -> IFVGs get consumed when a Close / Wick enters the IFVG zone. For example, if the price hits the middle of the IFVG zone, the zone is considered 50% consumed.
Volume -> Volume of a IFVG is essentially the volume of the bar that broke the original FVG that formed it.
🚩UNIQUENESS
This screener can detect latest Inverse Fair Value Gaps and give information about them for up to 5 tickers. This saves the user time by showing them all in a dashboard at the same time. The screener also uniquely shows information about the number of retests and the consumed percent of the IFVG, as well as it's volume. We believe that this extra information will help you spot reliable IFVGs easier.
⚙️SETTINGS
1. Tickers
You can set up to 5 tickers for the screener to scan Fair Value Gaps here. You can also enable / disable them and set their individual timeframes.
2. General Configuration
FVG Zone Invalidation -> Select between Wick & Close price for FVG Zone Invalidation.
IFVG Zone Invalidation -> Select between Wick & Close price for IFVG Zone Invalidation. This setting also switches the type for IFVG consumption.
Zone Filtering -> With "Average Range" selected, algorithm will find FVG zones in comparison with average range of last bars in the chart. With the "Volume Threshold" option, you may select a Volume Threshold % to spot FVGs with a larger total volume than average.
FVG Detection -> With the "Same Type" option, all 3 bars that formed the FVG should be the same type. (Bullish / Bearish). If the "All" option is selected, bar types may vary between Bullish / Bearish.
Detection Sensitivity -> You may select between Low, Normal or High FVG detection sensitivity. This will essentially determine the size of the spotted FVGs, with lower sensitivities resulting in spotting bigger FVGs, and higher sensitivities resulting in spotting all sizes of FVGs.
MirPapa_Library_ICTLibrary "MirPapa_Library_ICT"
GetHTFoffsetToLTFoffset(_offset, _chartTf, _htfTf)
GetHTFoffsetToLTFoffset
@description Adjust an HTF offset to an LTF offset by calculating the ratio of timeframes.
Parameters:
_offset (int) : int The HTF bar offset (0 means current HTF bar).
_chartTf (string) : string The current chart’s timeframe (e.g., "5", "15", "1D").
_htfTf (string) : string The High Time Frame string (e.g., "60", "1D").
@return int The corresponding LTF bar index. Returns 0 if the result is negative.
IsConditionState(_type, _isBull, _level, _open, _close, _open1, _close1, _low1, _low2, _low3, _low4, _high1, _high2, _high3, _high4)
IsConditionState
@description Evaluate a condition state based on type for COB, FVG, or FOB.
Overloaded: first signature handles COB, second handles FVG/FOB.
Parameters:
_type (string) : string Condition type ("cob", "fvg", "fob").
_isBull (bool) : bool Direction flag: true for bullish, false for bearish.
_level (int) : int Swing level (only used for COB).
_open (float) : float Current bar open price (only for COB).
_close (float) : float Current bar close price (only for COB).
_open1 (float) : float Previous bar open price (only for COB).
_close1 (float) : float Previous bar close price (only for COB).
_low1 (float) : float Low 1 bar ago (only for COB).
_low2 (float) : float Low 2 bars ago (only for COB).
_low3 (float) : float Low 3 bars ago (only for COB).
_low4 (float) : float Low 4 bars ago (only for COB).
_high1 (float) : float High 1 bar ago (only for COB).
_high2 (float) : float High 2 bars ago (only for COB).
_high3 (float) : float High 3 bars ago (only for COB).
_high4 (float) : float High 4 bars ago (only for COB).
@return bool True if the specified condition is met, false otherwise.
IsConditionState(_type, _isBull, _pricePrev, _priceNow)
IsConditionState
@description Evaluate FVG or FOB condition based on price movement.
Parameters:
_type (string) : string Condition type ("fvg", "fob").
_isBull (bool) : bool Direction flag: true for bullish, false for bearish.
_pricePrev (float) : float Previous price (for FVG/FOB).
_priceNow (float) : float Current price (for FVG/FOB).
@return bool True if the specified condition is met, false otherwise.
IsSwingHighLow(_isBull, _level, _open, _close, _open1, _close1, _low1, _low2, _low3, _low4, _high1, _high2, _high3, _high4)
IsSwingHighLow
@description Public wrapper for isSwingHighLow.
Parameters:
_isBull (bool) : bool Direction flag: true for bullish, false for bearish.
_level (int) : int Swing level (1 or 2).
_open (float) : float Current bar open price.
_close (float) : float Current bar close price.
_open1 (float) : float Previous bar open price.
_close1 (float) : float Previous bar close price.
_low1 (float) : float Low 1 bar ago.
_low2 (float) : float Low 2 bars ago.
_low3 (float) : float Low 3 bars ago.
_low4 (float) : float Low 4 bars ago.
_high1 (float) : float High 1 bar ago.
_high2 (float) : float High 2 bars ago.
_high3 (float) : float High 3 bars ago.
_high4 (float) : float High 4 bars ago.
@return bool True if swing condition is met, false otherwise.
AddBox(_left, _right, _top, _bot, _xloc, _colorBG, _colorBD)
AddBox
@description Draw a rectangular box on the chart with specified coordinates and colors.
Parameters:
_left (int) : int Left bar index for the box.
_right (int) : int Right bar index for the box.
_top (float) : float Top price coordinate for the box.
_bot (float) : float Bottom price coordinate for the box.
_xloc (string) : string X-axis location type (e.g., xloc.bar_index).
_colorBG (color) : color Background color for the box.
_colorBD (color) : color Border color for the box.
@return box Returns the created box object.
Addline(_x, _y, _xloc, _color, _width)
Addline
@description Draw a vertical or horizontal line at specified coordinates.
Parameters:
_x (int) : int X-coordinate for start (bar index).
_y (int) : float Y-coordinate for start (price).
_xloc (string) : string X-axis location type (e.g., xloc.bar_index).
_color (color) : color Line color.
_width (int) : int Line width.
@return line Returns the created line object.
Addline(_x, _y, _xloc, _color, _width)
Parameters:
_x (int)
_y (float)
_xloc (string)
_color (color)
_width (int)
Addline(_x1, _y1, _x2, _y2, _xloc, _color, _width)
Parameters:
_x1 (int)
_y1 (int)
_x2 (int)
_y2 (int)
_xloc (string)
_color (color)
_width (int)
Addline(_x1, _y1, _x2, _y2, _xloc, _color, _width)
Parameters:
_x1 (int)
_y1 (int)
_x2 (int)
_y2 (float)
_xloc (string)
_color (color)
_width (int)
Addline(_x1, _y1, _x2, _y2, _xloc, _color, _width)
Parameters:
_x1 (int)
_y1 (float)
_x2 (int)
_y2 (int)
_xloc (string)
_color (color)
_width (int)
Addline(_x1, _y1, _x2, _y2, _xloc, _color, _width)
Parameters:
_x1 (int)
_y1 (float)
_x2 (int)
_y2 (float)
_xloc (string)
_color (color)
_width (int)
AddlineMid(_type, _left, _right, _top, _bot, _xloc, _color, _width)
AddlineMid
@description Draw a midline between top and bottom for FVG or FOB types.
Parameters:
_type (string) : string Type identifier: "fvg" or "fob".
_left (int) : int Left bar index for midline start.
_right (int) : int Right bar index for midline end.
_top (float) : float Top price of the region.
_bot (float) : float Bottom price of the region.
_xloc (string) : string X-axis location type (e.g., xloc.bar_index).
_color (color) : color Line color.
_width (int) : int Line width.
@return line or na Returns the created line or na if type is not recognized.
GetHtfFromLabel(_label)
GetHtfFromLabel
@description Convert a Korean HTF label into a Pine Script timeframe string via handler library.
Parameters:
_label (string) : string The Korean label (e.g., "5분", "1시간").
@return string Returns the corresponding Pine Script timeframe (e.g., "5", "60").
IsChartTFcomparisonHTF(_chartTf, _htfTf)
IsChartTFcomparisonHTF
@description Determine whether a given HTF is greater than or equal to the current chart timeframe.
Parameters:
_chartTf (string) : string Current chart timeframe (e.g., "5", "15", "1D").
_htfTf (string) : string HTF timeframe (e.g., "60", "1D").
@return bool True if HTF ≥ chartTF, false otherwise.
CreateBoxData(_type, _isBull, _useLine, _top, _bot, _xloc, _colorBG, _colorBD, _offset, _htfTf, htfBarIdx, _basePoint)
CreateBoxData
@description Create and draw a box and optional midline for given type and parameters. Returns success flag and BoxData.
Parameters:
_type (string) : string Type identifier: "fvg", "fob", "cob", or "sweep".
_isBull (bool) : bool Direction flag: true for bullish, false for bearish.
_useLine (bool) : bool Whether to draw a midline inside the box.
_top (float) : float Top price of the box region.
_bot (float) : float Bottom price of the box region.
_xloc (string) : string X-axis location type (e.g., xloc.bar_index).
_colorBG (color) : color Background color for the box.
_colorBD (color) : color Border color for the box.
_offset (int) : int HTF bar offset (0 means current HTF bar).
_htfTf (string) : string HTF timeframe string (e.g., "60", "1D").
htfBarIdx (int) : int HTF bar_index (passed from HTF request).
_basePoint (float) : float Base point for breakout checks.
@return tuple(bool, BoxData) Returns a boolean indicating success and the created BoxData struct.
ProcessBoxDatas(_datas, _useMidLine, _closeCount, _colorClose)
ProcessBoxDatas
@description Process an array of BoxData structs: extend, record volume, update stage, and finalize boxes.
Parameters:
_datas (array) : array Array of BoxData objects to process.
_useMidLine (bool) : bool Whether to update the midline endpoint.
_closeCount (int) : int Number of touches required to close the box.
_colorClose (color) : color Color to apply when a box closes.
@return void No return value; updates are in-place.
BoxData
Fields:
_isActive (series bool)
_isBull (series bool)
_box (series box)
_line (series line)
_basePoint (series float)
_boxTop (series float)
_boxBot (series float)
_stage (series int)
_isStay (series bool)
_volBuy (series float)
_volSell (series float)
_result (series string)
LineData
Fields:
_isActive (series bool)
_isBull (series bool)
_line (series line)
_basePoint (series float)
_stage (series int)
_isStay (series bool)
_result (series string)
ICT iFVG Detector and Alert [by ote618]Description
This script detects ICT - fair value gaps (FVG) formed by price gaps between Candle 1 and Candle 3, then monitors the next 5 candles for an inverse fair value gap (iFVG).
What It Detects
Bullish FVG: When Candle 1 high is below Candle 3 low (BISI)
Bearish FVG: When Candle 1 low is above Candle 3 high (SIBI)
Once an FVG is detected, the script checks the next 5 candles:
A Bullish FVG becomes a Bearish IFVG if price closes below Candle 1 high
A Bearish FVG becomes a Bullish IFVG if price closes above Candle 1 low
Only the first bar that validates the FVG triggers the transition to an IFVG.
Visual Output
A shaded rectangle is plotted to mark the original FVG zone (from Candle 1 to Candle 3)
Color-coded:
Red for Bearish IFVG (validated Bullish IG)
Green for Bullish IFVG (validated Bearish IG)
The rectangle extends from Candle 1 to the validating bar
Alerts
You can receive alerts when an FVG becomes an IFVG:
Configurable to fire only on selected timeframes (1m, 5m, 15m, 60m)
Alerts include the direction and the chart timeframe
Settings
Enable Alerts For Timeframe: Choose which timeframe(s) trigger alerts
This tool helps traders identify inverse FVGs (iFVG), a useful ICT concept.
Smart Stop-Loss (SSL)Smart Stop-Loss (SSL) Indicator
Overview
The Smart Stop-Loss (SSL) indicator is an advanced risk management tool designed to help traders set dynamic stop-loss levels based on market structure, volatility, and momentum. Unlike traditional fixed stop-loss methods, SSL adapts to changing market conditions, helping to avoid premature exits while protecting capital during true reversals.
Key Features
1. Volatility-Based Adjustments
- Uses Average True Range (ATR) to measure market volatility
- Automatically widens stop-loss during volatile periods and tightens during calm markets
- Customizable ATR multiplier (default: 1.5x) to adjust sensitivity
2. Market Structure Integration
- Identifies significant swing highs and lows to establish support/resistance levels
- Places stop-loss levels beyond these structural points to avoid common stop hunts
3. Fair Value Gap (FVG) Detection
- Identifies imbalances in order flow that often lead to strong directional moves
- Bullish FVG: A gap up where the current high is below previous low
- Bearish FVG: A gap down where the current low is above previous high
4. Smart Stop-Loss Tightening
- Automatically tightens stop-loss when FVGs are mitigated (filled)
- Uses RSI as a momentum filter to prevent premature adjustments
- Creates a trailing effect that locks in profits as trades move favorably
How to Use
For Long Positions:
1. **Entry**: Look for bullish FVG formations (green step line appears)
2. **Stop-Loss Placement**: Set your stop at or slightly below the green step line
3. **Stop Adjustment**: When price closes above the FVG zone and RSI > 50, the stop will automatically tighten
4. **Exit**: Exit the position when price closes below the green line or when your profit target is reached
For Short Positions:
1. **Entry**: Look for bearish FVG formations (red step line appears)
2. **Stop-Loss Placement**: Set your stop at or slightly above the red step line
3. **Stop Adjustment**: When price closes below the FVG zone and RSI < 50, the stop will automatically tighten
4. **Exit**: Exit the position when price closes above the red line or when your profit target is reached
Real-World Examples
Example 1: Trend Continuation
In an uptrend, when a bullish FVG appears, it often indicates institutional buying pressure. The SSL will place a stop below the swing low with an ATR buffer. As price continues upward and mitigates the FVG, the SSL tightens to protect profits while allowing the trend to continue.
Example 2: Avoiding Premature Exits
During normal market fluctuations, traditional fixed stops might get triggered too early. The SSL's adaptive nature accounts for volatility, keeping you in profitable trades longer by positioning stops beyond noise levels.
Example 3: Protecting Against Reversals
When a true reversal occurs, the momentum filter (RSI) will confirm the change in direction, allowing the SSL to maintain wider protection rather than prematurely tightening in a false move.
Tips for Best Results
1. **Timeframe Selection**: Works best on 1H, 4H and daily charts where market structure is more reliable
2. **Combine with Trend Analysis**: Use in conjunction with trend identification tools
3. **ATR Adjustment**: Increase the ATR multiplier for more volatile instruments
4. **Alert Setup**: Configure the built-in alerts to notify you when stop levels are breached
5. **Visual Confirmation**: The labels show exact stop values to help with order placement
Disclaimer
This indicator is provided for informational and educational purposes only. While it uses advanced techniques to determine potential stop-loss levels, no indicator can predict market movements with certainty. Always manage your risk appropriately and never risk more than you can afford to lose. Past performance is not indicative of future results. The developer of this indicator accepts no liability for trading losses incurred from its use. Always test thoroughly on demo accounts before using in live trading.
cd_mtg_CxThis indicator is designed to show discount / premium zones and price gaps (fvg) on the screen within a rule.
Overview:
As it is known, the price continues its movement with swings and uses some zones to continue or reverse its movement. Commonly used of these zones are named by different traders such as supply / demand, order block, suport/ resistance zone. And again, many traders prefer to be involved in the entry when the price determined with the help of market structure reaches the premium / discount zones.
Expectation from the indicator and how it works:
Identify areas where the price is likely to react.
Zones to be determined for this purpose:
1- Discount / premium zones
2- Mitigation zones with price retesting
3- Price gaps (FVG's)
How is it determined?
1- Tracks the price in the higher timeframe it is alignment with, when the price violates the previous candle in the new candle (high/low), the previous candle's zones between top/bottom - middle levels.
high - middle => premium zone
low - middle => discount zone
and displays it on the screen.
2- Mitigation zones: When the price retests the discount/premium zones, those zones appear on the screen by extending to the last bar and are named as mitigation zones in the indicator.
3- Price gaps (FVG's): It is shown on the screen with known rules and higher time frame option.
Zones where the price does not respect are deleted from the display.
Settings:
- HTF for mitigation zones : Alignment high time frame selection
- HTF for FVG zones : Alignment high time frame selection
- Show HTF boxes : Show / hide
- Show Mitigation zones : Show / hide
- Show Discount/Premium zones: Show / hide
- Show FVG zones : Show / hide
And colors….
Screenshots and example :
The 15m chart is open on the screen and I select the alignment time zone H4. I select the higher time zone H1 in FVGs.
Screenshot with Show HTF boxes and Show FVG zones selected:
With show discount / premium zones selected :
With show mitigation zones selected :
Final Word : When the price comes to our zone, we take action together with other confirmations.
Our expectation from the zones is to send the price back to the region it came from.
If it is not successful, we should plan a reverse transaction.
Cheerful trades...
-- Türkçe Açıklama
Bu indikatör, bir kural dahilinde ucuzluk / pahalılık bölgelerini ve fiyat boşluklarını (fvg) ekranda göstermek ve traderlara en uygun yerde işlem fırsatı sunmak üzere tasarlanmıştır.
Genel Bakış :
Bilindiği gibi fiyat hareketine salınımlarla devam eder ve hareketine devam etmek ya da tersine dönmek için bazı bölgeleri kullanır. Bu bölgelerin yaygın şekilde kullanılanları supply / demand, order block , support /resistance zone gibi farklı ekollerce adlandırılmıştır. Ve yine birçok trader market yapısı yardımla belirlediği fiyatın ucuzluk / pahalılık bölgelerine gelmesiyle işleme dahil olmayı tercih eder.
İndikatörden beklenti ve nasıl çalışır:
Beklenti; Fiyatın tepki alması muhtemel bölgeleri belirlemesidir.
Bu amaçla belirleyeceği bölgeler:
1- Ucuzluk / pahalılık bölgeleri
2- Fiyatın tekrar test etmesiyle “mitigasyon bölgeleri/mitige”
3- Fiyat boşlukları (FVG ler)
Nasıl belirler ?
1- Fiyatı uyumlu olduğu üst zaman diliminde takip eder, fiyat yeni mumda bir önceki mumu ihlal ettiğinde (high/low), önceki mumun tepe/dip - orta seviyeleri arasında kalan bölgeleri
high - middle => premium zone
low - middle => discount zone
olarak belirler ve ekranda gösterir.
2- Mitigasyon bölgesi: Fiyat ucuzluk/ pahalılık bölgeleri yeniden test ettiğinde, o bölgeler son bara uzatılarak ekranda görünür ve indikatörde ismi “mitigation zone” olarak geçer.
3- Fiyat boşlukları (FVG) : Bilinen kurallarla ve üst zaman dilimi seçeneğiyle ekranda gösterilir.
Fiyatın saygı göstermediği bölgeler ekrandan silinir.
Ayarlar:
- HTF for mitigation zones : Uyumlu üst zaman dilimi seçimi
- HTF for FVG zones : Uyumlu üst zaman dilimi seçimi
Gösterim ve renk seçenekleri.
Ekran görüntüleri ve örnek : (İngilizce kısımda)
Son söz : Fiyat bölgemize geldiğinde diğer konfirmelerle birlikte işlem alıyoruz.
Bölgelerden beklentimiz fiyatı geldiği bölgeye tekrar göndermesidir.
Eğer başarılı olamazsa tersi yönde işlem planlamalıyız.
Neşeli tradeler...
Flux Charts - PAT Automation💎 GENERAL OVERVIEW
The PAT Automation is a powerful and versatile tool designed to help traders rigorously test their trading strategies against historical market data. With an array of advanced settings, traders can fine-tune their strategies, assess performance, and identify key improvements before deploying in live trading environments. This backtester offers a wide range of configurable settings, explained within this write-up.
Features of the PAT Automation:
Step By Step : Configure your strategy step by step, which will allow you to have OR & AND logic in your strategies.
Highly Configurable : Offers multiple parameters for fine-tuning trade entry and exit conditions.
Multi-Timeframe Analysis : Allows traders to analyze multiple timeframes simultaneously for enhanced accuracy.
Provides advanced stop-loss, take-profit, and break-even settings.
Incorporates volume-based conditions, liquidity grabs , order blocks , market structures and fair value gaps for refined strategy execution.
🚩 UNIQUENESS
The PAT Automation stands out from conventional backtesting tools due to its unparalleled flexibility, precision, and advanced trading logic integration. Key factors that make it unique include:
✅ Comprehensive Strategy Customization – Unlike traditional backtesters that offer basic entry and exit conditions, PAT Automation provides a highly detailed parameter set, allowing traders to fine-tune their strategies with precision.
✅ Multi-Timeframe Price Action Features – This is the first-ever tool that allows traders to backtest price action with multi-timeframe features such as Fair Value Gaps (FVGs), Inversion Fair Value Gaps (IFVGs), Order Blocks & Breaker Blocks.
✅ Customizable Take-Profit Conditions – Offers various methods to set take-profit exits, including using core features from price action, and fixed exits like ATR, % change or price change, enabling traders to tailor their exit strategies to specific market behaviors.
✅ Customizable Stop-Loss Conditions – Provides several ways to set up stop losses, including using concepts from price action and trailing stops or fixed exits like ATR, % change or price change, allowing for dynamic risk management tailored to individual strategies.
✅ Integration of External Indicators – Allows the inclusion of other indicators or data sources from TradingView for creating strategy conditions, enabling traders to enhance their strategies with additional insights and data points.
By integrating these advanced features, PAT Automation ensures that traders can rigorously test and optimize their strategies with great accuracy and efficiency.
📌 HOW DOES IT WORK?
The first setting you will want to set it the pyramiding setting. This setting controls the number of simultaneous trades in the same direction allowed in the strategy. For example, if you set it to 1, only one trade can be active in any time, and the second trade will not be entered unless the first one is exited. If it is set to 2, the script will handle both of them at the same time. Note that you should enter the same value to this pyramiding setting, and the pyramiding setting in the "Properties" tab of the script for this to work.
For deep backtesting, you can set "Max Distance To Last Bar" to "Unlimited". If you encounter any memory issues, try decreasing this setting to a lower value.
You can enable and set a backtesting window that will limit the entries to between the start date & end date.
Then, you can enter your desired settings to Price Action features like FVGs, IFVGs, Order Blocks, Breaker Blocks, Liquidity Grabs, Market Structures, EQH & EQL and Volume Imbalances. You can also enable and set up to 3 timeframes, which you can use later on when customizing your strategies enter / exit conditions.
Entry Conditions
From the "Long Conditions" or the "Short Conditions" groups, you can set your position entry conditions. For settings like "initial capital" or "order size", you can open the "Properties" tab, where these are handled.
The PAT Automation can use the following conditions for entry conditions :
1. Order Block (OB)
Detection: Triggered when an Order Block forms or is detected
Retest: Triggered when price retests an Order Block. A retest is confirmed when a candle enters an Order Block and closes outside of it.
Retracement: Triggered when price touches an Order Block
Break: Triggered when an Order Block is invalidated by candle close or wick, depending on the user's input.
2. Breaker Block (BB)
Detection: Triggered when a Breaker Block forms or is detected
Retest: Triggered when price retests a Breaker Block. A retest is confirmed when a candle enters a Breaker Block and closes outside of it.
Retracement: Triggered when price touches a Breaker Block
Break: Triggered when a Breaker Block is invalidated by candle close or wick, depending on the user's input.
3. Fair Value Gap (FVG)
Detection: Triggered when an FVG forms or is detected
Retest: Triggered when price retests an FVG. A retest is confirmed when a candle enters an FVG and closes outside of it.
Retracement: Triggered when price touches an FVG
Break: Triggered when an FVG is invalidated by candle close or wick, depending on the user's input.
4. Inversion Fair Value Gap (IFVG)
Detection: Triggered when an IFVG forms or is detected
Retest: Triggered when price retests an IFVG. A retest is confirmed when a candle enters an IFVG and closes outside of it.
Retracement: Triggered when price touches an IFVG
Break: Triggered when an IFVG is invalidated by candle close or wick, depending on the user's input.
5. Break of Structure (BOS)
Detection: Triggered when a BOS forms or is detected
6. Change of Character (CHoCH)
Detection: Triggered when a CHoCH forms or is detected
7. Change of Character Plus (CHoCH+)
Detection: Triggered when a CHoCH+ forms or is detected
8. Volume Imbalance (VI)
Detection: Triggered when a Volume Imbalance forms or is detected
9. Equal High (EQH)
Detection: Triggered when an EQH is detected
10. Equal Low (EQL)
Detection: Triggered when an EQL is detected
11. Buyside Liquidity Grab
Detection: Triggered when a liquidity grab occurs at Buyside Liquidity (BSL).
12. Sellside Liquidity Grab
Detection: Triggered when a liquidity grab occurs at Sellside Liquidity (SSL).
🕒 TIMEFRAME CONDITIONS
The PAT Automation supports Multi-Timeframe (MTF) features, just like the Price Action Toolkit. When setting an entry condition, you can also choose the timeframe.
To set up MTF conditions, navigate to the 'Timeframes' section in the settings, select your desired timeframes, and enable them. You can choose up to three timeframes.
Once you've selected your timeframes, you can use them in your strategy. When setting long and short entry / exit conditions, you can choose from Timeframe 1, Timeframe 2, or Timeframe 3.
External Conditions
Users can use external indicators on the chart to set entry conditions.
The second dropdown in the external condition settings allows you to choose a conditional operator to compare external outputs. Available options include:
Less Than or Equal To: <=
Less Than: <
Equal To: =
Greater Than: >
Greater Than or Equal To: >=
The position entry conditions work like this ;
Each side has 5 Price Action conditions and 1 Source condition. Each condition can be enabled or disabled using the checkbox on the left side.
For Price Action Conditions, you can set a direction: "Any", "Bullish" or "Bearish".
Then a Price Action Feature, like "FVG" or "Order Block".
The last part of our constructed condition is the alert type, which you can select between "Detection", "Retest", "Retracement" or "Break".
Now you should have a constructed condition, which should look like "Bullish Order Block Retest".
You can select which timeframe should this condition work on from Timeframe 1, 2 or 3. If you select "Any Timeframe", the condition will work for all timeframes.
Lastly select the step of this condition from 1 to 6.
The Source Condition
The last condition on each side is a source condition that is different from the others. Using this condition, you can create your own logic using other indicators' outputs on your chart. For example, suppose that you have an EMA indicator in your chart. You can have the source condition to something like "EMA > high".
The Step System
Each condition has a step number, and conditions are in topological order based on them.
The conditions are executed step by step. This means the condition with step 2 cannot be executed before the condition with step 1 is executed.
Conditions with the same step numbers have "OR" logic. This means that if you have 2 conditions with step 3, the condition with step 4 can trigger after only one of the step 3 conditions is executed.
➕ OTHER ENTRY FEATURES
The PAT Automation allows traders to choose when to execute trades and when not to execute trades.
1. Only Take Trades
This setting lets users specify the time period when their strategy can open or execute trades.
2. Don't Take Trades
This setting lets users specify time periods when their strategy can't open or execute trades.
↩️ EXIT CONDITIONS
1. Exit on Opposite Signal
When enabled, a long position will close when short entry conditions are met, and a short position will close when long entry conditions are met.
2. Exit on Session End
When enabled, positions will be closed at the end of the trading session.
📈 TAKE PROFIT CONDITIONS
There are several methods available for setting take profit exits and conditions.
1. Entry Condition TP
Users can use entry conditions as triggers for take-profit exits. This setting can be found under the long and short exit conditions.
2. Fixed TP
Users can set a fixed TP for exits. This setting can be found under the long and short exit conditions. Users can choose between the following:
Price: This method triggers a TP exit when price reaches a specified level. For example, if you set the Price TP to 10 and buy NASDAQ:TSLA at $190, the trade will automatically exit when the price reaches $200 ($190 + $10).
Ticks: This method triggers a TP exit when price moves a specified number of ticks.
Percentage (%): This method triggers a TP exit when price moves a specified percentage.
ATR: This method triggers a TP exit based on a specified multiple of the Average True Range (ATR).
📉 STOP LOSS CONDITIONS
There are several methods available for setting stop-loss exits and conditions.
1. Entry Condition SL
Users can use entry conditions as triggers for stop-loss exits. This setting can be found under the long and short exit conditions.
2. Fixed SL
Users can set a fixed SL for exits. This setting can be found under the long and short exit conditions. Users can choose between the following:
Price: This method triggers a SL exit when price reaches a specified level. For example, if you set the Price SL to 10 and buy NASDAQ:TSLA at $200, the trade will automatically exit when the price reaches $190 ($200 - $10).
Ticks: This method triggers a SL exit when price moves a specified number of ticks.
Percentage (%): This method triggers a SL exit when price moves a specified percentage.
ATR: This method triggers a SL exit based on a specified multiple of the Average True Range (ATR).
3. Trailing Stop
An explanation & example for the trailing stop feature is present on the write-up within the next section.
Exit conditions have the same logic of constructing conditions like the entry ones. You can construct a Take-Profit Condition & a Stop-Loss Condition. Note that the Take-Profit condition will only work if the position is in profit, regardless of if it's triggered or not. The same applies for the Stop-Loss condition, meaning that it will only work if the position is in loss.
You can also set a Fixed TP & Fixed SL based on the price movement after the position is entered. You have options like "Price", "Ticks", "%", or "Average True Range". For example, you can set a Fixed TP like "5%", and the position will be entered once it moves 5% up in a long position.
Trailing Stop
For the Fixed SL, you also have a "Trailing" stop option, which you can set it's activation level as well. The Trailing stop activation level and it's value are expressed in ticks. Check this scenerio for an example :
We have a ticker with a tick value of $1. Our Trailing Stop is set to 10 ticks and activation level is set to 30 ticks.
We buy 1 contract when the price is $100.
When the price becomes $110, we are in $10 (10 ticks) profit and the trailing stop is now activated.
The current price our stop's on is $110 - $30 (30 ticks), which is the level of $80.
The trailing stop will only move if the price moves up the highest high the price has been after we entered the position.
Let's suppose that price moves up $40 right after our trailing stop is activated. The price will now be $150, and our trailing stop will sit on $150 - $30 (30 ticks) = $120.
If the price is down the $120 level, our stop loss will be triggered.
There is also a "Hard SL" option designed for a backup stop-loss when trailing stops are enabled. You can enable & set this option and if the price goes down before our trailing stop even activates, the position will be exited.
You can also move stop-loss to the break-even (entry price of the position) after a certain profit is achieved using the last setting of the exit conditions. Note that for this to work, you will need to have a Fixed SL set-up.
➕ OTHER EXIT FEATURES
1. Move Stop Loss to Breakeven
This setting allows the strategy to automatically move the SL to Breakeven (BE) when the position is in profit by a certain amount. Users can choose between the following:
Price: This method moves the SL to BE when price reaches a specified level.
Ticks: This method moves the SL to BE when price moves a specified number of ticks.
Percentage (%): This method moves the SL to BE when price moves a specified percentage.
ATR: This method moves the SL to BE when price moves a specified multiple of the Average True Range (ATR).
Example Entry Scenario
To give an example , check this scenario; out conditions are :
LONG CONDITIONS
Bullish Order Block Detection, Step 1
Bullish CHoCH Detection, Step 2
Bullish Volume Imbalance Detection, Step 2
Bullish IFVG Retest, Step 3
First, the strategy needs to detect a Bullish Order Block in order to start working.
After it's detected, now it's looking for either a CHoCH, or a Volume Imbalance to proceed to the next step, the reason for this is that they both have the same step number.
After one of them is detected, the strategy will consistently check all IFVGs for a retest. If the retest occurs, a long position will be entered.
⏰ ALERTS
This indicator uses TradingView's strategy alert system. All entries and exits will be sent as an alert if configured. It's possible to further customize these alerts to your liking. For more information check TradingView's strategy alert customization page: www.tradingview.com
⚙️ SETTINGS
1. Backtesting Settings
Pyramiding: Controls the number of simultaneous trades allowed in the strategy. This setting must have the same value that is entered on the script's properties tab on the settings pane.
Max Distance to Last Bar: Determines the depth of historical data used to prevent memory overload.
Enable Custom Backtesting Period: Restricts backtesting to a specific date range.
Start & End Time Configuration: Define precise start and end dates for historical analysis.
2. Fair Value Gaps Settings
Zone Invalidation: Select between "Wick" and "Close" invalidation.
Filtering: Choose between "Average Range" and "Volume Threshold".
FVG Sensitivity: Ranges from Extreme to Low to detect FVGs with varying strictness.
Allow Gaps: Enables analysis on tickers that have different open-close price gaps.
3. Inversion Fair Value Gaps Settings
Zone Invalidation: Choose between "Wick" and "Close".
4. Order Block Settings
Swing Length: Adjusts the minimum number of bars required for OB formation.
Zone Invalidation Method: Select between "Wick" and "Close".
5. Breaker Block Settings
Zone Invalidation: Set invalidation method as "Wick" or "Close".
6. Liquidity Grabs Settings
Pivot Length: Adjusts the number of bars used to detect liquidity grabs.
Wick-Body Ratio: Defines the proportion of wick-to-body size for liquidity grab detection.
7. Multi-Timeframe Analysis
Enable Up to Three Timeframes: Select and analyze trades across multiple timeframes.
8. Market Structures
Swing Length: Defines the number of bars required for structure shifts.
Includes BOS, CHoCH, CHoCH+ Detection.
9. Equal Highs & Lows
ATR Multiplier: Defines the sensitivity of equal highs/lows detection.
10. Volume Imbalances
Gap Size Sensitivity: Ranges from "Ultra" to "Low".
Disable Overnight Gaps: Filters out volume imbalances occurring due to overnight gaps.
11. Entry Conditions for Long & Short Trades
Multiple Conditions (1-6): Configure up to six independent conditions per trade direction.
Condition Types: Options include Detection, Retest, Retracement, and Break.
Timeframe Specification: Choose between "Any Timeframe", "Timeframe 1", "Timeframe 2", or "Timeframe 3".
Trade Execution Filters: Restrict trades within specific trading sessions.
12. Exit Conditions for Long & Short Trades
Exit on Opposite Signal: Automatically exit trades upon opposite trade conditions.
Exit on Session End: Closes all positions at the end of the trading session.
Multiple Take-Profit (TP) and Stop-Loss (SL) Configurations:
TP/SL based on % move, ATR, Ticks, or Fixed Price.
Hard SL option for additional risk control.
Move SL to BE (Break Even) after a certain profit threshold.
ICT HTF Liquidity Levels /w Alert [MsF]Japanese below / 日本語説明は英文の後にあります。
-------------------------
*This indicator is based on sbtnc's "HTF Liquidity Levels". It's a very cool indicator. thank you.
It has 3 functions: visualization of HTF liquidity (with alert), candle color change when displacement occurs, and MSB (market structure break) line display.
=== Function description ===
1. HTF liquidity (with alert)
Lines visualize the liquidity pools on the HTF bars. Alerts can be set for each TF's line.
Once the price reaches the line, the line is repaint.
To put it plainly, the old line disappears and a new line appears. The line that disappeared remains as a purged line. (It is also possible to hide the purged line with a parameter)
The alert will be triggered at the moment the line disappears. An alert will be issued when you touch the HTF's liquid pools where the loss is accumulated, so you can notice the stop hunting with the alert.
This alert is an original feature of this indicator.
The timeframe of the HTF can't modify. You can get Monthly, weekly, daily and H1 and H4.
Each timeframe displays the 3 most recent lines. By narrowing it down to 3, it is devised to make it easier to see visually. (This indicator original)
2. Displacement
Change the color display of the candlesticks when a bullish candle stick or bearish candle stick is attached. Furthermore, by enabling the "Require FVG" option, you can easily discover the FVG (Fair Value Gap). It is a very useful function for ICT trading.
3. MSB (market structure break)
Displays High/Low lines for the period specified by the parameter. It is useful for discovering BoS & CHoCH/MSS, which are important in ICT trading.
=== Parameter description ===
- HTF LIQUIDITY
- Daily … Daily line display settings (color, line width)
- Weekly … Weekly line display settings (color, line width)
- Monthly … Monthly line display settings (color, line width)
- INTRADAY LIQUIDITY
- 1H … 1H line display settings (color, line width)
- 4H … 4H line display settings (color, line width)
- PURGED LIQUIDITY … Display setting of the line once the candle reaches
- Show Purge Daily … Daily purged line display/non-display setting
- Show Purge Weekly … Weekly purged line display/non-display setting
- Show Purge Monthly … Monthly purged line display/non-display setting
- Show Purge 1H … 1H purged line display/non-display setting
- Show Purge 4H … 4H purged line display/non-display setting
- MARKET STRUCTURE BREAK - MBS
- Loopback … Period for searching High/Low
- DISPLACEMENT FOR FVG
- Require FVG … Draw only when FVG occurs
- Displacement Type … Displacement from open to close? or from high to low?
- Displacement Length … Period over which to calculate the standard deviation
- Displacement Strength … The larger the number, the stronger the displacement detected
-------------------------
このインジケータはsbtncさんの"HTF Liquidity Levels"をベースに作成しています。
上位足流動性の可視化(アラート付き)、変位発生時のローソク色変更、MSB(market structure break)ライン表示の3つの機能を有します。
<機能説明>
■上位足流動性の可視化
上位足の流動性の吹き溜まり(ストップが溜まっているところ)をラインで可視化します。ラインにはアラートを設定することが可能です。
一度価格がラインに到達するとそのラインは再描画されます。
平たく言うと、今までのラインが消えて新しいラインが出現する。という事です。
消えたラインはpurgeラインとして残ります。(パラメータでpurgeラインを非表示にすることも可能です)
アラートはラインが消える瞬間に発報します。上位足の損切り溜まってるところにタッチするとアラートを発報するので、アラートにてストップ狩りに気づくことができます。
このアラート発報については本インジケータオリジナルの機能となります。
表示可能な上位足のタイムフレームは固定です。月足、週足、日足およびH1とH4を表示することができます。
各タイムフレーム、直近から3つのラインを表示します。3つに絞ることで視覚的に見やすく工夫しています。(本インジケータオリジナル)
■変位発生時のローソク色変更
大きな陽線、陰線を付けた場合に、そのローソク足をカラー表示を変更します。
さらに"Require FVG"オプションを有効にすることで、FVG(Fair Value Gap)を容易に発見することができます。ICTトレードにを行うにあたり大変有用な機能となっています。
■MSB(market structure break)ライン表示
パラメータで指定した期間のHigh/Lowをライン表示します。ICTトレードで重要視しているBoS & CHoCH/MSSの発見に役立ちます。
<パラメータ説明>
- HTF LIQUIDITY
- Daily … 日足ライン表示設定(色、線幅)
- Weekly … 週足ライン表示設定(色、線幅)
- Monthly … 月足ライン表示設定(色、線幅)
- INTRADAY LIQUIDITY
- 1H … 1時間足ライン表示設定(色、線幅)
- 4H … 4時間足ライン表示設定(色、線幅)
- PURGED LIQUIDITY … 一度到達したラインの表示設定
- Show Purge Daily … 日足ライン表示/非表示設定
- Show Purge Weekly … 週足ライン表示/非表示設定
- Show Purge Monthly … 月足ライン表示/非表示設定
- Show Purge 1H … 1時間足ライン表示/非表示設定
- Show Purge 4H … 4時間足ライン表示/非表示設定
- MARKET STRUCTURE BREAK - MBS
- Loopback … High/Lowを探索する期間
- DISPLACEMENT FOR FVG
- Require FVG … FVG発生時のみ描画する
- Displacement Type … openからcloseまでの変位か?highからlowまでの変位か?
- Displacement Length … 標準偏差を計算する期間
- Displacement Strength … 変位の強さ(数字が大きいほど強い変位を検出)
Fair Value Gap Oscillator (Expo)█ Overview
The Fair Value Gap Oscillator (Expo) is an indicator based on the concept of Fair Value Gaps. It is a momentum indicator that helps traders identify mispricings in the market over time. The indicator also incorporates volume and volatility to increase its accuracy further. The indicator can be used in both trending and range-bound markets.
FVG occurs when there is an insufficient amount of buyers and sellers in the market for a particular asset. This can cause a sudden and large gap in the asset price, creating an imbalance in the price. This gap can be large enough to prevent traders from entering the market to take advantage of the price discrepancy. This, in turn, leads to a lack of liquidity and further price volatility.
█ How is the Fair Value Gap Oscialltor calculated?
The Fair Value Gap Oscillator is calculated by using historical Fair Value Gapa, volume, and volatility to determine if the market is trading at a discount or premium relative to its historical fair value. It is based on the idea that prices move in fair value cycles and that by looking at the oscillations of FVG data over time, traders can get a deeper insight into how imbalances impact the price over time.
█ Oscillator Trading
Oscillators are technical indicators that are used to measure momentum within a given market. These indicators measure the speed and magnitude of price movements. Traders use oscillators to identify potential entry and exit points in the market. They may look for overbought and oversold conditions, or they may look for divergence between the price of an asset and its oscillator. When these signals are identified, traders can then enter or exit positions accordingly.
█ How to use
It is a momentum indicator that helps traders identify mispricings in the market over time. In addition, the FVG Oscialltor can be used to identify overbought and oversold conditions in the market, as well as trends and leading trend changes.
Trending Indicator
The Fair Value Gap Oscillator can also be used to identify trends in the market. By tracking the FVG over time, investors can identify whether the market is trending up or down.
Leading Indicator
This indicator can be used to identify leading changes in the market’s momentum and price action. It will indicate beforehand when the momentum decreases and a potential trend change is about to come.
Divergences
Leading Indicators are great for identifying divergences. This Fair Value Gap Oscillator is a powerful yet simple tool to spot divergences in the market.
It is important to remember that the Fair Value Gap Oscillator is just one tool in your investment toolbox. It should be used in conjunction with other smart money concept indicators to identify excellent trading opportunities.
█ Indicator Features
Trend FVG
A Trend FVG feature is added to help Trend Traders get a long-term overview of the FVG trend. This feature can be used for the leading FVG calculation to get a predictive FVG trend.
Leading FVG Calculation
The leading calculation makes the Fair Value Gap oscillator sensitive to fair value changes and becomes more leading.
Trend Line
The Trend line feature is a combination of the leading and the long-term trend that can be used as trend confirmation.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Institutional Footprint Marker (MTF) 3.0Institutional Footprint Marker (MTF) 3.0
Indicator Description & Overview
1. Understanding Institutional Buying (IB) and Institutional Selling (IS)
• Concepts:
o Institutional Buying (IB):
Large-scale buying by institutions (e.g., banks, hedge funds, proprietary firms).
Accumulates positions at discounted prices during consolidation or base zones.
Precedes a bullish impulsive move to avoid alerting retail traders.
o Institutional Selling (IS):
Institutions offload holdings at premium prices after price stability (e.g., range or base).
Followed by a bearish impulsive move as they distribute to retail buyers.
• Purpose:
o Identify smart money footprints to align trades with institutional intent.
o Detect zones where institutions accumulate (IB) or distribute (IS) for high-probability setups.
________________________________________
2. SMC + IB/IS: Use & Benefits
• Overview:
o Combines Smart Money Concepts (SMC) with IB/IS zones to track institutional activity.
o Uses SMC signals like Break of Structure (BOS), Change of Character (CHoCH), and liquidity sweeps.
• Benefits:
o Align with Smart Money: Detects institutional accumulation (IB) or distribution (IS) via structure breaks and liquidity traps.
o Refined Entries/Exits: Confirms zone validity using BOS/CHoCH for precise trade timing.
o Filters Fadeouts: Liquidity sweeps validate genuine moves, reducing false signals.
o Higher Accuracy: Combining structure shifts with zone re-entries improves trade precision.
________________________________________
3. Institutional Buying & Selling with SMC: Core Features
• Indicator Overview:
o An advanced price-action-based indicator that identifies IB/IS zones with precision.
o Integrates SMC signals, price structure shifts, and premium/discount logic.
• Key Features:
o IB/IS Zone Achievement Logic:
Tracks price reactions to confirm institutional intent.
Reduces false signals by validating zone quality.
o Auto Fibonacci Mapping:
Plots premium and discount zones based on swing structure.
Identifies optimal entry points within IB/IS zones.
o Zone Visualization:
Displays color-coded, labeled boxes for IB/IS zones.
Ensures clarity in multi-timeframe environments.
o SMC + Zone Combo:
Combines trend logic with zone re-tests for precise reversal/continuation setups.
o Smart Filter Mechanism:
Filters low-quality zones using volume, fakeouts, and structural context.
• Purpose:
o Provides a complete institutional-level toolkit for traders to align with smart money and capture high-probability opportunities.
________________________________________
4. How It Works: Zone Pattern Detection
• Patterns Tracked:
o IBC (Institutional Buy Continue):
Strong bullish impulsive move → brief consolidation → continued bullish trend.
Represents an Institutional Demand Zone.
o IBR (Institutional Buy Reversal):
Bearish move → consolidation base → sharp bullish reversal.
Represents a Reversal Demand Zone.
o ISC (Institutional Sell Continue):
Bearish impulsive move → brief consolidation → continued bearish momentum.
Represents an Institutional Supply Zone.
o ISR (Institutional Sell Reversal):
Bullish move → consolidation → strong bearish reversal.
Represents a Reversal Supply Zone.
• Detection Logic:
o Uses candle formation, strength, volume, and structure logic to identify patterns.
o Pinpoints institutional intent for continuation or reversal setups.
________________________________________
5. Detailed Features of the Indicator
5.1 Trading Mode Logic
• Modes: Manual, Aggressive, Conservative
• Functionality:
o Dynamically adjusts filters (volume multipliers, candle patterns, zone quality) based on mode.
o Conservative Mode: Stricter filters for high-probability setups.
o Aggressive Mode: Looser filters for faster entries.
o Manual Mode: Customizable settings for flexibility.
• Parameters Adjusted:
o Candle body-to-range ratio.
o Volume multipliers.
o SMA-based filters.
• Benefits:
o Eliminates manual tweaking for different trading styles (scalping, swing, investing).
o Avoids overfitting and ensures trades align with smart money interest.
5.2 Base Candle Grouping and Validation
• Feature:
o Accumulates multiple base candles (1–3 or 1–5) before an explosive move.
• Benefit:
o Confirms zone strength by ensuring zones are based on actual accumulation/consolidation, not single weak candles.
5.3 Explosive Candle & Volume Filter
• Feature:
o Identifies explosive breakout candles using:
Candle body-to-range ratio.
ATR-based size threshold.
Above-average volume.
• Benefit:
o Filters out fake breakouts and weak moves for reliable zones.
5.4 Zone Drawing Engine (HTF & LTF)
• Feature:
o Draws colored zones with:
Boxes with borders.
Extension to the right.
Adjustable marking (Wick-to-Wick or Body-to-Wick).
• Benefit:
o Provides visual clarity to spot institutional action instantly.
5.5 Multi-Timeframe Data Management
• Feature:
o Pulls OHLC and volume data from higher timeframes (HTF) and lower timeframes (LTF).
• Benefit:
o Enhances zone accuracy by aligning with broader market context.
5.6 Candle Coloring for Visual Context
• Feature:
o Colors candles based on type:
Bullish Explosive: Green.
Bearish Explosive: Red.
Boring/Base: Blue.
• Benefit:
o Offers visual cues for momentum vs. accumulation phases.
5.7 Auto Entry/SL/TP Plotting with R:R
• Feature:
o Displays:
Entry line with price.
Stop Loss (below/above zone).
Target based on Risk: Reward ratio.
o Extras:
ITM strike price calculation.
Optional % gain/loss label.
• Benefit:
o Enables instant trade planning for options, futures, or intraday setups.
5.8 Zone Achievement & Mitigation Tracking
• Feature:
o Detects price revisits or zone breaks.
o Automatically removes mitigated zones.
• Benefit:
o Keeps charts clean and prevents overtrading invalid zones.
5.9 Premium–Discount Analysis Tools
• Feature:
o Divides zone height into three bands:
Discount: Bottom (buy low).
No-trade Zone: Middle.
Premium: Top (sell high).
• Benefit:
o Refines entry selection for optimal value within zones.
5.10 Label, Border, and Style Controls
• Feature:
o Customizable options for:
Border width, box color, text size.
Toggle labels on/off.
Proximal/distal labeling.
• Benefit:
o Offers UI flexibility for professional or minimalist setups.
________________________________________
6. SMC – CHoCH and BOS Detection Module
• Purpose:
o Detects Change of Character (CHoCH) and Break of Structure (BOS) using swing highs/lows.
o Marks validated institutional demand/supply zones.
• Features:
o Swing High/Low Detection:
Identifies swing points (highest high/lowest low over past candles).
Establishes reference points for structural breaks.
o CHoCH Logic:
Bullish CHoCH: Price breaks above last swing high.
Bearish CHoCH: Price breaks below last swing low.
Signals potential market reversal.
o BOS Logic:
Bullish BOS: Price breaks previous max in an uptrend.
Bearish BOS: Price breaks previous min in a downtrend.
Validates trend continuation for trend-following entries.
o Zone Achievement Marker:
Marks validated IB/IS zones with symbols (e.g., Diamond, Circle) at the Proximal Line.
Indicates high-conviction trade levels.
• Benefits:
o Confirms institutional zones with market structure.
o Enhances trade precision with reversal/continuation signals.
________________________________________
7. Institutional Premium & Discount Detection Module
• Purpose:
o Identifies candles with significant institutional activity using volume spikes, candle body-to-range ratios, and wick analysis.
• Core Logic:
o Detects candles with:
Strong body (large close–open).
Minimal wick interference.
Volume significantly above average.
o Labels candles:
S: Significant volume spikes.
X: Extreme volume spikes.
I: Institutional footprint entries.
X (Low Volume): Volume absorption candles.
• Input Configuration:
o Candle Strength Inputs: Number of candles for volume average (default: 20).
o Volume Multipliers:
Significant: 2.5× average.
Extreme: 3.5× average.
Institutional: 3.5× average.
• Benefits:
o Highlights high-interest institutional candles.
o Differentiates regular activity from aggressive entry points.
________________________________________
8. Smart Money Concept – Structure + FVG + Premium/Discount Zones
• Integrated Features:
o Structure Break Detection (CHoCH/BOS):
Detects highs/lows using user-defined lookback.
Labels as B (Break) or C (Change) for continuation or reversal.
o Fair Value Gap (FVG) Detection:
Identifies bullish/bearish FVGs with auto-mitigation logic.
Marks inefficiency zones for potential smart money re-entries.
o Current Market Structure Display:
Draws real-time high/low structural levels for support/resistance.
o Auto Fibonacci Levels:
Plots customizable levels (e.g., 1.0, 0.78, 0.71, 0.5, 0.0).
Highlights premium (expensive) and discount (cheap) zones.
o Premium/Discount Zone Signals:
Confirms touches at key levels (e.g., 0.71) with FVG and volume validation.
Marks high-probability zones with B (Buy) or S (Sell) labels.
• Benefits:
o Combines volume, structure, and inefficiency logic for high-probability setups.
o Reduces false signals and aids in precise entry/exit planning.
________________________________________
9. Institutional Order Blocks + Fair Value Gaps (FVG)
• Input Settings:
o Toggles for plotting Order Blocks (OB), FVG, and Pivots.
o OB detection modes: Wick-to-Wick, Body-to-Wick, 1–3 candle groups.
o Customizable colors, transparency, and labels.
• OB Detection Logic:
o Bullish OB:
Strong bullish candle + valid OB structure + FVG + volume/delta confirmation.
o Bearish OB:
Same logic in bearish direction.
o OB Types:
OB+/OB-: Significant volume.
OB++/OB--: Extreme volume.
• OB Plotting & Mitigation:
o Plots zones with clear visuals.
o Recolors mitigated OBs and marks with arrows (▼ for Bull OB, ▲ for Bear OB).
• FVG Detection:
o Identifies regular and structure-breaking FVGs.
o Plots as shaded zones with borders.
• Benefits:
o Detects institutional footprints with volume-delta confluence.
o Clearly shows price inefficiencies targeted by smart money.
________________________________________
10. Inside Candle Detection
• Settings:
o Enable Inside Candle Detection: Turns on/off inside candle logic.
o Enable Bar Coloring: Highlights inside candles with a selected color.
o Bar Color: Customizes color for consolidation candles.
• Benefits:
o Visually identifies consolidation zones for breakout setups.
o Enhances clarity in spotting institutional accumulation/distribution.
________________________________________
11. Trend Meter Logic
• Purpose:
o Displays a multi-timeframe trend summary in the top-right corner with arrow symbols.
• Features:
o Enable/Disable: Toggles the trend meter panel.
o Timeframe Selection: Customizable TFs (e.g., Daily, Weekly, Monthly).
o Moving Average Logic: Uses SMA to compare price:
Price > MA → Bullish (▲ green).
Price < MA → Bearish (▼ red).
o Output Display: Table with "Trend" label in green (bullish) or red (bearish).
• Benefits:
o Compact and non-intrusive trend overview.
o Assesses trend alignment across timeframes for better trade decisions.
________________________________________
12. 3-in-1 Colored SMA/EMA
• Features:
o Visibility Controls: Toggle three MAs (short-term, mid-term, long-term).
o Color-Coding:
MA1: Blue (default).
MA2: Gray (default).
MA3: Green (rising), Red (falling).
o Crossover Markers:
MA1 crosses MA2 → Green (+) for bullish, Red (+) for bearish.
• Benefits:
o Customizable and minimalistic trend visualization.
o Highlights momentum shifts for entry/exit triggers.
________________________________________
13. Higher Timeframe Projection Candles View
• Features:
o Projects HTF candles (e.g., Weekly/Monthly) as boxes on LTF charts.
o Supports dual timeframes (e.g., 1W and 1M).
o Smart Shifting: Auto-shifts past candles for new HTF rendering.
o Table Display: Shows status/errors for invalid TF combinations.
o Location Controls: Adjusts gap between TF1 and TF2 for clarity.
• Benefits:
o Aligns micro and macro trends for institutional range analysis.
o Visualizes HTF support/resistance and liquidity zones.
________________________________________
14. No Gaps Candle (Invisible Gap Fill)
• Features:
o Detects bullish/bearish gaps (open vs. close ).
o Filters gaps by minimum % size (default: 3%).
o Fills gaps with transparent candles or colored boxes (Green: bullish, Red: bearish).
o Adjustable opacity and color controls.
• Benefits:
o Smooths chart visuals by filling gaps.
o Tracks liquidity voids for institutional insights.
15. Summary: Why This Indicator is Powerful (Simplified & Deepened)
The IB/IS + SMC Indicator is a game-changer for traders because it combines powerful tools to track smart money (institutional activity) and make trading decisions easier, more accurate, and adaptable to any trading style. Here’s why it stands out, explained simply and deeply:
• Multi-Timeframe Pattern Logic: Understands Institutional Moves Across Charts
o The indicator analyzes price action on multiple timeframes (e.g., 1-minute, 1-hour, daily) to spot where big players like banks and hedge funds are buying (IB) or selling (IS).
o By combining higher timeframe (HTF) context (big-picture trends) with lower timeframe (LTF) precision (entry points), it ensures you’re trading in line with the market’s true direction.
o Why It Matters: This prevents you from being tricked by short-term price noise and aligns your trades with the institutional intent, increasing your win rate.
• Auto Entry, Stop Loss, and Target Planning: Trade Without Guesswork
o The indicator automatically plots entry points, stop losses (SL), and take-profit (TP) levels based on IB/IS zones and Risk:Reward ratios.
o It also shows percentage gain/loss and calculates in-the-money (ITM) strike prices for options or futures trading.
o Why It Matters: You don’t need to manually calculate or draw levels, saving time and reducing errors. It’s like having a pro trader’s blueprint for every trade.
• Mitigation Control: Clean Charts, Focused Trading
o Once a zone is revisited or broken (mitigated), the indicator removes it from the chart to avoid clutter.
o This ensures you only focus on valid, active zones where institutions are still likely to act.
o Why It Matters: A clean chart prevents confusion and stops you from trading outdated or low-probability setups, keeping your strategy sharp.
• Mode-Based Settings: Fits Any Trading Style
o Offers three modes—Conservative, Aggressive, and Manual—to match your trading style (scalping, swing trading, or long-term investing).
o Conservative Mode: Stricter filters for high-confidence trades.
o Aggressive Mode: Faster signals for quick scalping.
o Manual Mode: Lets you customize settings for full control.
o Why It Matters: Whether you’re a fast-paced day trader or a patient investor, the indicator adapts to your needs, making it versatile and user-friendly.
• No Repainting Logic: Trustworthy Signals for Live Trading
o The indicator’s signals don’t change after they appear (no repainting), ensuring reliability in real-time trading.
o It uses real-time data like volume, candle strength, and structure to confirm signals, avoiding false or misleading setups.
o Why It Matters: You can trust the signals to make confident decisions, especially in fast-moving markets, without worrying about the indicator “cheating” by redrawing past signals.
• Combined Power of Tools: A Complete Institutional Trading Toolkit
o The indicator integrates institutional volume analysis (tracking big money moves), market structure detection (CHoCH, BOS), Fair Value Gaps (FVG) (price inefficiencies), premium/discount zones (best entry prices), and mitigation tracking (zone validity).
o Together, these tools create a holistic system that mimics how institutions trade, giving you an edge over retail traders.
o Why It Matters: Instead of juggling multiple indicators, you get one powerful tool that combines everything needed to spot high-probability trades, plan entries/exits, and stay aligned with smart money.
________________________________________
Overall Advantage (Simplified & Deep)
This indicator is like having a smart money GPS for trading. It doesn’t just show you where institutions are buying or selling—it gives you the exact tools to trade alongside them with confidence. By combining multi-timeframe analysis, automatic trade planning, clean chart management, flexible settings, and reliable signals, it simplifies complex institutional strategies into an easy-to-use, all-in-one system. Whether you’re a beginner or a pro, this indicator helps you trade smarter, avoid traps, and capture high-probability opportunities with precision.
Disclaimer:
This indicator is for informational and analytical purposes only and does not provide trade recommendations or financial advice. Trading involves significant risks, and users should conduct their own research, consider their risk tolerance, and consult a financial advisor before making trading decisions. The indicator’s signals are based on historical and real-time data, and past performance does not guarantee future results.
Mech Model - monkertrades x {DeadCatCode}Mech Model - Multi-Timeframe ICT Liquidity & iFVG Trading System
Detailed Methodology & Underlying Concepts
This indicator automates the Inner Circle Trader (ICT) methodology by identifying institutional order flow through liquidity sweeps and inverse Fair Value Gap (iFVG) formations across multiple timeframes.
Core Logic & Calculations
1. Liquidity Level Identification The script tracks four key liquidity pools:
NY session dynamic LQ detection everytime it sweeps high/low Calculates high/low from 18:00-09:30 EST
Session Extremes: Monitors Asia (20:00-23:00), London (02:00-05:00) session highs/lows
Previous Day Levels: Requests PDH/PDL using request.security() with daily timeframe
Dynamic Updates: Liquidity levels update in real-time when swept during NY session
2. Market Structure Analysis
Uses pivot points logic to understand HH.HL parameters
Classifies pivots as Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), Lower Lows (LL)
Stores last 50 pivots for reference in custom PivotPoint type arrays, background calculations to identfy price legs after sweep
3. Fair Value Gap Detection
Bullish FVG: When low > high (gap between candles)
Bearish FVG: When high < low
Stores FVG data including top, bottom, direction, and bar index
Tracks "wicking" - when price touches but doesn't close through FVG
4. Price Leg Formation (Key Innovation) When liquidity is swept:
Bull Leg: Forms after low sweep, connects previous swing high to sweep point
Bear Leg: Forms after high sweep, connects previous swing low to sweep point
Leg remains "active" and extends with continued liquidity breaks
5. iFVG Signal Generation The signal fires when:
An active price leg exists (post-liquidity sweep)
An FVG within the leg range gets "closed through" (not just wicked)
This creates an inverse FVG (iFVG) - the key entry signal
Signal direction matches leg type (bull leg + bull iFVG = buy signal)
6. Multi-Timeframe Synchronization
Uses request.security() to run detection logic on 1m, 2m, 3m, 4m, 5m
All signals display on 1-minute chart via status table
How Traders Use This
Setup Phase: Script identifies when price sweeps overnight/session liquidity
Confirmation: Waits for FVG within the "price leg" to be violated
Entry Signal: iFVG formation provides precise entry point
Target: Typically the next unmitigated FVG on 5-minute timeframe
Key Parameters Users Can Adjust
Session times for different market hours
Visual elements (colors, transparency, line styles)
Timeframe selection (enable/disable 1m-5m)
Wick grace period (0-100 bars)
Signal display mode (triangles vs horizontal lines)
This script essentially automates the manual process ICT traders use to identify institutional footprints through liquidity raids and subsequent rebalancing via FVG mitigation.