ezrakoper

LIB_TradeAssist

ezrakoper تم تحديثه   
Library "LIB_TradeAssist"
This library is a collection of assistence tools saving me the need to copy same code again and again in my various indicators and strategies.

Slop_Magnitude(val_now, val_older, mult_factor)
  Calculate the slop magnetude betwen current price and an older price. Since the change is usually minimal, we multiply it by def value of 3000 to make it usable.You can optionally pass other multiply factor
  Parameters:
    val_now (float)
    val_older (float)
    mult_factor (float)
  Returns: : Slop angle magnetude
ملاحظات الأخبار:
v2

Added:
moving_avg(ma_type, price, length)
  - calculate moving average using one of the above - SMA, EMA, WMA, ALMA, RMA, VWMA,
  Parameters:
    ma_type (simple string)
    price (simple float)
    length (simple int)
  Returns: : - Moving average value
ملاحظات الأخبار:
v3

Updated:
moving_avg(ma_type, price, length)
  - calculate moving average using one of the above - S MA, EMA, WMA, ALMA, RMA, VWMA,
  Parameters:
    ma_type (simple string)
    price (simple float)
    length (simple int)
  Returns: : - Moving average value
مكتبة باين

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

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

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

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

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