HIGH / LOW A MINUTI PREFISSATI

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #173692 quote
    zerozero
    Participant
    New

    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 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Metti 0, non Undefined.

    zero 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

HIGH / LOW A MINUTI PREFISSATI


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
zero @zero Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 07/16/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...