giorni di chiusura

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #127109 quote
    Gabriele Eandi
    Participant
    Junior

    Buongiorno,

    vorrei implementare un mio TS inserendo la chiusura forzata a fine giornata il venerdì sera e tutti i giorni in cui non si presenta l’apertura il giorno successivo, è possibile dire SELL at CLOSE? o EXIT-SHORT at CLOSE? E’ possibile realizzare una IF sul giorno in base a quanto scritto?

    if CurrentDayOfWeek = 5 then

    per quanto riguarda il venerdì, ma è fattibile generalizzarlo in questo modo:

    if DOMANI > OGGI + 1 then

    spero di essermi spiegato.

    Grazie in anticipo

    #127116 quote
    robertogozzi
    Moderator
    Master

    No, purtroppo occorre che tu lo sappia in anticipo ed intervenga manualmente, fermando la strategia per poi farla ripartire. Si può fare solo per il Venerdì perché quel giorno sappiamo che il mercato chiuderà.

    Nel tuo secondo esempio NON è possibile fare riferimento a candele future.

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

giorni di chiusura


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
Summary

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

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 04/20/2020
Status: Active
Attachments: No files
Logo Logo
Loading...