Far iniziare una strategia ad una certa ora

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #73888 quote
    volpiemanuelevolpiemanuele
    Participant
    Veteran

    Ciao,

    vorrei sapere quale istruzioni utilizzare per far iniziare a tradare la strategia a partire da Lunedi’ notte alle 00.30. Poi una volta inziata deve tradare di continuo tutti gli altri giorni senza orari e altre limitazioni. Grazie

    #73901 quote
    NicolasNicolas
    Keymaster
    Legend

    Devi creare una variabile con queste condizioni e aggiungerla alla tua decisione di trading, in questo modo:

    timecondition = dayofweek>=1 and time>003000
    
    if timecondition and buycondition then 
      buy at market 
    endif
    #73907 quote
    volpiemanuelevolpiemanuele
    Participant
    Veteran

    Chiaro. Grazie

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

Far iniziare una strategia ad una certa ora


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
Summary

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

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 06/21/2018
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...