SET STOP $LOSS + SET STOP PRICE

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #238727 quote
    Edisone
    Participant
    Average

    Salve, è possibile avere entrambe le condizoni SET STOP PRICE e SET STOP $LOSS ?

    esempio:

    ho impostato un SET STOP PRICE che si stoppa al livello precedentemente definito chiamato StopLivello.

    A prescindere dal livello ho comuque la necessità di avere uno stop economico supponiamo $ 100

    E’ fattibile ? perchè se scrivo il codice cosi, mi ignora il Set Stop Price.

    IF ………. THEN
    SELLSHORT 1 CONTRACTS AT MARKET
    StopLivello = ………..
    TargetPrice = ………..
    SET STOP PRICE StopLivello
    SET STOP $LOSS 100 //(stop comunque non superiore a 100 $)
    SET TARGET PRICE TargetPrice
    ENDIF

    Grazie

    #238729 quote
    robertogozzi
    Moderator
    Master

    Non si può avere più di uno stop loss contemporaneamente. Se ne scrivi più di uno verrà preso per buono sempre l’ultimo che viene eseguito sequenzialmente, dall’alto verso il basso.

    Iván González and Edisone thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

SET STOP $LOSS + SET STOP PRICE


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
Edisone @edisone Participant
Summary

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

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