PINE LIBRARY
تم تحديثه MaidongOrderBlockRefiner

Library "MaidongOrderBlockRefiner"
Maidong Order Block Refiner is a Pine Script library designed to refine already-detected order blocks into tighter and more actionable trading zones.
This library does not detect market structure, identify order blocks, or draw zones by itself. Instead, it acts as a reusable refinement layer that accepts an externally confirmed order block origin and returns refined distal and proximal boundaries that can be used by drawing, alert, or setup modules.
Core features:
- Supports both `Demand` and `Supply` order blocks
- Supports `On` / `Off` refinement mode
- Supports `Defensive` and `Aggressive` refinement styles
- Uses ATR-aware width handling to compress oversized zones
- Returns distal and proximal coordinates ready for downstream drawing logic
This library is useful when:
- You already have your own structure or order block detection logic
- You want to compress raw order block ranges into cleaner execution zones
- You want to reuse the same refinement model across multiple indicators
OBRefiner(obType, obRefine, refineMethod, triggerCondition, index)
Parameters:
obType (string)
obRefine (string)
refineMethod (string)
triggerCondition (bool)
index (int)
Maidong Order Block Refiner is a Pine Script library designed to refine already-detected order blocks into tighter and more actionable trading zones.
This library does not detect market structure, identify order blocks, or draw zones by itself. Instead, it acts as a reusable refinement layer that accepts an externally confirmed order block origin and returns refined distal and proximal boundaries that can be used by drawing, alert, or setup modules.
Core features:
- Supports both `Demand` and `Supply` order blocks
- Supports `On` / `Off` refinement mode
- Supports `Defensive` and `Aggressive` refinement styles
- Uses ATR-aware width handling to compress oversized zones
- Returns distal and proximal coordinates ready for downstream drawing logic
This library is useful when:
- You already have your own structure or order block detection logic
- You want to compress raw order block ranges into cleaner execution zones
- You want to reuse the same refinement model across multiple indicators
OBRefiner(obType, obRefine, refineMethod, triggerCondition, index)
Parameters:
obType (string)
obRefine (string)
refineMethod (string)
triggerCondition (bool)
index (int)
ملاحظات الأخبار
v2Fix: Too large total max_bars_back 310201 max 300000 allowed.
مكتبة باين
كمثال للقيم التي تتبناها TradingView، نشر المؤلف شيفرة باين كمكتبة مفتوحة المصدر بحيث يمكن لمبرمجي باين الآخرين من مجتمعنا استخدامه بحرية. تحياتنا للمؤلف! يمكنك استخدام هذه المكتبة بشكل خاص أو في منشورات أخرى مفتوحة المصدر، ولكن إعادة استخدام هذا الرمز في المنشورات تخضع لقواعد الموقع.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
مكتبة باين
كمثال للقيم التي تتبناها TradingView، نشر المؤلف شيفرة باين كمكتبة مفتوحة المصدر بحيث يمكن لمبرمجي باين الآخرين من مجتمعنا استخدامه بحرية. تحياتنا للمؤلف! يمكنك استخدام هذه المكتبة بشكل خاص أو في منشورات أخرى مفتوحة المصدر، ولكن إعادة استخدام هذا الرمز في المنشورات تخضع لقواعد الموقع.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.