Pivot su apertura

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #89535 quote
    Hendrix
    Participant
    Senior

    Buongiorno,

    volevo determinare una variabile da inserire su un indicatore che rappresenti il prezzo di apertura + la metà della distanza (50%) del numero di punti che va tra R1 e S1 dei pivot point .

    Ad esempio se il mercato apre a 1000 punti e la differenza tra R1 e S1  dei Pivot è di 200 punti dovrei avere sul grafico una linea con valore pari a 1100.

     

    Grazie

    #89536 quote
    Hendrix
    Participant
    Senior

    E un valore che indichi di conseguenza il valore 900 al ribasso.

     

    Grazie

    #89578 quote
    robertogozzi
    Moderator
    Master

    Ecco fatto (non l’ho colorato, puoi farlo con le proprietà):

    DEFPARAM CalculateOnLastBars = 1000
    Pivt    = (DHigh(1) + DLow(1) + DClose(1))/3  //Pivot
    Res1    = (2*Pivt) - DLow(1)                  //Res1
    Sup1    = (2*Pivt) - DHigh(1)                 //Sup1
    Rialzo  = open + ((Res1 - Sup1) / 2)
    Ribasso = open - ((Res1 - Sup1) / 2)
    RETURN Rialzo AS "Resistenza",Ribasso AS "Supporto"
    
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Pivot su apertura


Supporto Piattaforma: Grafici, Dati e Broker

New Reply
Author
author-avatar
Hendrix @hendrix Participant
Summary

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

Topic Details
Forum: Supporto Piattaforma: Grafici, Dati e Broker
Language: Italian
Started: 01/24/2019
Status: Active
Attachments: 1 files
Logo Logo
Loading...