Defparam flatafter solo il venerdì

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #128810 quote
    danistuta
    Participant
    Senior

    E’ possibile attivare questa funzione solo il venerdì alle ore 23?

    Grazie mille

    #128814 quote
    robertogozzi
    Moderator
    Master

    No, puoi usare questo codice in sostituzione:

    If DayOfWeek = 5 and Time = 220000 Then
       Sell at market
       Exitshort at market
    Endif

    ovviamente se un Venerdì è festa non funziona.

    #128815 quote
    danistuta
    Participant
    Senior

    Grazie mille, sempre gentilissimo e disponibile.

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

Defparam flatafter solo il venerdì


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
danistuta @danistuta Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by danistuta
5 years, 9 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 04/29/2020
Status: Active
Attachments: No files
Logo Logo
Loading...