coding 2 different exit scenarios

Forums ProRealTime English forum ProOrder support coding 2 different exit scenarios

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

    Hi guys!

    Can someone help me with this code:

    CLOSE if EMA34 crosses over EMA54 or if the price is reached 70 pips from entry

    If any of this conditions match, close the trade.

     

    Thanks in advance

    #92630

    Topic moved to correct forum (about automatic trading) and title changed to a title ” explicit enough to prompt the community to read your discussion. “, please respect some rules while posting, thanks in advance.

    Here is the code you need:

    Long and sell orders are closed in this code, since you didn’t specified which kind of orders you’d like to be closed by the condition ..

    “price is reached 70 pips from entry” is what we call a takeprofit.

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