Help Double SL and Target with reversal exit

Forums ProRealTime English forum ProOrder support Help Double SL and Target with reversal exit

Viewing 8 posts - 1 through 8 (of 8 total)
  • #156664

    Hello everyone 🙂 ,

     

    I come to you because I am lost and I spend almost the entire day trying to sort out this problem.

     

    The problem comes from the tp/sl and reversal of the strategy.

     

    I’d like that if the condition “l1” is ok that it buys at market with a sl that is this condition:

    and that it gets a 10 tp. BUT then I’d like that if the results of this trade is negative that it immediatly opens a trade in the other way with the SL condition:

    and a TP of the amount of the losses of the previous trade.

     

    If someone could help me it would be amazing…!

     

    Thanks! 😀

     

     

    Just to help you, here is the base of the code.. 😉

     

    #156670

    I turned it in all the way that I can but I still have some problems :'(

    #156671

    @Robertogozzi, @Nicolas , If you come by do not hesitate if you find something… I would be very grateful…

    #156689

    How and when do you check that the order is turning negative please?

    #156699

    Hello Nicolas,  Happy new year andvery glad to see you here 😀 ,

     

    Maybe I should told it differently:

    I’d like the system to take long or short with this condition:

    This order would have a Take Profit of 10 and the Stop Loss would be :

    Then if the results of this first closed trade is negative that it immediatly opens a trade in the opposite direction (short if it was long / long if it was short) with the (same) SL condition:

     

    The idea of this code is to get a ruban of 20 points above and under the opening of the US market at 15:30 to 22:00. When a full heikin ashi with a “flat ass” exits of the band it should buy or sell (depend if it exits by the top or the bottom). If the trade get 10 points it closed the position and waits for the next day. However, if it had a losses (by exiting the band in the other side) it should immediatly take another trade in the opposite direction of the first one with a take profit equals to the loss of the previous trade.

    With this program I should have only one trade (if it is positive) or two trades (if the first one is a loss ) a day

    Hope it make more sense…

    Thanks so much!

    #156790

    @Nicolas, have you any ideas? :/

    #156858

    Well, so based on these conditions, open the new orders:

     

    #158291

    Topic moved from french forum to english forum as you chose English language in the starting post. Please read posting rules in big yellow box at bottom of the page, thank you.

Viewing 8 posts - 1 through 8 (of 8 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login