Programmazione stop loss e take profit variabili

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #55496 quote
    MarcoDSP
    Participant
    Junior

    Salve, non riesco a programmare il codice in modo che il sistema dopo aver aperto una posizione da 2 contratti con stop loss a 40 pip, chiuda con un contratto se la posizione va in guadagno di 20 pip e cambi per il contratto rimanente lo stop loss a 5 pip sopra il prezzo di apertura iniziale e il take profit a 50 pip dal prezzo di apertura iniziale.

    Qualcuno sa come si fà?

    grazie mille

    #55498 quote
    robertogozzi
    Moderator
    Master

    Non puoi programmarlo perché PRT non lo consente.

    Puoi accumulare più contratti in varie tranches, ma quando chiudi devi chiuderli tutti.

    Almeno così è al momento, salvo future modifiche.

    Roberto

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

Programmazione stop loss e take profit variabili


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
MarcoDSP @marco_cardone Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
8 years, 2 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 12/12/2017
Status: Active
Attachments: No files
Logo Logo
Loading...