Indicatore CLOSE / MEDIA / MAX / MIN

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #9946 quote
    Max
    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.

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
Logo Logo
Loading...