Smokybot MK3

7 2732 Views 13 Comments 2 years ago
STABLE
  • – COMPATIBLE with server and cloud version.
    – Optimized for HEDGE mode.
    – Suggested main interval is 1H
    – Always start with ALL Trade Settings options UN-TICKED to let the bot prepare values.
    – Test with default values before changing anything to understand the bot.
    – PAY ATTENTION to the log warning if you feel something is off before screaming the bot is not working.
    – Do your own test. Testing is time consuming but also rewarding.

    FEATURES:
    NEW TRADE MANAGEMENT
    Using Risk/Reward ratio to calculate size which makes leverage does not matter. For details please read Comprehensive Guide to Position Size and Leverage | by CryptoCred | Medium

    PAUSE AT PROFIT/LOSS
    Bot will pause trading when bot P/L hit the % value for the rest of the day and start again on the next day (UTC).

    STOP AT PROFIT/LOSS
    Bot will stop trading when bot P/L hits the % value.

    SIZE HALVING
    Reduce position size by half at certain levels at doubling distance rate. When the 1st level reaches then stop loss will move to entry.

    FUN FACTS!
    Bot use crossing fast and slow Supertrend and one of the size reduction signals is position reversal cross (fast < slow for long, vice versa). If you set Short/Long Exit off and Risk Reduction on and reduction size 100% then bot will close position only when reversal cross happens.

    Adding size Halving will make the bot also reduce size in profit while on the way up/down and also moving the SL level up/down potentially to profitable level to make “stop at profit” condition.
    Find your own trading style, play with the settings.

    My focus on creating this bot is for better trade risk management because in my opinion trading is “Risking capital with the chance of profits” which makes risk management comes first.

    As for the indicators or logic or setting, experience and hours of backtesting shows that price waves are always moving differently from time to time. For example you can find a setting that is good for the last Jan-March but rekt on April – June. Hence why the bot has the option to pause, stop and compound.

    NOTE for Tradesever Cloud:
    If you want to do HaasLab please use SIMULATION ACCOUNT

    It is possible to customize the indicators or triggers, with a fee. Please DM me in Discord or t.me/smokyho for details.
    Hope this bot helps.
    May the profits be with you!

    REVISION:
    2022-01-27:
    1. Fixing trading balance calculation
    2. Limiting order size cost to maximum 1/2 of trading balance.

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

      Nice! Thanks for posting! 🙂

    • #3404
      Kobalt
      Basic
      Up
      0
      Down
      ::

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

    • #3407
      Up
      0
      Down
      ::

      If your pleasure to share the screenshoot or list with your settings!?

    • #3455
      Up
      0
      Down
      ::

      4.
      07. Mai 23, 13:28:00
      ERROR: Unknown references:
      3.
      07. Mai 23, 13:28:00
      ERROR: – CC_SuperTrendExt

    • #3461
      Up
      0
      Down
      ::

      need help to get the script running
      Backtestresults:
      50000.
      17. Mai 23, 09:51:00
      Bot deactivated
      49999.
      17. Mai 23, 09:51:00
      Backtest start date: 04/16/2023 08:00:00 GTM+0
      49998.
      17. Mai 23, 09:51:00
      Backtest end date: 05/17/2023 07:51:00 GTM+0
      49997.
      17. Mai 23, 09:51:00
      Backtest took: 00:09:36.9558325ms
      49996.
      17. Mai 23, 09:51:00
      ——————————————– Custom Report ——————————————–
      49995.
      17. Mai 23, 09:51:00
      Lowest Profit: 0 USDT
      49994.
      17. Mai 23, 09:51:00
      Highest Profit: 0 USDT
      49993.
      17. Mai 23, 09:51:00
      Final Net Balance: 0 USDT
      49992.
      17. Mai 23, 09:51:00
      Final Wallet Balance: 1000000 USDT
      49991.
      17. Mai 23, 09:51:00
      Size Reduction: 0 times
      49990.
      17. Mai 23, 09:51:00
      Highest Balance Ratio: 0%
      49989.
      17. Mai 23, 09:51:00
      Current Balance Ratio: 0%
      49988.
      17. Mai 23, 09:51:00
      ————————– Backtest report BINANCEFUTURES_LTC_USDT_PERPETUAL ————————–
      49987.
      17. Mai 23, 09:51:00
      Gross profits: 0.00000000 USDT
      49986.
      17. Mai 23, 09:51:00
      Fee costs: 0.00000000 USDT
      49985.
      17. Mai 23, 09:51:00
      Realized profits: 0.00000000 USDT
      49984.
      17. Mai 23, 09:51:00
      49983.
      17. Mai 23, 09:51:00
      Return on investment: 0.0000 %
      49982.
      17. Mai 23, 09:51:00
      Price change: -5.0036 %
      49981.
      17. Mai 23, 09:51:00
      49980.
      17. Mai 23, 09:51:00
      Closed positions: 0x
      49979.
      17. Mai 23, 09:51:00
      Profitable positions: 0x (0.00%)
      49978.
      17. Mai 23, 09:51:00
      Losing positions: 0x (0.00%)
      49977.
      17. Mai 23, 09:51:00
      Average margin: 0.00000000 USDT
      49976.
      17. Mai 23, 09:51:00
      Average realized profits: 0.00000000 USDT
      49975.
      17. Mai 23, 09:51:00
      49974.
      17. Mai 23, 09:51:00
      Executed orders: 0x
      49973.
      17. Mai 23, 09:51:00
      Completed order: 0x
      49972.
      17. Mai 23, 09:51:00
      Average open time: 0 seconds
      49971.
      17. Mai 23, 09:51:00
      ————————- Performance report BINANCEFUTURES_LTC_USDT_PERPETUAL ————————-
      49970.
      17. Mai 23, 09:51:00
      Max. DrawDown: 0.00% / 0.00000000 USDT
      49969.
      17. Mai 23, 09:51:00
      Sharpe Ratio: 0.00
      49968.
      17. Mai 23, 09:51:00
      Sortino Ratio: 0.00
      49967.
      17. Mai 23, 09:51:00
      Win %: 0.00 %
      49966.
      17. Mai 23, 09:51:00
      Profit Ratio: 0.00
      49965.
      17. Mai 23, 09:51:00
      Profit Factor: 0.00
      49964.
      17. Mai 23, 09:51:00
      CPC Index: 0.00
      49963.
      17. Mai 23, 09:51:00
      Tail Ratio: 0.00
      49962.
      17. Mai 23, 09:51:00
      Common Sense Ratio: 0.00
      49961.
      17. Mai 23, 09:51:00
      Outlier Win Ratio: 0.00
      49960.
      17. Mai 23, 09:51:00
      Outlier Loss Ratio: 0.00
      49959.
      17. Mai 23, 09:51:00
      Profit Margin Ratio: 0.00
      49958.
      17. Mai 23, 09:51:00
      Biggest Win: 0.00000000
      49957.
      17. Mai 23, 09:51:00
      Biggest Loss: 0.00000000
      49956.
      17. Mai 23, 09:51:00
      Highest Point in PNL: 0.00000000
      49955.
      17. Mai 23, 09:51:00
      Lowest Point in PNL: 0.00000000
      49954.
      17. Mai 23, 09:51:00
      —————————————————————————————————-
      49953.
      17. Mai 23, 09:51:00
      49952.
      17. Mai 23, 09:51:00
      SMOKYBOT MK3
      49951.
      17. Mai 23, 09:51:00
      Market BINANCEFUTURES_LTC_USDT_PERPETUAL
      49950.
      17. Mai 23, 09:51:00
      WARNING: Please enter trading balance
      49949.
      17. Mai 23, 09:51:00
      Balance Monitor -> Wallet: 1000000 USDT | Bot: 0 USDT | Trading: 0 USDT | Net: 0 USDT | Working: 0 USDT | Ratio: 0
      49948.
      17. Mai 23, 09:51:00
      Profit Monitor -> Current: 0 USDT | Highest: 0 USDT | Lowest: 0 USDT
      49947.
      17. Mai 23, 09:51:00
      Size Reduction: 0 times
      49946.
      17. Mai 23, 09:51:00
      Strong uptrend
      49945.
      17. Mai 23, 09:50:00
      49944.
      17. Mai 23, 09:50:00
      SMOKYBOT MK3
      49943.
      17. Mai 23, 09:50:00
      Market BINANCEFUTURES_LTC_USDT_PERPETUAL
      49942.
      17. Mai 23, 09:50:00
      WARNING: Please enter trading balance
      49941.
      17. Mai 23, 09:50:00
      Balance Monitor -> Wallet: 1000000 USDT | Bot: 0 USDT | Trading: 0 USDT | Net: 0 USDT | Working: 0 USDT | Ratio: 0
      49940.
      17. Mai 23, 09:50:00
      Profit Monitor -> Current: 0 USDT | Highest: 0 USDT | Lowest: 0 USDT
      49939.
      17. Mai 23, 09:50:00
      Size Reduction: 0 times
      49938.
      17. Mai 23, 09:50:00
      Strong uptrend
      49937.
      17. Mai 23, 09:49:00
      49936.
      17. Mai 23, 09:49:00
      SMOKYBOT MK3
      49935.
      17. Mai 23, 09:49:00
      Market BINANCEFUTURES_LTC_USDT_PERPETUAL
      49934.
      17. Mai 23, 09:49:00
      WARNING: Please enter trading balance
      49933.
      17. Mai 23, 09:49:00
      Balance Monitor -> Wallet: 1000000 USDT | Bot: 0 USDT | Trading: 0 USDT | Net: 0 USDT | Working: 0 USDT | Ratio: 0
      49932.
      17. Mai 23, 09:49:00
      Profit Monitor -> Current: 0 USDT | Highest: 0 USDT | Lowest: 0 USDT
      49931.
      17. Mai 23, 09:49:00
      Size Reduction: 0 times
      49930.
      17. Mai 23, 09:49:00
      Strong uptrend
      49929.
      17. Mai 23, 09:48:00
      49928.
      17. Mai 23, 09:48:00
      SMOKYBOT MK3
      49927.
      17. Mai 23, 09:48:00
      Market BINANCEFUTURES_LTC_USDT_PERPETUAL
      49926.
      17. Mai 23, 09:48:00
      WARNING: Please enter trading balance
      49925.
      17. Mai 23, 09:48:00
      Balance Monitor -> Wallet: 1000000 USDT | Bot: 0 USDT | Trading: 0 USDT | Net: 0 USDT | Working: 0 USDT | Ratio: 0
      49924.
      17. Mai 23, 09:48:00
      Profit Monitor -> Current: 0 USDT | Highest: 0 USDT | Lowest: 0 USDT
      49923.
      17. Mai 23, 09:48:00
      Size Reduction: 0 times
      49922.
      17. Mai 23, 09:48:00

      • #3462
        smokyho
        Basic
        Up
        0
        Down
        ::

        17. Mai 23, 09:48:00
        WARNING: Please enter trading balance

      • #3465
        Up
        0
        Down
        ::

        ERROR: Backtest has failed. There is a execution error.
        ERROR: Finalize(): Execution error occurred.
        ERROR: Value was either too large or too small for a Decimal.
        ERROR: Round(): Execution error occurred.
        ERROR: Value was either too large or too small for a Decimal.
        ERROR: Round(): Something went wrong parsing the parameter ‘input’. Value: ‘NaN’
        ERROR: Round(): Value was either too large or too small for a Decimal.

        I edit the value to be 1000 over code and the option field, but each time it didn’t work

    • #3606
      Costa972
      Basic
      Up
      0
      Down
      ::

      Thanks for your sharing very beautiful concept ,and this bot are very good stuff but I find 2 problem with this bot :
      _Simple SMA set to 21 prevents it from being optimized at full power
      _Adjusting the parameters of the 2 super trends is ultimately very complex because we do not have immediate visual support for the modification carried out except during a backtest, or lab, but very difficult to find the right plateau.
      _I find that it would have been so much simpler to refer to a pre-existing strategy on TV so that we could adjust the appropriate parameters directly according to our desires on the graph and then submit this adjustment for backtesting on haas.

      Thanks You again I hope Test the MK1 for see the difference

Login or Register to Comment

Unlock your crypto trading potential

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

Join for Free