Indicatore CLOSE / MEDIA / MAX / MIN

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #9946 quote
    MaxMax
    Participant
    Average

    Qui di seguito una domanda inviata a ProRealTime :

    Salve,

    volevo costruire un indicatore con questa formula:

    Indicatore = (100*((CLOSE – MEDIA) / (MAX – MEDIA)))

    MAX = valore massimo delle ultime X chiusure
    MIN= valore minimo delle ultime X chiusure
    MEDIA = (MAX + MIN) / 2

     

    E un esempio di risposta :

    X=20
    mymax=highest[X](close)
    mymin=lowest[X](close)
    media=(mymax+mymin)/2
    indicateur=100*((close-media)/(mymax-media))
    
    return indicateur
Viewing 1 post (of 1 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 CLOSE / MEDIA / MAX / MIN


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
Max @max Participant
Summary

This topic contains 1 voice and has 0 replies.

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