الوصف
وصف الكود: SimpleBreakoutTrailingBot
ينفذ هذا الكود روبوت تداول (cBot) مصمم لتنفيذ استراتيجية اختراق بسيطة مع إدارة مركز ديناميكية باستخدام وقف متحرك استجابة.
📝 الوظائف الأساسية
- استراتيجية الدخول (تنفذ على
OnBar): -
- يتحقق الروبوت مما إذا كان سعر إغلاق الشمعة الحالية يكسر فوق الأعلى (
breakoutHigh) أو تحت الأدنى (breakoutLow) لشمعة سابقة محددة (BreakoutBarIndex). - إذا كسر سعر الإغلاق الأعلى، ينفذ الروبوت أمر شراء.
- إذا كسر سعر الإغلاق الأدنى، ينفذ الروبوت أمر بيع.
- يتم فتح المركز مع وقف خسارة ابتدائي (
StopLossPips) وربح محتمل اختياري (TakeProfitPips).
- يتحقق الروبوت مما إذا كان سعر إغلاق الشمعة الحالية يكسر فوق الأعلى (
- إدارة المركز (تنفذ على
OnTick): -
- تعمل دالة
UpdateTrailingStopعند كل تغير في السعر (OnTick) لمراقبة المركز بشكل لحظي. - يتم تفعيل الوقف المتحرك فقط عندما يصل المركز إلى حد الربح الأدنى المحدد بواسطة
TrailingStartPips. - بمجرد التفعيل، يتبع وقف الخسارة سعر السوق بمسافة ثابتة (
TrailingStepPips)، مما يضمن زيادة الربح المؤمّن باستمرار مع تحرك السعر لصالح المركز.
- تعمل دالة
باختصار: يركز هذا الروبوت على التقاط زخم السعر من اختراق شريط بسيط وإدارة المخاطر والمكافأة بشكل ديناميكي من خلال وقف متحرك سريع ومستمر.
الملخص
AI summary
BREAKOUT PROFIT is a trading robot (cBot) implementing a simple breakout strategy combined with dynamic position management via a trailing stop. The bot monitors bar closing prices to detect breakouts above a specified previous bar’s high or below its low. Upon breakout, it opens a buy or sell position with an initial stop loss and optional take profit set in pips.
Position management runs on every price tick, activating a trailing stop once the position reaches a defined minimum profit threshold. The trailing stop then follows the market price at a fixed distance, locking in profits as the price moves favorably.
This bot is designed to capture momentum from bar breakouts and manage risk and reward dynamically through continuous trailing stop adjustments. It supports trading on symbols including EURUSD, GBPUSD, and XAUUSD (gold).
Position management runs on every price tick, activating a trailing stop once the position reaches a defined minimum profit threshold. The trailing stop then follows the market price at a fixed distance, locking in profits as the price moves favorably.
This bot is designed to capture momentum from bar breakouts and manage risk and reward dynamically through continuous trailing stop adjustments. It supports trading on symbols including EURUSD, GBPUSD, and XAUUSD (gold).
ملف تعريف التداول
تقييمات العملاء
0.0
التقييمات: 0
تقييمات العملاء
لا توجد تقييمات لهذا المنتج حتى الآن. هل جرَّبته بالفعل؟ كن أول من يخبر الآخرين!
مناقشة
الأسئلة الشائعة
Breakout
EURUSD
GBPUSD
XAUUSD
يتم توفير المنتجات المتاحة من خلال cTrader Store، بما في ذلك روبوتات التداول والمؤشرات والإضافات، من قبل مطوري الطرف الثالث وإتاحتها لأغراض الوصول المعلوماتي والفني فقط. cTrader Store ليس وسيطًا ولا يقدم نصائح استثمارية أو توصيات شخصية أو أي ضمان للأداء المستقبلي.
السعر
منذ 30/09/2025
