Take Profit placement

Forums ProRealTime English forum ProOrder support Take Profit placement

Viewing 2 posts - 1 through 2 (of 2 total)
  • #141428

    Hello Trader!

    I have a little code problem.
    It’s about the placement of a stop loss and take profit.

    In detail I want to place the Stop Loss e.g. on the level of a moving Averages or e.g. on the low of the last x periods. The take profit order, on the other hand, should be placed in relation to the stop loss.
    Classically, for example, the take profit should be 2 times the stop loss to achieve a ratio of 1:2 for each trade.

    Placing the stop loss is not a problem for me, but I am not able to program the take profit accordingly.

    I am grateful for any help 😀

    #141434

    Once you have yuor stop loss saved in a variable, say SL, it’s just a multiplication:

     

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

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