help needed with: average difference from close to an average

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #86052 quote
    Moritz Müller
    Participant
    Junior

    hi there,

     

    i am currently looking for a way to calculate the average difference (of a certain period of time) of the closing price to a moving average; you could also say a kind of volatility to a certain average which can be predefined.

    i am sure, there is a easy way, but i can’t find it right now – maybe i should start doing the coding throughout the day and not the nights anymore  🙂

    thanks
    Moe

    #86053 quote
    robertogozzi
    Moderator
    Master
    X = average[20](close)     //average of CLOSE
    y = average[20](close - x) //average of difference
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

help needed with: average difference from close to an average


ProBuilder: Indicators & Custom Tools

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
7 years, 2 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 11/30/2018
Status: Active
Attachments: No files
Logo Logo
Loading...