Visokio website     Downloads     Video tutorials     KnowledgeBase  
Formulae: EMA (Exponential Moving Average) self-referencing formula: R solution - Visokio Forums
Formulae: EMA (Exponential Moving Average) self-referencing formula: R solution
  • Oke369 April 30, 2014 5:01AM
    Good day

    Kindly assist, Please see attached Excel Sheet, The formula I'm calculating is self referencing.
    Cell H15 is average formula, Cell H16 is the start of the new formula where it references the cell above.

    Please advise if any more information is needed.

    thank you
    Attachments
    Stock EMA.xlsx 341K
  • 2 Comments
  •     paola May 8, 2014 9:39AM
    Because of self-referencing the answer is not going to be a simple Omniscope formula. You could use SCRIPT formula or Script operation in the DataManager.
    Similar to http://forums.visokio.com/discussion/2530/formulae-moving-average-on-the-previous-rows-results

    Alternatively you can try using the R operation block.

    We've reclassified this as an idea, so other users can vote to enable self-referencing.
  • dan        dan May 15, 2014 8:12AM
    Hi Stephen,

    I've written an R script for you to do this, you'll find it in DataManager of the IOK file in this zip file. If you have any problems let me know.

    Dan
    Attachments
    EMA.zip 397K

Welcome!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership