come creare un indicatore che operi dalle 0800 alle 2200

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34469 quote
    antomarc0antomarc0
    Participant
    New

    Buonasera.

    Ho creare un indicatore, ma vorrei che l’istogramma si evidenzi solo nelle ore dalle 0900/2200.

    Grazie per la risposta.

    #36221 quote
    antomarc0antomarc0
    Participant
    New

    Buonasera.

    Vorrei che il mio indicatore, che si raffigura con istogramma, evidenzi la sua operatività solo nelle ore che vanno dalle 08,00 e sino alle 18,00. Prima e dopo di queste ore non deve far apparire nessun segnale.

    Cosa devo scrivere nel programma di compilazione?

    Grazie per la risposta.

    USD-Mini-1-1.png USD-Mini-1-1.png
    #40548 quote
    gabrigabri
    Participant
    Master

    Antonmarco,

    assumendo che la variabile che vuoi disegnare si chiami A potresti scrivere magari:

    if time<080000 and time>220000 then
    a=0
    endif
    

    Puoi aggiunger queste righe direttamente prima del comando return

    G

    Nicolas thanked this post
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

come creare un indicatore che operi dalle 0800 alle 2200


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
antomarc0 @antomarc0 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by gabrigabri
9 years, 2 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 05/03/2017
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...