Comprare ogni giorno e vendere inizio mese successivo

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

    Ciao,

    mi sto incartando su una strategia che vorrei fuzionasse cosi: compro in un mese ogni giorno all’apertura o chiusura e vendo all’inizio del mese successivo all’apertura o chiusura. Time frame giornaliero. Grazie

    #85180 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Vuoi quindi accumulare posizioni, giorno per giorno, in un mese e venderle all’inizio del mese successivo?  Le vuoi rivendere tutte insieme o separatamente?

    Ho spostato il topic dal supportoProBuilder a quello ProOrder in quanto è una strategia.

    #85182 quote
    volpiemanuelevolpiemanuele
    Participant
    Veteran

    Ciao,

    chiude una alla volta a inizio mese….mi serve per analizzare una serie di informazioni per ogni trade…in sostanza l’importante che abbia il dato della chiusura singola.

    Grazie

    #85183 quote
    robertogozzirobertogozzi
    Moderator
    Legend
    DEFPARAM CumulateOrders = true
    IF Month <> Month[1] THEN
       SELL AT MARKET             //vendi tutto ad inizio mese
    ENDIF
    BUY 1 CONTRACT AT MARKET      //accumula ogni giorno
    
    #85206 quote
    volpiemanuelevolpiemanuele
    Participant
    Veteran

    Ciao,

    grazie funziona. Per ora grazie.

    Emanuele

Viewing 5 posts - 1 through 5 (of 5 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

Comprare ogni giorno e vendere inizio mese successivo


ProOrder: Trading Automatico & Backtesting

New Reply
Author
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by volpiemanuelevolpiemanuele
7 years, 10 months ago.

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