giorni di chiusura

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #127109 quote
    Gabriele EandiGabriele 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
    robertogozzirobertogozzi
    Moderator
    Legend

    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.
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

giorni di chiusura


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
Summary

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

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