STRATEGIA SULL’INDICE DAX

Forums ProRealTime forum Italiano Supporto ProOrder STRATEGIA SULL’INDICE DAX

Viewing 2 posts - 1 through 2 (of 2 total)
  • #223181

    Buongiorno,

    vorrei implementare una strategia molto semplice sull’indice DAX che mostra degli andamenti settimanali abbastanza ripetitivi.

    In pratica il martedì e il giovedì vorrei aprile una posizione long in apertura di sessione con chiusura alla fine della sessione stessa,

    mentre il venerdì vorrei aprire una posizione short con chiusura a fine sessione.

    Ringrazio in anticipo chi mi può aiutare a implementare questa strategia.

    Marcello Piccinini

    #223185

    // DAX CFD timeframe 30m
    defParam cumulateOrders = false
    positionSize = 1
    //————————–
    if not onMarket and (dayOfWeek = 2 or dayOfWeek = 4) and time = 090000 then
    buy positionSize contracts at market
    endif
    if longOnMarket and time = 173000 then
    sell positionSize contracts at market
    endif

    if not onMarket and dayOfWeek = 5 and time = 090000 then
    sellShort positionSize contracts at market
    endif
    if shortOnMarket and time = 173000 then
    exitShort positionSize contracts at market
    endif

Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login