SET STOP $LOSS + SET STOP PRICE

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #238727 quote
    EdisoneEdisone
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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.
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

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 robertogozzirobertogozzi
1 year, 11 months ago.

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