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 ผู้เขียนได้ตีพิมพ์รหัส Pine นี้เป็นไลบรารีโอเพนซอร์ซเพื่อให้โปรแกรมเมอร์คนอื่น ๆ จากชุมชนของเราสามารถนำไปใช้ซ้ำได้ ไชโยให้กับผู้เขียน! คุณสามารถใช้ไลบรารีนี้เป็นการส่วนตัวหรือในสิ่งพิมพ์โอเพนซอร์สอื่น ๆ แต่นำรหัสนี้มาใช้ซ้ำในสิ่งพิมพ์จะถูกควบคุมโดย กฎระเบียบการใช้งาน

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการใช้ไลบรารีนี้หรือไม่?

คัดลอกข้อความไปยังคลิปบอร์ดแล้ววางลงในสคริปต์ของคุณ