Indicatore il più alto / basso di ogni ora con timeframe personalizzabile

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3880 quote
    MartinaMartina
    Participant
    New

    Salve,

    Come si fa a costruire un indicatore che mi evidenzia i valori di apertura e di chiusura più alti/più bassi di ogni ora? Vorrei poter personalizzare il timeframe scelto.

    Esempio: voglio che l’indicatore mi dica il prezzo più alto e più basso tra le 8:00 e le 9:00, tra le 9:00 e le 10:00 etc…

    Grazie mille.

     

    Martina E.

    #3898 quote
    NicolasNicolas
    Keymaster
    Legend

    Ciao, questo è quello che ho codificato in fretta, dovrebbe aiutare a capire il funzionamento. A presto.

    if high[0]>hh then 
     hh=high[0]
    endif
    
    if low[0]<ll then
     ll=low[0]
    endif
    
    if hour>hour[1] then 
     hh=high[0]
     ll=low[0]
    endif
    
    RETURN hh,ll
    #9463 quote
    SFabioSFabio
    Participant
    Average

    Salve, mi aggiungo qui per chiedere: come si fa per avere il prezzo di apertura di ogni barra oraria?

    Grazie

     

    Fabio

Viewing 3 posts - 1 through 3 (of 3 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 il più alto / basso di ogni ora con timeframe personalizzabile


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
Martina @martina Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by SFabioSFabio
10 years, 3 months ago.

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