limite orari di trading.

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

    come indicare (per ogni time frame): ingressi dopo le ore 10:00, chiusura di operazioni aperte alle 21:00?

    grazie

    #263134 quote
    robertogozzi
    Moderator
    Legend

    Ovviamente vale solo per i timeframe intraday in cui ci sono candele che aprono alle 10:00 e alle 21:00:

    TimeOK = (OpenTime >= 100000) AND (OpenTime < 210000)
    // per entrare a mercato usa TimeOK come condizione aggiuntiva alle tue:
    IF MieCondizioni AND TimeOK THEN
      BUY.....       //oppure SELLSHORT
      .
      .
    ENDIF
    

    Per chiudere alle 21000:

    IF (OpenTime = 210000) THEM
       SELL      AT MARKET
       EXITSHORT AT MARKET
    ENDIF
    
    Iván González thanked this post
    #263135 quote
    robertogozzi
    Moderator
    Legend

    OpenTime è l’ora di APERTURA della candela, se preferisci puoi sostituirla con Time che, invece, è l’ora di CHIUSURA.

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

limite orari di trading.


ProOrder: Trading Automatico & Backtesting

New Reply
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by robertogozzi
5 days, 8 hours ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 08/03/2026
Status: Active
Attachments: No files
Logo Logo
Loading...