2 Orari di funzionamento

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #186042 quote
    cimsal
    Participant
    Junior

    scusi come far lavorare un sistema dalle 0,30 alle 8 e dalle 11 alle 22,15,  grazie

    #186055 quote
    robertogozzi
    Moderator
    Master

    Eccolo:

    IF (Time >= 003000  AND Time <= 080000) OR  (Time >= 110000 AND Time <= 221500) THEN
     .
     inserisci qui, all'interno del blocco IF...ENDIF, il tuo codice
     .
    ENDIF

    Questo ti permette di operare solo in quelle fasce orarie, MA NON viene chiusa nessuna operazione in corso alla fine dell’intervallo orario.
    Per chiudere ad una certa ora devi usare un blocco IF…ENDIF simile a quello di sopra indicando l’orario, o gli orari se sono più di uno, sempre composti da 6 cifre (HHMMSS), in cui vuoi chiudere le operazioni.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

2 Orari di funzionamento


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
cimsal @cimsal Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
4 years ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 01/20/2022
Status: Active
Attachments: No files
Logo Logo
Loading...