SL or TP Auto Adjustment

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #91077 quote
    PEDRAM.JOKAR
    Participant
    Average

    Hi

    is there any feature in PRT to define price levels to change and adjust SL or TP automatically when in market? Should it be coded in auto-trading? How?

    #91079 quote
    robertogozzi
    Moderator
    Master

    You can:

    #91089 quote
    PEDRAM.JOKAR
    Participant
    Average

    I am sorry if i may not conveyed my question properly. Actually, I want an automated way to adjust Stop Loss level based on changing price. for example, if price reached certain level then put stop loss at a new defined level.

    #91090 quote
    robertogozzi
    Moderator
    Master
    #91556 quote
    PEDRAM.JOKAR
    Participant
    Average

    let’s say we are entered Long on market at price 0.1111 and put Stop Loss at 0.1100 manually. I wish to adjust SL to the price 0.1110 when price reached to 0.1121 automatically.

    could below code be applied by auto trading for my purpose?

    defparam CUMULATEORDERS=false
    
    V1= 0.1121   //price//
    V2= 1 //PIPS//
    c1=low crosses over v1
    
    if longonmarket and c1 then
    SET STOP PLOSS v2
    endif
    #91561 quote
    robertogozzi
    Moderator
    Master

    ProOrder cannot deal with manually opened trades.

    ProOrder will stop a strategy if a trade that has been  opened automatically is later modified/closed manually.

    #91596 quote
    PEDRAM.JOKAR
    Participant
    Average

    so, no other method than pro order to fulfill my purpose?

    #91600 quote
    robertogozzi
    Moderator
    Master

    It can’t be done.

    #91616 quote
    Nicolas
    Keymaster
    Master

    You can add an automatic trailing stop to a manual order:

    [youtube]https://youtu.be/jmKZYsy3MQw?t=134[/youtube]

    PEDRAM.JOKAR thanked this post
    add-trailing-stop-to-order-prorealtime.png add-trailing-stop-to-order-prorealtime.png
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.

SL or TP Auto Adjustment


Platform Support: Charts, Data & Broker Setup

New Reply
Author
Summary

This topic contains 8 replies,
has 3 voices, and was last updated by Nicolas
7 years ago.

Topic Details
Forum: Platform Support: Charts, Data & Broker Setup
Language: English
Started: 02/11/2019
Status: Active
Attachments: 1 files
Logo Logo
Loading...