orario chiusura trade e orario fine esecuzione ordine

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #84403 quote
    romanelli4romanelli4
    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
    robertogozzirobertogozzi
    Moderator
    Legend

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

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

    Ok grazie mille

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

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 romanelli4romanelli4
7 years, 11 months ago.

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