Stealth StopLosses? - Page 2
Page 2 of 842 FirstFirst 12
Results 11 to 16 of 16

Thread: Stealth StopLosses?

  1. #11
    Quote Originally Posted by ;
    RR a better idea just hit me. Add 1000 pips to your SL/TP and store it right in the order as normal. Simpy have your stealth exit routine subtract 1000 pips in the in-order SL or TP. Makes it easy to store and easy to read.
    Sounds like a good idea, keeping the Actual TP/SL inside a big TP/SL.

  2. #12
    Hello everybody.

    First off, these are extremely brilliant solutions I visit here. The problem is recoverability.

    Let's say the trailing stop is 40 pips.
    The current stoploss space is 30 pips.
    Suddenly, the terminal shuts down.
    During that period: Price moves up 70 pips Retraces 30 pips. When the terminal comes back on line, the stoploss--according to the trailing stop--should be the current price - 10 pips. But, to the EA, the price moved 40 pips up, which pulls up the stoploss to 40 pips below the current price instead of 10.

    Any solution for that? I thought of using the high/low of a pub. The problem is I can't always tell whether the trade was occurred after by the high/low.

  3. #13
    Start with the OrderOpenTime() and Also iBarshift on M1 until the Current Moment. Extract the M1 worth that is high and save the highest to calculate the highest pip profit. Its a little messy but it works but it kinda matter for the case since you missed the high and if you are 30 pips underwater the Trailer would have triggered. You just have to play it out of your point.

  4. #14
    Quote Originally Posted by ;
    Any solution for that? I had been thinking of working with a bar's high/low. The issue is that I can't always tell if the high/low occurred after the trade.
    Only route the high/low of 1 min candles involving order open and current moment. If 1 min candles are not enough then there really is not any good solution and you'll likely have to get another broker (other platform likely) which allowes server side stops.

  5. #15
    We can trace the Highest/Lowest price in a range of bars Readily using iHighest() iLowest()

  6. #16
    Quote Originally Posted by ;
    We could trace the Highest/Lowest price within a range of bars readily using iHighest() iLowest()
    The issue is what happens when the transaction is set on precisely the same bar. (presumably following the high).

    I know that this isn't ideal, but I am trying to cover my bases.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.