RangeLast = range in٪ ... help find the bug ...
Results 1 to 3 of 3

Thread: RangeLast = range in٪ ... help find the bug ...

  1. #1
    2 مرفق (ق) أحاول تصفية بعض الإشارات وجدت ATR قليلا لرؤيتها كثيرا

    كان لديه فكرة بسيطة للمقارنة

    (ارتفاع منخفض)غلق * 1000

    لقد قمت بتعديل رمز على الرغم من عدم العمل بشكل جيد ...

    هناك خطأ في عطلة نهاية الأسبوع. التقاط بيانات خاطئة ...

    الرجاء مساعدة ....

    (إذا كان بإمكانك التفكير في إضافة المزيد من درجة التأهب بدرجة الأداء.)

    شكر




    ***************************

    //p ----------------------------------------------- -------------------
    //| المدى في٪ .mq4 |
    //| |
    //| |
    // ----------------------------------------------- -------------------
    # حقوق الطبع والنشر ملكية حرة
    #property الانضمام مجانًا

    #property indior_separate_window
    #property indior_buffers 1
    #property indior_color1 DodgerBlue
    //- أدخل المعلمات
    extern Int AtrPeriod = 1؛
    //-- مخازن
    double atrBuffer []؛
    double tempBuffer []؛
    // ----------------------------------------------- -------------------
    //| خدمة التهيئة الداخلية المخصصة
    // ----------------------------------------------- -------------------
    int init ()

    string_name
    //- 1 عازلة إضافية تستخدم للعد.
    IndiorBuffers (اثنان) ؛
    //- تشكيلة داخلية
    SetIndexStyle (0، DRAW_HISTOGRAM)؛
    SetIndexBuffer (0، AtrBuffer)؛
    SetIndexBuffer (1، TempBuffer)؛
    //- عنوان DataWindow وتسمية نافذة فرعية داخلية
    short_name = range in٪ AtrPeriod )؛
    IndiorShortName (SHORT_NAME)؛
    SetIndexLabel (0، SHORT_NAME)؛
    //-
    SetIndexDrawBegin (0، AtrPeriod)؛
    //-
    عودة (0)؛

    // ----------------------------------------------- -------------------
    //| متوسط ​​المدى الحقيقي |
    // ----------------------------------------------- -------------------
    بداية int ()

    int I، counted_bars = IndiorCounted ()؛
    //-
    إذا كانت (Barslt؛ = AtrPeriod) عودة (0)؛
    //- أول صفر
    إذا (counted_barslt؛ 1)
    لـ (I = 1؛ ilt؛ = AtrPeriod؛ I ) AtrBuffer [Bars-i] = 0.0؛
    //-
    Id = Bars-counted_bars-1؛
    بينما (IGT؛ = 0)

    مضاعفة عالية = عالية [I]؛
    ضعف منخفض = منخفض [I]؛
    if (Id == Bars-1) TempBuffer [I] = high-low؛
    آخر

    double prevclose = Close [I 1]؛
    TempBuffer [I] = (MathMax (high، prevclose) -MathMin (low، prevclose))Close [I 1] * 1000؛

    أنا--؛

    //-
    إذا (counted_barsgt؛ 0) counted_bars--؛
    int limit = Bars-counted_bars؛
    لـ (I = 0 ؛ ilt ؛ قيود ؛ I )
    AtrBuffer [I] = iMAOnArray (TempBuffer والبارات وAtrPeriod، 0، MODE_SMA، I).
    //-
    عودة (0)؛

    // ----------------------------------------------- -------------------

    https://www.cavemantrading.com/attac...0571487221.mq4

    https://www.cavemantrading.com/tradi...-training.html

  2. #2
    هل أنت متأكد من أن لها علة؟ كان هناك فجوة كبيرة مفتوحة من حوالي 50 نقطة. قبل أكثر من 100.

  3. #3
    1 محاولة (مرفق) هذا واحد قمت بتعديله قليلاً أعتقد أنه رائع ...!
    https://www.cavemantrading.com/attac...3810971629.mq4

أذونات النشر

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