PROTECTED SOURCE SCRIPT
Alhgaah

The Order BlockS & Breaker Blocks indicator detects order blocks that can be turned into breaker blocks on the .chart automatically once mitigated
Users can determine the amount of bullish and bearish order/breaker blocks that display on their chart from .Within the settings menu
SETTINGS
Swing Lookback: Lookback period used for the detection of the swing .points used to create order blocks
Show Last Bullish OB: Number of the most recent bullish order/breaker blocks to display on
.the chart
Show Last Bearish OB: Number of
the most recent bearish order/breaker blocks to display on
the
chart
目Bu-BB / Be-BB/ Bu -N Be-MB zones (breaker / mitigation blocks)
:Each box has customizable
Fill color
Border color
Text color
Text size
The boxes extend forward and can optionally be deleted when price breaks them or kept and visually
weakened
Support & Resistance Supply/Demand
Zones
Detects swing highs & lows and builds .dynamic supply/demand boxes
Zones are filtered by ATR and relative X volume, So only "meaningful" zones
.are drawn
You can control
Zone width
Whether boxes extend to the right or
both sides
Text size, color, and alignment
separately for supply and demand
:Arabic text inside boxes, such as
منطقة سبلاي خلك جاهز للبيع
منطقة دیماند خلك جاهز للشراء
Moving Average + Smoothing &
Bollinger Bands
:Base MA on price (default SMA) with
Adjustable length
Source (close, hl2, etc.)
Offset
:Optional smoothing MA module
MA type: SMA, EMA, RMA (SMMA), WMA, VWMA
Optional "SMA + Bollinger Bands" mode with adjustable StdDev multiple
Can be used as trend filter or dynamic
.S/R
Price Action Toolkit Lite Logic (UAlgo Market Structure / Liquidity /OB)
Additional market structure using a .separate zigzag length
Order Blocks (bullish & bearish) drawn
from breaks of structure
:Configurable
Show/hide OBS
Number of OBs to display
OB extend behavior (None / Right / Both)
OB color, transparency, border width &
style
Option to Hide OB After Break or keep it and mark it as "broken" (more .transparent+ dotted border)
Liquidity sweeps above highs and :below lows
Draws liquidity lines
Marks sweeps with "x" labels when
身liquidity is taken
X
Optional internal trendlines based on
pivots
LuxAlgo "Trendlines with Breaks" (Merged Module)
Re-implementation of LuxAlgo Trendlines with Breaks inside the
script
:Separate settings group
Enable / disable LuxAlgo trendlines
Swing lookback length
Slope multiplier
Slope calculation method (ATR/ Stdev
/LinReg)
Backpaint on/off
Show extended lines on/off
Up/down trendline colors
:Plots
Upper & lower dynamic trendlines
B" breakout labels when price breaks" .up/down through the trendline
Alerts
MSB alert when market structure
..changes
Alerts for price entering MSB OB/BB .zones (via alert0 calls)
:LUxAlgo trendlines breakout alerts
Upward Breakout
Downward Breakout
How to use the indicator (practical X
Workflow) Basic setup.1
Attach the indicator to your chart (works on any pair / timeframe, but it is especially useful on gold / indices / majors)
Check these setting groups one by
MSB Settings control structure zigzag, label sizes, OB/BB text
Support & Resistance- control supply/demand zones
Moving Average / Smoothing .enable/disable MA & BB filters
Price Action Toolkit Settings /Liquidity /Order Block Settingscontrol .additional OBs & liquidity lines
LUXAlgo Trendlines Settings enable or disable LuxAlgo trendlines and
.breakouts
Typical Long (Buy) idea .2
You can use it as a confluence tool for :longs like this
:Market Context (MSB)
green MSB line) Look for a bullish MSB Arabic labe +"اغلاق فوق الخط شراء").
:Zone Selection
Focus on a Bu-OB / Bu-BB/ demand .zone drawn below current price
Prefer zones that align wit
h a demand .box + MSB Bu-OB at the same area
:Trend Filter
Base MA & smoothing MA pointing up or price trading above MA
:Trigger
Price pulls back into your chosen .bullish zone
You may wait for
Liquidity sweep below recent lows (liquidity "x" label)
A bounce + LuxAlgo upward breakout from the down trendline (Lux "B" .below price)
:Execution & Risk
Entry near the bottom of the Bu-.OB/demand zone after confirmation
Stop loss below the zone
Aargets at next MSB line, supply zone, or opposite liquidity
Typical Short (Sell) idea.3
:Opposite logic
red line + Arabic label) Bearish MSB غلاق تحت الخط أخذ بيع").
Focus on Be-OB /Be- BB / supply zone .above price
MA/ smoothing showing bearish bias .or price below MA
Price taps into the zone, possibly Sweeping liquidity above highs
LUxAlgo downward breakout from an .up trendline (Lux "B" above price)
Entry near top of the zone, stop above it, target next demand / opposite OBI
Recommended way to think about this
indicator
It is not an automatic strategy and
"does not give "blind entry signals
:Itis a visual framework to organize
Market structure (MSB + UAlgo
structure)
Institutional zones (OB / supply /
demand)
Liquidity sweeps
Dynamic MA/Bands
Smart trendlines + breakout points
(LUXAlgo logic)
Use it to build confluence and design
your own rules, for example
Only buy when: bullish MSB +" demand/Bu-OB zone + price above ".MA + Lux up-break
Only sell when: bearish MSB +" supply/Be-OB zone +liquidity taken ".above high + Lux down-break
Credits
Built on top of work by Dev Lucem, Main OB Author, LUxAlgo ("Trendlines with Breaks") and UAlgo ("Price Action .Toolkit Lite")
Users can determine the amount of bullish and bearish order/breaker blocks that display on their chart from .Within the settings menu
SETTINGS
Swing Lookback: Lookback period used for the detection of the swing .points used to create order blocks
Show Last Bullish OB: Number of the most recent bullish order/breaker blocks to display on
.the chart
Show Last Bearish OB: Number of
the most recent bearish order/breaker blocks to display on
the
chart
目Bu-BB / Be-BB/ Bu -N Be-MB zones (breaker / mitigation blocks)
:Each box has customizable
Fill color
Border color
Text color
Text size
The boxes extend forward and can optionally be deleted when price breaks them or kept and visually
weakened
Support & Resistance Supply/Demand
Zones
Detects swing highs & lows and builds .dynamic supply/demand boxes
Zones are filtered by ATR and relative X volume, So only "meaningful" zones
.are drawn
You can control
Zone width
Whether boxes extend to the right or
both sides
Text size, color, and alignment
separately for supply and demand
:Arabic text inside boxes, such as
منطقة سبلاي خلك جاهز للبيع
منطقة دیماند خلك جاهز للشراء
Moving Average + Smoothing &
Bollinger Bands
:Base MA on price (default SMA) with
Adjustable length
Source (close, hl2, etc.)
Offset
:Optional smoothing MA module
MA type: SMA, EMA, RMA (SMMA), WMA, VWMA
Optional "SMA + Bollinger Bands" mode with adjustable StdDev multiple
Can be used as trend filter or dynamic
.S/R
Price Action Toolkit Lite Logic (UAlgo Market Structure / Liquidity /OB)
Additional market structure using a .separate zigzag length
Order Blocks (bullish & bearish) drawn
from breaks of structure
:Configurable
Show/hide OBS
Number of OBs to display
OB extend behavior (None / Right / Both)
OB color, transparency, border width &
style
Option to Hide OB After Break or keep it and mark it as "broken" (more .transparent+ dotted border)
Liquidity sweeps above highs and :below lows
Draws liquidity lines
Marks sweeps with "x" labels when
身liquidity is taken
X
Optional internal trendlines based on
pivots
LuxAlgo "Trendlines with Breaks" (Merged Module)
Re-implementation of LuxAlgo Trendlines with Breaks inside the
script
:Separate settings group
Enable / disable LuxAlgo trendlines
Swing lookback length
Slope multiplier
Slope calculation method (ATR/ Stdev
/LinReg)
Backpaint on/off
Show extended lines on/off
Up/down trendline colors
:Plots
Upper & lower dynamic trendlines
B" breakout labels when price breaks" .up/down through the trendline
Alerts
MSB alert when market structure
..changes
Alerts for price entering MSB OB/BB .zones (via alert0 calls)
:LUxAlgo trendlines breakout alerts
Upward Breakout
Downward Breakout
How to use the indicator (practical X
Workflow) Basic setup.1
Attach the indicator to your chart (works on any pair / timeframe, but it is especially useful on gold / indices / majors)
Check these setting groups one by
MSB Settings control structure zigzag, label sizes, OB/BB text
Support & Resistance- control supply/demand zones
Moving Average / Smoothing .enable/disable MA & BB filters
Price Action Toolkit Settings /Liquidity /Order Block Settingscontrol .additional OBs & liquidity lines
LUXAlgo Trendlines Settings enable or disable LuxAlgo trendlines and
.breakouts
Typical Long (Buy) idea .2
You can use it as a confluence tool for :longs like this
:Market Context (MSB)
green MSB line) Look for a bullish MSB Arabic labe +"اغلاق فوق الخط شراء").
:Zone Selection
Focus on a Bu-OB / Bu-BB/ demand .zone drawn below current price
Prefer zones that align wit
h a demand .box + MSB Bu-OB at the same area
:Trend Filter
Base MA & smoothing MA pointing up or price trading above MA
:Trigger
Price pulls back into your chosen .bullish zone
You may wait for
Liquidity sweep below recent lows (liquidity "x" label)
A bounce + LuxAlgo upward breakout from the down trendline (Lux "B" .below price)
:Execution & Risk
Entry near the bottom of the Bu-.OB/demand zone after confirmation
Stop loss below the zone
Aargets at next MSB line, supply zone, or opposite liquidity
Typical Short (Sell) idea.3
:Opposite logic
red line + Arabic label) Bearish MSB غلاق تحت الخط أخذ بيع").
Focus on Be-OB /Be- BB / supply zone .above price
MA/ smoothing showing bearish bias .or price below MA
Price taps into the zone, possibly Sweeping liquidity above highs
LUxAlgo downward breakout from an .up trendline (Lux "B" above price)
Entry near top of the zone, stop above it, target next demand / opposite OBI
Recommended way to think about this
indicator
It is not an automatic strategy and
"does not give "blind entry signals
:Itis a visual framework to organize
Market structure (MSB + UAlgo
structure)
Institutional zones (OB / supply /
demand)
Liquidity sweeps
Dynamic MA/Bands
Smart trendlines + breakout points
(LUXAlgo logic)
Use it to build confluence and design
your own rules, for example
Only buy when: bullish MSB +" demand/Bu-OB zone + price above ".MA + Lux up-break
Only sell when: bearish MSB +" supply/Be-OB zone +liquidity taken ".above high + Lux down-break
Credits
Built on top of work by Dev Lucem, Main OB Author, LUxAlgo ("Trendlines with Breaks") and UAlgo ("Price Action .Toolkit Lite")
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。