indicatore calcolato a partire da una data variabile

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #114009 quote
    Gabriele Battista
    Participant
    Senior

    Ciao ho le necessità di far partire il calcolo di un indicatore personalizzato da una data variabile, è possibile?

    #114021 quote
    robertogozzi
    Moderator
    Legend

    Ecco, metti l’indicatore tra IF e ENDIF:

    If date >= 20190101 then  //indicare la data di partenza
    .
    .
    Endif
    #114036 quote
    Gabriele Battista
    Participant
    Senior

    Grazie. E’ possibile definire la data come variabile per evitare di entrare nel codice e modificarlo ogni volta?

    #114042 quote
    robertogozzi
    Moderator
    Legend

    Si,  puoi aggiungere una variabile, chiamiamola ad esempio MiaData e poi cambiare la riga del mio esempio con

    If date >= MiaData then

    dopodiché dalle proprietà potrai cambiarla quando vuoi.

    #114069 quote
    Gabriele Battista
    Participant
    Senior

    Grazie

Viewing 5 posts - 1 through 5 (of 5 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 calcolato a partire da una data variabile


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by Gabriele Battista
6 years, 9 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 12/01/2019
Status: Active
Attachments: No files
Logo Logo
Loading...