limite orari di trading.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #263116 quote
    Gabriele BattistaGabriele 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
    robertogozzirobertogozzi
    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
    robertogozzirobertogozzi
    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.
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

limite orari di trading.


ProOrder: Trading Automatico & Backtesting

New Reply
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by robertogozzirobertogozzi
1 month, 3 weeks ago.

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