Indicatore Z-Score

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6808 quote
    tempiotradtempiotrad
    Participant
    New

    Buonasera, vi chiedo se è possibile avere il codice dell’indicatore Z-Score. La formula per ottenerlo è data da: (Close-Media dei close a n periodi)/ Deviazione Standard a n periodi. L’indicatore dovrebbe visualizzare delle Bande a +2 e -2 Deviazioni Standard e il livello 0 (che si ha quando il Close = Media dei Close). Grazie anticipatamente  per l’aiuto

    #6913 quote
    NicolasNicolas
    Keymaster
    Legend

    Ho risposto alla tua richiesta nel forum inglese. Spero si arriva lì.
    Ecco il codice però:

    http://www.prorealcode.com/topic/code-z-score-indicator/#post-6910

    n = 20
    avg=average[n](close)
    st = std[n](close)
    
    zscore = (Close-avg)/st
    
    RETURN zscore
    zscore-formula-prorealtime-1.png zscore-formula-prorealtime-1.png
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

Indicatore Z-Score


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
tempiotrad @tempiotrad Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by NicolasNicolas
10 years, 4 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 05/11/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...