Prezzo di apertura di mezzanotte

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #260513 quote
    StankoStanko
    Participant
    Senior

    Buongiorno.

    Volevo chiedere se il codice per visualizzare il prezzo di apertura del giorno (ore 0) è quello che mostro in allegato o è possibile utilizzare codici o ordini più brevi. Grazie

    Prezzo-Apertura-Mezzanotte.pdf Prezzo-Apertura-Mezzanotte.pdf
    #260538 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Questo è più breve e funziona correttamente (il nuovo giorno fa ripartire IntraDayBarIndex da zero):

    DEFPARAM DrawOnLastBarOnly = true
    ONCE Bar1  = 0
    IF IntraDayBarIndex = 0 THEN
       Bar1 = barindex
       APRI = open
    ENDIF
    DRAWTEXT (APRI ,barindex + 5,APRI+range,Dialog , Standard , 20) coloured (255 ,0,0,255 )
    DRAWSEGMENT (Bar1 ,APRI ,barindex +23,APRI ) coloured (150 ,0,0,150 ) style (dottedline ,4)
    return
    
    Stanko thanked this post
Viewing 2 posts - 1 through 2 (of 2 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

Prezzo di apertura di mezzanotte


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
Stanko @stanko Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
4 months, 4 weeks ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 04/24/2026
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...