[pshaiCmd] Break Even Safety

5 1494 Views 3 Comments 3 years ago
  • Here is a simple Break Even Safety command.

    The inputs for the commands are:
    – Minimum required percentage price change for safety to ACTIVATE
    – Number of rebounds allowed before TRIGGERING the safety
    – Optional position ID

    How it works:
    When your bot enters a position, it gets an average entry price. This price will become the break-even trigger price, once the activation level has been breached.

    An example; we just entered a long position at 100, our minimum % required is 1%. If the price reaches the 1% mark (or the price of 101), the trigger price (which is our entry price) will be activated as a type of “stop-loss level”. Once our entry price is breached after activation, the bot will trigger a signal which you can use to exit the position near break-even.

    HaasScript Code
    Sign in or Register to download for free
    • #2281
      Kobalt
      Basic
      Up
      0
      Down
      ::

      I think this could be a great enhancement to include in Profit Trailer (when it keeps falling below Trailing start you can set these rebounds to exit…
      What I’m still curious and am looking into scaling to properly scale up and back down the Start triggers need a growth model to scale from so was thinking
      monitor the % distance it is making then output this and trail the trailings if that makes sense positions performance in-decrease triggers a scaled to match response factoring in the recent HL spikes to perhaps counter a negative one against a SL with a 5-9 minute timer so flash wicks are skipped…

      But back to it….. the main conclusion : It needs to be adaptive.
      ​geared towards protecting profits TSSL system so it can grow to manage a big often quick trend

      Starting with a 6% trail start and 2-3 percent is not optimal for when you enter it will still get you either little action or still get you out early…on BNB, BUSD these are 1 minute low liquidity events and like Benji our ninja would say Catching da noise here starts at 1% but more often multiples of 1.4, 3, 6, 8 nibbling at the BNB’s but that’s consolidation noise not a trend….. these go >100%
      When the bulls are back….lol

      P.s.
      TLDR: will experiment with this

      • This reply was modified 2 years, 11 months ago by Kobalt.
    • #3240
      Kobalt
      Basic
      Up
      0
      Down
      ::

      Just noticed this again….

      These rebounds… they allow price to drop below activation, trigger Price right?

      –this defeats the purpose of safety.
      — but it is great when in profit and your position leveraged a rolling Rebounds with a reducing trailDistance could be just what you need to lock in profits without exiting or wasting it on distance..

      activate rebounds on choppy moves rising, falling reversals and after a min BotProfit
      –compare rebound results to Activate exit
      — If condition before rebounds is a sharp price move do not use rebounds

      • #3451
        pshai
        Admin
        Up
        0
        Down
        ::

        The rebounds can be used when the market is really choppy (or you are trading really tightly) and you dont want to immediately get break-evened. Setting max rebounds to zero will make it trigger right away when conditions are met.

Login or Register to Comment

Unlock your crypto trading potential

Create a free account and enjoy everything we have to offer.

Join for Free