orario chiusura trade e orario fine esecuzione ordine

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #84403 quote
    romanelli4
    Participant
    Average

    Buongiorno,

    ho un ts che è attivo dalle 8.00 alle 22.00 (apre le posizioni dalle 8.00 e chiude le posizioni alle 22)

    DEFPARAM FLATBEFORE = 080000
    // Cancellare tutti gli ordini in attesa e chiudere tutte le posizioni all’orario “Flat After”
    DEFPARAM FLATAFTER = 220000

    ……………Vorrei però dirgli di non aprire le posizioni dopo le 21.30

    Sapete aiutarmi?

    grazie mille

    #84418 quote
    robertogozzi
    Moderator
    Master

    Dove hai il BUY/SELLSHORT fallo dipendere dall’orario con

    IF MieCondizioni AND time <= 213000 THEN
       BUY...
    ENDIF
    #84419 quote
    romanelli4
    Participant
    Average

    Ok grazie mille

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

orario chiusura trade e orario fine esecuzione ordine


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
romanelli4 @romanelli4 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by romanelli4
7 years, 3 months ago.

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