[kob] HB 3.0: Ichimoku, MACD, VolumeRSI , CCI, Profit Trailer.

13 6277 Views 8 Comments 4 years ago
    • #865
      Low-Hi-Fi
      Basic
      Up
      1
      Down
      ::

      Hey,

      I added SAR to it aswelll, its been giving me very good results on major 6 hour breakouts in the backtesting 🙂 Thank you for posting this script!
      Rob

      • #947
        Kobalt
        Basic
        Up
        1
        Down
        ::

        Oh cool,
        SAR is high on my list…
        Did you use the extended version of SAR?

        Looking at this bot two things stand out to me:
        This bot is a stripped of all custom commands version of an original setup by Seaside420:
        https://www.tradingview.com/script/RJBjyl2W-Ichimoku-Daily-Candle-X-HULL-MA-X-MacD/
        And a variation on this he shared with me using 2 double delayed HMA crossings

        Hull MA is missing here entirely as it’s also a CC_, but due to them not being there it makes for interesting inspiration when I look at this again..
        Curious when looking at VolRSI and CCI how one of his recent creations would fair:
        https://www.tradingview.com/script/aiYdz8MI-TSI-CCI-Hull/
        Or a RSI+ROC+CMO type blend…..

        I would love to see what you made from this. (DM me on Discord and will send you cc versions)

    • #1096
      clyde.bow
      Basic
      Up
      0
      Down
      ::

      I give up guys, how do i import this code in my haasbot? As you can see im not a pro at this. Can sombody give me a direction?

      • #1098
        alchemist
        Basic
        Up
        0
        Down
        ::

        Copy and paste the code above into visual editor.

        Go to visual editor
        Make a new script
        Then paste the code

        Viola

      • #1104
        clyde.bow
        Basic
        Up
        0
        Down
        ::

        Thanks, i did not see the import script option. Its working now

    • #1114
      Kobalt
      Basic
      Up
      1
      Down
      ::

      So Is this one still doing well guys? (yes chose for a stock commands bot so everything would work and it would not need six or more custom commands…cool stuff but then you better ask or also find my server on discord where I can post everything in one gist or channel . And help you through the many imports of commands and script…

      (my Ichi pretty much always did the job on it’s own, only added overcome fees and there be profits….)
      -I might give this another go myself and see where it takes me..

      Or
      Are you guys bored / hungry for inspiration…

      I might need to publish something else?? ^_^

      By the way Id advise you guys to try grow and shrink mods for ProfitTrailer, grow and 1 or 2 rebounds can be great for long uptrends…..shrink to do the opposite

      But it’s really good to know how the growing (and shrinking calculation works as it is related to both trailStartPrc and trailDistPrc.

      Using a trailStartPrc of 12 (half of my standard 24%)and a trailDistPrc of 5 (never mind if you use stuff in front of it that drops it into trailing at 40% and it can drop down to 12…(or start trailing if its a reduced * 0.5 TP)
      yes yes TLDR:
      I wasn’t getting any 200% ROI closes anymore ?? WHY????
      this is why:

      ProfitTrailer:
      trailMode == “grow”
      multiplier = trailDistPrc / trailStartPrc. my settings: trailDistPrc: 5 / trailStartPrc: 12 = multiplier is 41.67…
      newDist = multiplier * highestRoi newDist= highestROI lets assume my ROI just dropped down to 120% and have rebounds on, (each rebound records previous high and uses new Dist…
      trailStop = 120 – 41.67. (new)trailStop = 78.33% ! on a 120% profit position…!!! Why\oO/_u NOOOOoooo……! wonder I was not closing the 180-230%_ers anymore… and only 40-60%….
      trailStop = highestRoi – newDist
      —
      trailMode == “shrink”
      multiplier = trailDistPrc * trailStartPrc
      newDist = multiplier / highestRoi
      trailStop = highestRoi – newDist. So now have my start at 16 and distance at 2% and gives a multiplier of 0.125 which on a 120(%ROI( gives a new trailStop of 15%… much better……..

      Happy Trailing…
      (P.s.ssst: you could just modify the trail stop calculation so you don’t need a big startperc ( by adding a (0.3 * trailDistPrc) to the calculation in Script Editor where you can edit ProfitTrailer..and get the same multiplier and result)

      • This reply was modified 3 years, 8 months ago by Kobalt.
      • This reply was modified 3 years, 8 months ago by Kobalt.
      • This reply was modified 3 years, 8 months ago by Kobalt.
    • #2209
      BBRNFX
      Basic
      Up
      0
      Down
      ::

      Cant seem to be able to install it. Keep getting the ” WARNING: Skipping update because of scripting error.2. 05 May 2021 22:20:17 ERROR: Missing DefineOutput() definition.1. 05 May 2021 22:20:17 ERROR: Missing DefineCommand() definition.” error messages

      • #2216
        Kobalt
        Basic
        Up
        0
        Down
        ::

        This: ERROR: Missing DefineCommand()
        Tells me you created a
        Command instead of a script to import a (scripted) Haasbot.

        This all can be a bit overwhelming at first..
        Let me try and explain it so it makes sense and will stick..

        You can look at a script as a ‘Project’ either a work in progess or a complete bot..
        Like this is a ready Haasbot made in Virtual Editor.

        This includes trade logic indicators and every part is a command even the most basic, part..
        This bot is made in VE with default commands, so it works without that custom dependency)
        You can also find many Custom Commands published here..

        [Bunka published some indicators ported some from Pine script, very intricate works of art…
        It’s inspirational and a challenge when we all still use the same tools…..]

        So you could see scripts as ‘arrangements of commands’..

        Commands are parts: a Virtial Editor block….. in Script Editor. a command will be suggested as you type, each category has a specific color. (like the connectors in VE)

        A script often includes multiple commands, here in a Haasbot/tradebot setup these are ready to use Easy Indicators, safeties and Insurances…
        But. ..usualy..not the other way around….

        Hope this helps…

        • This reply was modified 2 years, 11 months ago by Kobalt.
Login or Register to Comment

Unlock your crypto trading potential

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

Join for Free