HIGH / LOW A MINUTI PREFISSATI

Forums ProRealTime forum Italiano Supporto ProBuilder HIGH / LOW A MINUTI PREFISSATI

Viewing 2 posts - 1 through 2 (of 2 total)
  • #173692

    Buongiorno,

    sto cercando di realizzare un semplice indicatore che mi evidenzi high e low ad un minuto prefissato su grafico a 5 minuti. Ad esempio:

    IF (HOUR=8 AND MINUTE=0) THEN
    EUBH=HIGH
    EUBL=LOW
    ENDIF

    RETURN EUBH,EUBL

    Vorrei però che l’indicatore si annullasse a fine giornata di contrattazione (ad es. Hour=22 and minute=0) ed ho provato con

    IF (HOUR=8 AND MINUTE=0) THEN
    EUBH=HIGH
    EUBL=LOW
    ENDIF

    IF (HOUR=22 AND MINUTE=0) THEN
    EUBH=UNDEFINED
    EUBL=UNDEFINED
    ENDIF

    RETURN EUBH,EUBL

    ma il programma pare non leggere il comando UNDEFINED in questo caso. Potete aiutarmi?

    Grazie!

     

    #173693

    Metti 0, non Undefined.

     

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login