a combination of 2 stop losses, need help coding

Forums ProRealTime English forum ProOrder support a combination of 2 stop losses, need help coding

Viewing 3 posts - 1 through 3 (of 3 total)
  • #62783

    Hi guys! I need some help.

     

    Ive included 2 types of trailing stop loss, found on this forum. I belive the MFE calculates the maximum profit you see in a trade, while the TSL calculates after candle is finished. am i right? Or are both the stop losses calculating when candle is closed only?

    If the MFE is calculating from the EQ curve at all times, is it possible to combine these 2?

    as an example to show what i mean: ive seen a trade go to 85€ in profit and the stop loss should be activated when im above 80€, but in this example the trade fell down to only 75€ in profit when the candle closed, meaning my trailing stop loss didnt activate and i had to watch the trade go all the way down to 0.

     

    just to be extra clear: i want the TSL trailing stop, but i want it to be able to see that my trade peaked above 80€ even tho it was below 80€ when the candle closed.

     

     

     

    #62786

    All calculations will always be done at the close of a candle so if price has gone really high and then fallen back a long way you will always miss that action and only be able to calculate new a stoploss once the candle has closed.

    You could try changing the MFE trailing stoploss calculations to be calculated on the high rather than the close and see if you can get that to work better for you as technically the close is not the maximum MFE the high is.

    I’m a bit too tired to try it out myself right now but would be glad to see your results 🙂

    #62791

    All calculations will always be done at the close of a candle so if price has gone really high and then fallen back a long way you will always miss that action and only be able to calculate new a stoploss once the candle has closed. You could try changing the MFE trailing stoploss calculations to be calculated on the high rather than the close and see if you can get that to work better for you as technically the close is not the maximum MFE the high is. I’m a bit too tired to try it out myself right now but would be glad to see your results 🙂

    Aha, okay, damn 😀

    I guess ill try to just change it to high then, thanks. Im done for the evening but will post results using different stops to show difference.

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

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