فتح الكثير من المناصب
Results 1 to 4 of 4

Thread: فتح الكثير من المناصب

  1. #1
    هذا هو pseudocode.

    عندما يتم استيفاء الشروط في بيان if تم فتح العديد من المواقف. أنا لا أريد سوى مكان واحد لفتح حتى لو كان المرض يبقى حقيقة.

    ماذا علي أن أفعل؟

    بداية Int ()

    إذا (! ExistPositions ())

    إذا (اشتر)
    OpenBuy ()؛
    عودة (0)؛


    إذا (بيع)
    OpenSell ()؛
    عودة (0)؛




    العودة (0) ؛

  2. #2
    Inserted Code int Allowed_Orders = 10؛ int Begin () if (My_Orders () lt؛ Allowed_Orders) .... your BUY SELL Directions here .... rest of your code goes here return (0)؛/نهاية البداية ()/----------------------------------------- ---- int My_Orders () int Order_Count = 0؛ لـ (int I = 0؛ I lt؛ OrdersTotal ()؛ I ) if (OrderSelect (I، SELECT_BY_POS، MODE_TRADES)) إذا كان (OrderMagicNumber () == MagicNumber) Order_Count return (Order_Count)؛

  3. #3

    Quote Originally Posted by ;
    [code] int Allowed_Orders = 10؛ int Begin () {...
    Thx ، ومع ذلك ، ما هو MagicNumber؟

  4. #4
    الرقم هو الرقم الذي تستخدمه عند فتح طلبك. ثم قد تستخدم عصام هذا كمعرف. لمزيد من المعلومات تحقق:
    http://docs.mql4.com/trading/OrderSend

أذونات النشر

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •  
  • رمز 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.