• #1698
      pshai
      Admin

      The idea was to be able to make scripts more optimized. There could be something you need to calculate based on some inputs you get, but is slowing down your script execution. But if those inputs stay the same (like they probably will for quite some time), it could be better to re-calculate those heavy-values _only_ when you change the values.

      Hope this helps.

    • #1619
      pshai
      Admin

      Nice work! This is great for breaking down candles.

    • #1313
      pshai
      Admin

      Hey Wane,

      Currently HTS doesnt support any native trailing orders, only available ones are the stop orders and take-profit orders.

    • #1207
      pshai
      Admin

      This isnt needed in SE, but for VE there is no command block for it, so thats why it exists πŸ™‚

      • This reply was modified 7 months, 3 weeks ago by pshai.
    • #1154
      pshai
      Admin

      No, thank you for making it awesome πŸ˜‰

    • #1133
      pshai
      Admin

      MAN! You got some elegant code going on with this one. Beautiful! Great work!

    • #2128
      pshai
      Admin

      Adding a simple Stop-Loss might bring in some problems, as the bot relies on averaged (DCA) positions. Contact me on Discord misthema#5446 and we can work something out.

    • #2127
      pshai
      Admin

      It is just a warning telling you that it is trying to use unsupported order type which makes it fall back to a limit order. Nothing worth worrying πŸ™‚

    • #1714
      pshai
      Admin

      Your example makes me curious what might benefit here, can you give an obvious/notorious example? (Interval, VWAP reset loopback those kind of things?)
      And SuperInput works in running HaasBots so can maybe help people running 50+ scripts?

      Yes, these are the kind of things I mean. If you can find something that doesn’t need to be re-calculated unless the input values have changed, you can use this to detect that.

      You could do the same for every input in your script by saving/loading and comparing the current input value to previously saved value, but I would argue that this makes it a little bit easier. πŸ˜›

    • #1468
      pshai
      Admin

      Its an old script from the newbie-me. I think i have another version of this with stop-losses iirc…

      EDIT: here it is https://www.haasscripts.com/t/pshaibot-simple-leverage-scalper-v4/

      • This reply was modified 6 months ago by pshai.
Viewing 5 reply threads

Unlock your crypto trading potential

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

Join for Free