EduardoMattje

McNichollBands

Library "McNichollBands"
This is a library which only functions to make the McNicholl's Bollinger Bands modifications. It's also my first library, so I'll probably screw some things up.

mcNichollBands(alpha, useLogScale, widthMultiplier)
  Calculates the McNicholl's Bollinger Bands modifications.
  Parameters:
    alpha: The alpha constant to be used on the EMA calculations.
    useLogScale: Whether to use the log version of the prices or not.
    widthMultiplier: The number that shall be multiplied by the volatility to form the bands.
  Returns: A tuple containing the lower band, the center line, and the upper band.
ספריית Pine

ברוח TradingView אמיתית, המחבר פרסם את קוד Pine זה כספריית קוד פתוח כך שמתכנתי Pine אחרים מהקהילה שלנו יוכלו לעשות בו שימוש חוזר. כל הכבוד למחבר! אתה יכול להשתמש בספרייה זו באופן פרטי או בפרסומים אחרים בקוד פתוח, אך השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בספרייה זו?

העתק את השורה הבאה והדבק אותה בסקריפט שלך.