PINE LIBRARY
מעודכן MaidongLiquidityLibrary

Library "MaidongLiquidityLibrary"
Maidong Liquidity Library is a Pine Script library built to visualize static and dynamic liquidity structures using pivot relationships.
It is designed as a reusable visualization layer for indicators that want to highlight repeated highs, repeated lows, and sloped liquidity lines without embedding all liquidity drawing logic directly in the main script.
Core features:
- Detects static high-side liquidity
- Detects static low-side liquidity
- Detects dynamic high-side liquidity
- Detects dynamic low-side liquidity
- Draws dotted liquidity lines and labels directly on the chart
- Extends nearby liquidity structures into three-point formations when applicable
This library is useful when:
- You want to add a liquidity layer to an SMC-style indicator
- You want to track both repeated highs/lows and sloped liquidity structures
- You want a reusable liquidity visualization module across scripts
LLF(staticPivotPeriod, dynamicPivotPeriod, staticRangeSensitivity, dynamicRangeSensitivity, showStaticHighLiquidity, showStaticLowLiquidity, showDynamicHighLiquidity, showDynamicLowLiquidity)
Parameters:
staticPivotPeriod (int)
dynamicPivotPeriod (int)
staticRangeSensitivity (float)
dynamicRangeSensitivity (float)
showStaticHighLiquidity (bool)
showStaticLowLiquidity (bool)
showDynamicHighLiquidity (bool)
showDynamicLowLiquidity (bool)
Maidong Liquidity Library is a Pine Script library built to visualize static and dynamic liquidity structures using pivot relationships.
It is designed as a reusable visualization layer for indicators that want to highlight repeated highs, repeated lows, and sloped liquidity lines without embedding all liquidity drawing logic directly in the main script.
Core features:
- Detects static high-side liquidity
- Detects static low-side liquidity
- Detects dynamic high-side liquidity
- Detects dynamic low-side liquidity
- Draws dotted liquidity lines and labels directly on the chart
- Extends nearby liquidity structures into three-point formations when applicable
This library is useful when:
- You want to add a liquidity layer to an SMC-style indicator
- You want to track both repeated highs/lows and sloped liquidity structures
- You want a reusable liquidity visualization module across scripts
LLF(staticPivotPeriod, dynamicPivotPeriod, staticRangeSensitivity, dynamicRangeSensitivity, showStaticHighLiquidity, showStaticLowLiquidity, showDynamicHighLiquidity, showDynamicLowLiquidity)
Parameters:
staticPivotPeriod (int)
dynamicPivotPeriod (int)
staticRangeSensitivity (float)
dynamicRangeSensitivity (float)
showStaticHighLiquidity (bool)
showStaticLowLiquidity (bool)
showDynamicHighLiquidity (bool)
showDynamicLowLiquidity (bool)
הערות שחרור
v2ספריית Pine
ברוח האמיתית של TradingView, המחבר לפרסם את הקוד של Pine הזה כספרייה בקוד פתוח, כך שמתכנתים אחרים בקהילתנו יעשו שימוש חוזר. כל הכבוד למחבר! ניתן להשתמש בספרייה הזו באופן פרטי או בומים בקוד פתוח, אך השימוש בחוזר בקוד הזה בפרסומים כפוף ל-כללי הבית.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
ספריית Pine
ברוח האמיתית של TradingView, המחבר לפרסם את הקוד של Pine הזה כספרייה בקוד פתוח, כך שמתכנתים אחרים בקהילתנו יעשו שימוש חוזר. כל הכבוד למחבר! ניתן להשתמש בספרייה הזו באופן פרטי או בומים בקוד פתוח, אך השימוש בחוזר בקוד הזה בפרסומים כפוף ל-כללי הבית.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.