Liquidity Exchange | SATTAM

Liquidity Exchange | SATTAM
OVERVIEW
This indicator detects "liquidity exchange" setups on Heikin Ashi candles: the moment control shifts between buyers and sellers after a clear directional move. It marks the entry, places the stop at the zone, follows the trade until it closes, and keeps a running statistics table so you can judge the setup on any symbol and timeframe.
The Heikin Ashi candles are calculated internally from real OHLC prices, so the indicator works on a standard candlestick chart or a Heikin Ashi chart. All entries, stops and results use real prices, not synthetic Heikin Ashi prices.
HOW IT WORKS
1) Candle classification (Heikin Ashi):
- Strong bullish: green with no lower wick.
- Strong bearish: red with no upper wick.
- Weak: same color but with an opposite wick, and a body large enough not to be a doji.
- Doji: very small body relative to range (treated as indecision, not a trend candle).
2) Trend: at least 2 consecutive trend candles of the same color (adjustable).
3) Liquidity exchange (entry):
- An opposite trend candle closes beyond the body of the last trend candle.
- Case 1: if the last trend candle is STRONG, a break by a strong or weak opposite candle is valid.
- Case 2: if the last trend candle is WEAK, only a break by a STRONG opposite candle is valid. A break by a weak candle is not traded (optionally shown as a small gray triangle).
4) Stop loss: placed at the zone extreme (highest high for sells, lowest low for buys, over the last trend candles plus the break candle). The trade is stopped only on a candle BODY CLOSE beyond the zone, not on a wick touch.
5) Target:
- Open (default): no fixed target. The trade is held until a body close beyond the zone or an opposite signal, and the realized and maximum R are measured.
- Fixed ratio: optional fixed risk:reward target.
6) Protected trades: if a trade reaches a chosen profit (default 1:1) and then hits the stop, it is counted as "protected" (break-even, 0R), not as a loss.
WHAT YOU SEE ON THE CHART
- Green/red boxes for each trade: red = entry to stop, green = entry to the furthest price reached.
- A small result label at the exit price: win, loss or protected, with the R achieved. Hover it for full details (realized R, max R, entry, stop, exit).
- A dashed stop line for the open trade only.
- Statistics table: trades, wins, protected, losses, win rate, average realized R and average max R.
SETTINGS
- Chart language: Arabic or English (all settings are bilingual).
- Candle definitions: doji body %, strong-candle wick tolerance, minimum trend candles, break level (body or wick).
- Trade management: zone lookback, target mode, fixed R:R, stop buffer, boxes and table.
- Protected trades: profit threshold (R) and color.
- Clean view: compact result labels, number of trade boxes (0 = all), signal size, show buy/sell signals (off by default), weak-break triangles, open-trade lines.
- Optional: mark the 4:01 PM candle high/low (companion idea for the 1-minute chart).
ALERTS
- Buy signal, Sell signal, Weak-candle break.
RECOMMENDED USE
Designed for intraday charts (1m, 5m, 15m) when a clear trend is present. Signals are confirmed on bar close and do not repaint.
NOTES
- The statistics table is a historical measurement on the loaded bars, not a prediction of future results.
- Concept based on the Heikin Ashi "liquidity exchange" approach taught by the HA Decode channel.
DISCLAIMER
This script is for educational and research purposes only and is not financial advice. Past results do not guarantee future performance. Always use your own risk management.
==========================================================
فك شفرة الهايكن آشي - تبادل السيولة
نظرة عامة
يكتشف هذا المؤشر حالات "تبادل السيولة" على شموع الهايكن آشي، وهي اللحظة التي تنتقل فيها السيطرة بين المشترين والبائعين بعد حركة اتجاهية واضحة. يحدد المؤشر الدخول، ويضع الوقف على المنطقة، ويتابع الصفقة حتى إغلاقها، ويعرض جدول إحصائيات لتقييم الفكرة على أي زوج وأي فريم.
شموع الهايكن آشي تُحسب داخلياً من الأسعار الحقيقية، لذلك يعمل المؤشر على الشارت العادي أو شارت الهايكن آشي، وكل الدخول والوقف والنتائج محسوبة بالأسعار الحقيقية وليس بأسعار الهايكن آشي.
طريقة العمل
1) تصنيف الشموع (هايكن آشي):
- صاعدة قوية: خضراء بدون ذيل سفلي.
- هابطة قوية: حمراء بدون ذيل علوي.
- ضعيفة: بنفس اللون لكن لها ذيل معاكس، وجسمها ليس صغيراً كالدوجي.
- دوجي: جسم صغير جداً مقارنة بمدى الشمعة (تردد وليست شمعة اتجاه).
2) الاتجاه: شمعتان اتجاهيتان متتاليتان بنفس اللون على الأقل (قابل للتعديل).
3) تبادل السيولة (الدخول):
- شمعة اتجاهية معاكسة يُغلق جسمها خلف جسم آخر شمعة اتجاه.
- الحالة الأولى: إذا كانت آخر شمعة في الاتجاه قوية، يكفي الكسر بشمعة معاكسة قوية أو ضعيفة.
- الحالة الثانية: إذا كانت آخر شمعة في الاتجاه ضعيفة، لا يُعتمد إلا الكسر بشمعة معاكسة قوية. الكسر بشمعة ضعيفة لا يُدخل فيه (ويمكن إظهاره كمثلث رمادي صغير).
4) وقف الخسارة: على طرف المنطقة (أعلى قمة للبيع، أدنى قاع للشراء، من آخر شموع الاتجاه مع شمعة الكسر). الخروج يكون فقط بإغلاق جسم الشمعة خلف المنطقة، وليس بلمس الذيل.
5) الهدف:
- مفتوح (الافتراضي): بدون هدف ثابت، نستمر بالصفقة حتى إغلاق جسم خلف المنطقة أو ظهور إشارة معاكسة، ويُقاس العائد المحقق وأقصى عائد بوحدات R.
- نسبة ثابتة: هدف اختياري بنسبة عائد إلى مخاطرة محددة.
6) الصفقات المحمية: إذا وصلت الصفقة لربح محدد (الافتراضي 1:1) ثم ضربت الوقف، تُحسب "محمية" (تعادل 0R) وليست خاسرة.
ماذا يظهر على الشارت
- صناديق خضراء وحمراء لكل صفقة: الأحمر من الدخول إلى الوقف، والأخضر من الدخول إلى أبعد نقطة وصل لها السعر.
- علامة نتيجة صغيرة عند سعر الخروج: رابحة أو خاسرة أو محمية مع العائد بوحدات R، وعند تمرير الماوس تظهر التفاصيل كاملة (العائد المحقق، أقصى عائد، الدخول، الوقف، الخروج).
- خط وقف متقطع للصفقة المفتوحة فقط.
- جدول إحصائيات: عدد الصفقات، الرابحة، المحمية، الخاسرة، نسبة النجاح، متوسط العائد المحقق، ومتوسط أقصى عائد.
الإعدادات
- لغة الشارت: عربي أو إنجليزي (كل الإعدادات مكتوبة باللغتين).
- تعريف الشموع: نسبة جسم الدوجي، سماحية الذيل للشمعة القوية، أقل عدد لشموع الاتجاه، مستوى الكسر (الجسم أو الذيل).
- إدارة الصفقة: عدد شموع المنطقة، طريقة الهدف، نسبة الهدف الثابت، هامش الوقف، الصناديق والجدول.
- الصفقات المحمية: حد الربح (R) واللون.
- العرض المختصر: علامة نتيجة مختصرة، عدد الصفقات التي تُرسم لها صناديق (0 = الكل)، حجم الإشارات، إظهار إشارات الشراء والبيع (مغلق افتراضياً)، مثلثات الكسر الضعيف، خطوط الصفقة المفتوحة.
- اختياري: تحديد قمة وقاع شمعة الساعة 4 ودقيقة (فكرة مكملة لفريم الدقيقة).
التنبيهات
- إشارة شراء، إشارة بيع، كسر بشمعة ضعيفة.
الاستخدام المقترح
مصمم للفريمات الصغيرة (دقيقة، 5 دقائق، 15 دقيقة) مع وجود اتجاه واضح. الإشارات تُعتمد بعد إغلاق الشمعة ولا يُعاد رسمها.
ملاحظات
- جدول الإحصائيات قياس تاريخي على الشموع المحملة، وليس توقعاً لنتائج مستقبلية.
- الفكرة مبنية على مفهوم "تبادل السيولة" بشموع الهايكن آشي كما تشرحه قناة فك شفرة الهايكن آشي.
إخلاء مسؤولية
هذا السكربت لأغراض تعليمية وبحثية فقط وليس نصيحة مالية. النتائج السابقة لا تضمن النتائج المستقبلية. استخدم دائماً إدارة المخاطر الخاصة بك.
OVERVIEW
This indicator detects "liquidity exchange" setups on Heikin Ashi candles: the moment control shifts between buyers and sellers after a clear directional move. It marks the entry, places the stop at the zone, follows the trade until it closes, and keeps a running statistics table so you can judge the setup on any symbol and timeframe.
The Heikin Ashi candles are calculated internally from real OHLC prices, so the indicator works on a standard candlestick chart or a Heikin Ashi chart. All entries, stops and results use real prices, not synthetic Heikin Ashi prices.
HOW IT WORKS
1) Candle classification (Heikin Ashi):
- Strong bullish: green with no lower wick.
- Strong bearish: red with no upper wick.
- Weak: same color but with an opposite wick, and a body large enough not to be a doji.
- Doji: very small body relative to range (treated as indecision, not a trend candle).
2) Trend: at least 2 consecutive trend candles of the same color (adjustable).
3) Liquidity exchange (entry):
- An opposite trend candle closes beyond the body of the last trend candle.
- Case 1: if the last trend candle is STRONG, a break by a strong or weak opposite candle is valid.
- Case 2: if the last trend candle is WEAK, only a break by a STRONG opposite candle is valid. A break by a weak candle is not traded (optionally shown as a small gray triangle).
4) Stop loss: placed at the zone extreme (highest high for sells, lowest low for buys, over the last trend candles plus the break candle). The trade is stopped only on a candle BODY CLOSE beyond the zone, not on a wick touch.
5) Target:
- Open (default): no fixed target. The trade is held until a body close beyond the zone or an opposite signal, and the realized and maximum R are measured.
- Fixed ratio: optional fixed risk:reward target.
6) Protected trades: if a trade reaches a chosen profit (default 1:1) and then hits the stop, it is counted as "protected" (break-even, 0R), not as a loss.
WHAT YOU SEE ON THE CHART
- Green/red boxes for each trade: red = entry to stop, green = entry to the furthest price reached.
- A small result label at the exit price: win, loss or protected, with the R achieved. Hover it for full details (realized R, max R, entry, stop, exit).
- A dashed stop line for the open trade only.
- Statistics table: trades, wins, protected, losses, win rate, average realized R and average max R.
SETTINGS
- Chart language: Arabic or English (all settings are bilingual).
- Candle definitions: doji body %, strong-candle wick tolerance, minimum trend candles, break level (body or wick).
- Trade management: zone lookback, target mode, fixed R:R, stop buffer, boxes and table.
- Protected trades: profit threshold (R) and color.
- Clean view: compact result labels, number of trade boxes (0 = all), signal size, show buy/sell signals (off by default), weak-break triangles, open-trade lines.
- Optional: mark the 4:01 PM candle high/low (companion idea for the 1-minute chart).
ALERTS
- Buy signal, Sell signal, Weak-candle break.
RECOMMENDED USE
Designed for intraday charts (1m, 5m, 15m) when a clear trend is present. Signals are confirmed on bar close and do not repaint.
NOTES
- The statistics table is a historical measurement on the loaded bars, not a prediction of future results.
- Concept based on the Heikin Ashi "liquidity exchange" approach taught by the HA Decode channel.
DISCLAIMER
This script is for educational and research purposes only and is not financial advice. Past results do not guarantee future performance. Always use your own risk management.
==========================================================
فك شفرة الهايكن آشي - تبادل السيولة
نظرة عامة
يكتشف هذا المؤشر حالات "تبادل السيولة" على شموع الهايكن آشي، وهي اللحظة التي تنتقل فيها السيطرة بين المشترين والبائعين بعد حركة اتجاهية واضحة. يحدد المؤشر الدخول، ويضع الوقف على المنطقة، ويتابع الصفقة حتى إغلاقها، ويعرض جدول إحصائيات لتقييم الفكرة على أي زوج وأي فريم.
شموع الهايكن آشي تُحسب داخلياً من الأسعار الحقيقية، لذلك يعمل المؤشر على الشارت العادي أو شارت الهايكن آشي، وكل الدخول والوقف والنتائج محسوبة بالأسعار الحقيقية وليس بأسعار الهايكن آشي.
طريقة العمل
1) تصنيف الشموع (هايكن آشي):
- صاعدة قوية: خضراء بدون ذيل سفلي.
- هابطة قوية: حمراء بدون ذيل علوي.
- ضعيفة: بنفس اللون لكن لها ذيل معاكس، وجسمها ليس صغيراً كالدوجي.
- دوجي: جسم صغير جداً مقارنة بمدى الشمعة (تردد وليست شمعة اتجاه).
2) الاتجاه: شمعتان اتجاهيتان متتاليتان بنفس اللون على الأقل (قابل للتعديل).
3) تبادل السيولة (الدخول):
- شمعة اتجاهية معاكسة يُغلق جسمها خلف جسم آخر شمعة اتجاه.
- الحالة الأولى: إذا كانت آخر شمعة في الاتجاه قوية، يكفي الكسر بشمعة معاكسة قوية أو ضعيفة.
- الحالة الثانية: إذا كانت آخر شمعة في الاتجاه ضعيفة، لا يُعتمد إلا الكسر بشمعة معاكسة قوية. الكسر بشمعة ضعيفة لا يُدخل فيه (ويمكن إظهاره كمثلث رمادي صغير).
4) وقف الخسارة: على طرف المنطقة (أعلى قمة للبيع، أدنى قاع للشراء، من آخر شموع الاتجاه مع شمعة الكسر). الخروج يكون فقط بإغلاق جسم الشمعة خلف المنطقة، وليس بلمس الذيل.
5) الهدف:
- مفتوح (الافتراضي): بدون هدف ثابت، نستمر بالصفقة حتى إغلاق جسم خلف المنطقة أو ظهور إشارة معاكسة، ويُقاس العائد المحقق وأقصى عائد بوحدات R.
- نسبة ثابتة: هدف اختياري بنسبة عائد إلى مخاطرة محددة.
6) الصفقات المحمية: إذا وصلت الصفقة لربح محدد (الافتراضي 1:1) ثم ضربت الوقف، تُحسب "محمية" (تعادل 0R) وليست خاسرة.
ماذا يظهر على الشارت
- صناديق خضراء وحمراء لكل صفقة: الأحمر من الدخول إلى الوقف، والأخضر من الدخول إلى أبعد نقطة وصل لها السعر.
- علامة نتيجة صغيرة عند سعر الخروج: رابحة أو خاسرة أو محمية مع العائد بوحدات R، وعند تمرير الماوس تظهر التفاصيل كاملة (العائد المحقق، أقصى عائد، الدخول، الوقف، الخروج).
- خط وقف متقطع للصفقة المفتوحة فقط.
- جدول إحصائيات: عدد الصفقات، الرابحة، المحمية، الخاسرة، نسبة النجاح، متوسط العائد المحقق، ومتوسط أقصى عائد.
الإعدادات
- لغة الشارت: عربي أو إنجليزي (كل الإعدادات مكتوبة باللغتين).
- تعريف الشموع: نسبة جسم الدوجي، سماحية الذيل للشمعة القوية، أقل عدد لشموع الاتجاه، مستوى الكسر (الجسم أو الذيل).
- إدارة الصفقة: عدد شموع المنطقة، طريقة الهدف، نسبة الهدف الثابت، هامش الوقف، الصناديق والجدول.
- الصفقات المحمية: حد الربح (R) واللون.
- العرض المختصر: علامة نتيجة مختصرة، عدد الصفقات التي تُرسم لها صناديق (0 = الكل)، حجم الإشارات، إظهار إشارات الشراء والبيع (مغلق افتراضياً)، مثلثات الكسر الضعيف، خطوط الصفقة المفتوحة.
- اختياري: تحديد قمة وقاع شمعة الساعة 4 ودقيقة (فكرة مكملة لفريم الدقيقة).
التنبيهات
- إشارة شراء، إشارة بيع، كسر بشمعة ضعيفة.
الاستخدام المقترح
مصمم للفريمات الصغيرة (دقيقة، 5 دقائق، 15 دقيقة) مع وجود اتجاه واضح. الإشارات تُعتمد بعد إغلاق الشمعة ولا يُعاد رسمها.
ملاحظات
- جدول الإحصائيات قياس تاريخي على الشموع المحملة، وليس توقعاً لنتائج مستقبلية.
- الفكرة مبنية على مفهوم "تبادل السيولة" بشموع الهايكن آشي كما تشرحه قناة فك شفرة الهايكن آشي.
إخلاء مسؤولية
هذا السكربت لأغراض تعليمية وبحثية فقط وليس نصيحة مالية. النتائج السابقة لا تضمن النتائج المستقبلية. استخدم دائماً إدارة المخاطر الخاصة بك.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.