Check profit hit

Viewing 1 post (of 1 total)
  • #182974

    Hello,

    Below is a snippet of my code. In this strategy if the trade hits stoploss it’ll re-enter in the opposite direction (max 2 trades per day). I’ve now added a trailing stop, however I still want the opposite trade to execute as long as it hasn’t hit “SET TARGET pPROFIT”. So at the moment, if it hits the trailing stop in profit nothing happens, but I want it to re-enter.

    Hope that makes sense, any help much appreciated.

     

Viewing 1 post (of 1 total)

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