إغلاق اقدم ترتيب معلق؟
Results 1 to 2 of 2

Thread: إغلاق اقدم ترتيب معلق؟

  1. #1
    مرحبا،

    هذا يجب أن يكون سهلاً ، لا أستطيع العمل به ..

    بهذا الرمز:

    Inserted Code void DeleteBuyStop () {for (int i = 10؛ i lt؛ OrdersTotal ()؛ i ) {OrderSelect (i، SELECT_BY_POS، MODE_TRADES)؛ if (OrderSymbol () == Symbol () (OrderMagicNumber () == MagicNumber) (OrderType () == OP_BUYSTOP)) {OrderDelete (OrderTicket ())؛/كتابة (في وظيفة DeleteBuyStopOrderDelete المنفذة) ؛ }}} void DeleteSellStop () {for (int i = 10؛ i lt؛ OrdersTotal ()؛ i ) {OrderSelect (i، SELECT_BY_POS، MODE_TRADES)؛ if (OrderSymbol () == Symbol () (OrderMagicNumber () == MagicNumber) (OrderType () == OP_SELLSTOP)) {OrderDelete (OrderTicket ())؛/كتابة (في وظيفة DeleteSellStopOrderDelete المنفذة) ؛ }}}
    كيف أجعله يحذف الأقدم فقط؟

  2. #2
    هذا بسيط ، يعني ترتيب معلقة الأقدم في OrderTicket () و OrderOpenTime () هو الأصغر.

أذونات النشر

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •  
  • رمز BB مفعل
  • الابتسامات مفعلة
  • رمز[IMG] مفعل
  • رمز [VIDEO] مفعل
  • رمز HTML غير مفعل
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.