RicardoSantos

FunctionArrayReduce

RicardoSantos Wizard تم تحديثه   
Library "FunctionArrayReduce"
A limited method to reduce a array using a mathematical formula.

float_(formula, samples, arguments, initial_value) Method to reduce a array using a mathematical formula.
  Parameters:
    formula: string, the mathematical formula, accepts some default name codes (index, output, previous, current, integer index of arguments array).
    samples: float array, the data to process.
    arguments: float array, the extra arguments of the formula.
    initial_value: float, default=0, a initial base value for the process.
  Returns: float.
Notes:
** if initial value is specified as "na" it will default to the first element of samples.
ملاحظات الأخبار:
v2
Update: supports boolean operations and float variables now.
مكتبة باين

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

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

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

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

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