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üllerMoritz 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
    robertogozzirobertogozzi
    Moderator
    Legend
    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.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 robertogozzirobertogozzi
7 years, 10 months ago.

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