Opening bar stop loss

Forums ProRealTime English forum ProOrder support Opening bar stop loss

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

    Hi

    What is the right code for a stop loss that is set after the opening bar.

    long entry condition is met and position is opened. If after that first bar ( whichever time frame is set) the first candle is green then the SL is set at the opening price. If the first candle is red the SL is set at the close price minus x pips.

    The reverse SL conditions for a short position.

    Any ideas on the code would be greatly received.

    #172551

    Eccolo (SL=Stop Loss):

     

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