Tracciare prezzo apertura oraria

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #112608 quote
    SFabioSFabio
    Participant
    Average

    Buongiorno sicuramente è una banalità ( per chi lo sà  ehhh) : è possibile disegnare una linea che indichi il prezzo di apertura di ogni ora ?

    Io ho provato così ma non è preciso:

    if openhour <> openhour[1] then
    a=openhour
    x= open[a]
    endif
    RETURN x

    come da immagine sotto

    Grazie !

    Apertura-oraria.png Apertura-oraria.png
    #112611 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    > Per chiarezza dei messaggi sul Forum di Prorealcode, separate le parti del vostro codice usando il pulsante per l’inserimento del testo del codice (Insert PRT code). << Grazie 🙂

    Il tuo codice va quasi bene, basta togliere qualcosa:

    if openhour <> openhour[1] then
       x = open
    endif
    RETURN x

    Prima tu assegnavi ad A l’ora d’apertura, poi andavi a prendere non l’apertura di quell’ora, bensì l’apertura di un certo numero di candele precedenti. Ad esempio alle ore 10 andavi a prendere l’apertura di 10 candele prima.

    #112617 quote
    SFabioSFabio
    Participant
    Average

    Grazie!  funziona correttamente

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

Tracciare prezzo apertura oraria


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
SFabio @sfabio Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 11/12/2019
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...