Announcement

Collapse
No announcement yet.

For JasonK RE: Moving Linear Reg. Lines

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • For JasonK RE: Moving Linear Reg. Lines

    Hi Jason,
    I just saw your efs. formula for Moving Linear Reg Lines that you posted here in June. Very Impressive! Is there any way to delete the mov. LR & the MA lines & still retain the Mov. Lin. Reg. Lines Channel? I find that the channel works great with the MA Envelope. However, with the other 2 lines, it's a bit much. Thank you.
    Diane

  • #2
    Hello Diane,

    Yes it is possible. What is the exact name of the efs you're referring to? You could also post a copy of it here if you like and I'll show you what lines to modify.
    Jason K.
    Project Manager
    eSignal - an Interactive Data company

    EFS KnowledgeBase
    JavaScript for EFS Video Series
    EFS Beginner Tutorial Series
    EFS Glossary
    Custom EFS Development Policy

    New User Orientation

    Comment


    • #3
      Hi Jason,
      Thanks for your prompt reply. The study is named: MR_MovLinReg2.efs. Your post was on 15 June in response to KuJax's question on Mel's Moving Linear Regression line. I hope this helps identify it for you.
      Diane

      Comment


      • #4
        Hello Diane,

        The easiest thing to do is to change the return statement in main() to the following.

        PHP Code:
        return new Array(B.toFixed(2), vMA.toFixed(2)); 
        The .toFixed() function converts the numbers into strings. The advanced chart will not plot strings on the chart, but will still be able to display the string representation of the values in the cursor label window. That way you can still see what the values are if need be.
        Jason K.
        Project Manager
        eSignal - an Interactive Data company

        EFS KnowledgeBase
        JavaScript for EFS Video Series
        EFS Beginner Tutorial Series
        EFS Glossary
        Custom EFS Development Policy

        New User Orientation

        Comment


        • #5
          Hi Jason,
          The change you indicated worked beautifully! Thank you!
          Diane

          Comment

          Working...
          X