sleptongems

Multi conditions matrices

sleptongems تم تحديثه   
Library "multi_conditions_matrices"
: facilitate including multiple AND / OR conditions to a script such as two entry / exit inputs groups.

method addConditions(conditions, conditionPair)
  Helper to append conditions to a matrix<bool> condition array
  Namespace types: matrix<bool>
  Parameters:
    conditions (matrix<bool>)
    conditionPair (array<bool>): array<bool> A condition pair , an input can be passed directly to enable

method check(conditions, operatorAnd)
  check several condition within given operator
  Namespace types: matrix<bool>
  Parameters:
    conditions (matrix<bool>)
    operatorAnd (bool): bool true if the operator between condition is AND (default OR)
  Returns: bool Evaluates conditions

isWeekend()

isNightSignal(nightHour, morningHour, timezone)
  Parameters:
    nightHour (int)
    morningHour (int)
    timezone (string)
ملاحظات الأخبار:
v2 -> removed log and updated chart
مكتبة باين

كمثال للقيم التي تتبناها TradingView، نشر المؤلف شيفرة باين كمكتبة مفتوحة المصدر بحيث يمكن لمبرمجي باين الآخرين من مجتمعنا استخدامه بحرية. تحياتنا للمؤلف! يمكنك استخدام هذه المكتبة بشكل خاص أو في منشورات أخرى مفتوحة المصدر، ولكن إعادة استخدام هذا الرمز في المنشور تحكمه قواعد الموقع.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذه المكتبة؟

انسخ النص إلى الحافظة وألصقه في النص البرمجي الخاص بك.