ordini con 2 target

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #160088 quote
    trinitario68
    Participant
    New

    Buonasera,

    vorrei sapere come fare ad impostare un ordine con 2 target, al primo target voglio chiudere una parte dei lotti e la restante al raggiungimento del secondo target.

    #160089 quote
    robertogozzi
    Moderator
    Master

    Se hai aperto una posizione LONG di 2 contratti puoi piazzare due ordini pendenti per chiuidere 1 contratto ciascuno, scrivendo:

    SELL 1 CONTRACT AT Target1 LIMIT
    SELL 1 CONTRACT AT Target2 LIMIT

    oppure a mercato, quando il prezzo raggiunge il target:

    IF LongOnMarket AND abs(CountOfPosition) = 2 AND high >= Target1 THEN    //puoi usare CLOSE invece di HIGH
       SELL 1 CONTRACT AT MARKET
    ELSIF LongOnMarket AND abs(CountOfPosition) = 1 AND high >= Target2 THEN //puoi usare CLOSE invece di HIGH
       SELL 1 CONTRACT AT MARKET
    ENDIF

    quando fai una chiusura parziale è bene sempre accertarsi di non scendere mai sotto il minimo richiesto dal broker.

    #160090 quote
    trinitario68
    Participant
    New

    Grazie per la risposta. Ma è necessario ricorrere alla programmazione? Pensavo fosse possibile utilizzando le funzionalità della piattaforma.

    #160094 quote
    robertogozzi
    Moderator
    Master

    Dipende, se fai trading automatico si, altrimenti no.

    Per il trading manuale non posso aiutarti, non lo faccio.

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

ordini con 2 target


Trading Generale: Analisi Mercati & Discrezionale

New Reply
Author
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by robertogozzi
5 years ago.

Topic Details
Forum: Trading Generale: Analisi Mercati & Discrezionale
Language: Italian
Started: 02/01/2021
Status: Active
Attachments: No files
Logo Logo
Loading...