PINE LIBRARY
מעודכן curve

Library "curve"
Regression array Creator. Handy for weights, Auto Normalizes array while holding curves.
curve(_size, _power)
Curve Regression Values Tool
Parameters:
_size: (float) Number of Steps required (float works, future consideration)
_power: (float) Strength of value decrease
Returns: (float[]) Array of multipliers from 1 downwards to 0.
Regression array Creator. Handy for weights, Auto Normalizes array while holding curves.
curve(_size, _power)
Curve Regression Values Tool
Parameters:
_size: (float) Number of Steps required (float works, future consideration)
_power: (float) Strength of value decrease
Returns: (float[]) Array of multipliers from 1 downwards to 0.
הערות שחרור
v3Updated:
display(_array, _timedist, _expandLength, _onbar, _src)
display show curve
Parameters:
_array: Values to draw
_timedist: Show Seconds
_expandLength: Grow over time ( 1/value)
_onbar: Show on bar (overlay)
_src: Value for overlay
Returns: void
הערות שחרור
v4bonus feature, matrix ma with range/atr/momentum weight.
also an example is visible of how it can be applied
__________________
# pass
[historical value dist]
% weight
actual value added to sum
__________________
ספריית Pine
ברוח האמיתית של TradingView, המחבר לפרסם את הקוד של Pine הזה כספרייה בקוד פתוח, כך שמתכנתים אחרים בקהילתנו יעשו שימוש חוזר. כל הכבוד למחבר! ניתן להשתמש בספרייה הזו באופן פרטי או בומים בקוד פתוח, אך השימוש בחוזר בקוד הזה בפרסומים כפוף ל-כללי הבית.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
ספריית Pine
ברוח האמיתית של TradingView, המחבר לפרסם את הקוד של Pine הזה כספרייה בקוד פתוח, כך שמתכנתים אחרים בקהילתנו יעשו שימוש חוזר. כל הכבוד למחבר! ניתן להשתמש בספרייה הזו באופן פרטי או בומים בקוד פתוח, אך השימוש בחוזר בקוד הזה בפרסומים כפוף ל-כללי הבית.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.