• #3404
      Kobalt
      Basic

      Great to see the risk management focussed smoky bot you legend…

    • #3240
      Kobalt
      Basic

      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

    • #3159
      Kobalt
      Basic

      Cool !

    • #3085
      Kobalt
      Basic

      Hey,
      Great job, love the buttons!.
      -gave input menu some some <3.
      Maybe you can merge this then will set this to EOL.
      [to prevent multiple suggestions for the [non essential or breaking ] VPM dependency in many scripts, trade bots..]

      https://www.haasscripts.com/t/vpm4-virtual-position-management-for-hs4-tradeserver-cloud/

      • This reply was modified 1 year, 9 months ago by Kobalt. Reason: minor cleanup, finishing touch, suggest merge
    • #3078
      Kobalt
      Basic

      Cool Looking at above trades [if the first position was kept vs exits, re-entry]
      Are you [like me] also still are tackling the same hurdle:
      How to NOT close your Short [only reduce to a minimum 1x leverage cross] until bullish confirmation (increase BTC and hedge its USD] or have a re entry mechanism SL for the minimum portion of your accounts equity?
      Have closed it too often and was ‘naked’ ‘long unnecessary . very deja vu isn’t it? ;p

      • #3079
        Kobalt
        Basic

        Arguably both are just as clean
        I think this for me gives a clear view of what you would achieve with IfElseIf chains in VE and especially the levels you need to end :


        ”’ if CurrentPrice().close < vwap250[1] and GetPositionDirection() != PositionShort
        then
        if vwap20[1] < vwap60[1]
        then
        if vwap20[1] < vwap250[1]
        then
        if vwap60[1] < vwap250[1]
        then
        if ppo[1] <= ppoSignal
        then
        if rsi > rsiShortLevel
        then
        if vwap250[1] < vwap250[12]
        then
        PlaceGoShortOrder(0,TradeAmount(), {type=MarketOrderType, note=’S’})
        end
        end
        end
        end
        end
        end
        end
        end”’

        • This reply was modified 1 year, 9 months ago by Kobalt.
    • #3286
      Kobalt
      Basic
    • #3282
      Kobalt
      Basic

      Hi, it’s a 2 part process, very easy can’t miss it:

      Either in v3 use the Virtual Editor:
      Open a new Command (not a script)
      Or v4 BETA Web Editor: New Script, Virtual script Name the command: SMMA (the dependency you need first linked above)
      Now you get a blank canvas, in the menu you will find import arrow, this gives you a window to
      Import Script
      Script:
      (by pasting the copied string) then
      Save, repeat for this cmd SMMAonRSI

      (or you can just run RSI througfh a simple moving average to get similar result..)

    • #3077
      Kobalt
      Basic

      You could limit long entries on Inverse to only very OS delayed MFI/RSI and a high ATR this is pretty good at catching the lows (1 minute interval for ATR others rsi etc try higher intervals)
      If you are still interested in this let me know if you already have the unique positionId thing :
      (connecting PositionContainer orderId to the StopLoss or an Insurance like done here will not assign a NewGuid in Managed Trading Bot here ) I can look or cook up a template for this.

      —- assorted bits Regarding leverage:
      When you start with 1x on futures you immediately lock your equity and cannot apply higher leverage so it in a way seems safe but it’s just as unforgiving as spot alts can be
      If you start with max leverage you can easily deleverage to get more range for your bucks.
      Inverse Perpetual (with BTC or COIN as collateral) Long positions are inherently much riskier as when market goes against your Long position, your uLoss gets bigger while the price of BTC also goes down your margin requirements are impacted even more this will get you liquidated for sure.

      Right now is still.. bear market, even if you think we have seen a bottom having a short of 1x leverage will be neutral and protect your USD value (and shorts are very forgiving as when market goes against you BTC collateral USD value goes up (You may end with less BTC same USD value while every successfully closed Short increases your BTC.. (I only open longs as a hedge but pretty much never on Inverse)

      (Even in Bull market I only traded short on inverse, just more conservatively… building up to 1x around the local and ATH’s never opened long on Inverse ever.. learned my lesson)
      if I’m bullish will buy BTC on Spot (or open a Long on BTC/USDT against my 1x short on inverse) I only ever start to open long on USDT Linear for any market but will also short there against spot or HEDGE, my USDT scripts tend to trade both directions (MMB variations)

      Just use very small amounts, check what equals 1x leverage amount then set to max leverage and only use part a very small part 1% up to 1.5% start slow and set your orders bigger further from price ~1.25x then after you return and it looks like -300% you can recover with some DCA you can very easily get that position back in range, ‘Freeze it for manual fixing after you do your things’ with a hedge, Or just wait it out..maybe with a mix of all of the above..

      Patience works well for BTC just check daily, 4h 1h timeframes as long as price keeps rejecting 200MA it is bear market, expect price to revisit 200MA on daily when that gets broken, open a long hedge, start getting out of the short.
      using leverage on an as needed basis can really help to still safely get you back in the trade range to exit with a profit, but the hardest thing for me has been to NOT close my short position…
      [really difficult right now every low looks very low while it keeps going lower on macro any up move can turn relief rally up to 40% and still be a local rally to reject 200MA]
      I always try to build in local uptrend up to 4hour charts or have >1x leverage short in a still bear market on inverse it’s a neutral hedge and earns you funding interest in BTC
      using Market orders also adds a big hurdle as you pay difference between Mark and Bid + taker fees, to add to your position use post only MakerOrCancel really helps ‘relatively’ confident it will go both higher and lower than current market so patience is key .

      [this was collected and copy pasted on topic]
      —-

    • #3075
      Kobalt
      Basic

      This happens due to not assigning a fresh unique positionId (connecting PositionContainer orderId to the StopLoss or an Insurance like done here will not assign a NewGuid in Managed Trading Bot here )
      Try adding this custom command to manually adjust/fix position issues
      https://www.haasscripts.com/t/haasbot-utilities-vpm3-create_adjust_close-virtual-position-management-for-running-haasbots/

Viewing 4 reply threads

Unlock your crypto trading potential

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

Join for Free