AUTOMATED TRADING

Recreate trading strategies

Use HaasScript to develop, test, and deploy anything you can think up.
							local orderTable = InputTable(
    InputTableOptions('Orders'),
    InputTableColumn('ID', 'buy', 'sl', 'sell'),
    InputTableColumn('Market Order', false, true, false),
    InputTableColumn('Direction', '+', '-', '-'),
    InputTableColumn('Target Price', 62000, 61800, 63000),
    InputTableColumn('Amount', 0.002, 0.002, 0.002),
    InputTableColumn('Before *', '', 'sell', ''),
    InputTableColumn('After *', '', 'buy', 'buy'),
    InputTableColumn('Trigger Type *', '', '<', ''),
    InputTableColumn('Trigger Price *', '', 61800, '')
)

local isDebug = Input('Debug Mode', false)

function debuglog(msg, color)
    if not isDebug then return end
    Log('[DEBUG] ' .. msg, color or '')
end

EnableHighSpeedUpdates(true)
HideOrderSettings()
HideTradeAmountSettings()



-- ===============================================================
-- Config object

    local Config = {}

    function Config:isSpot()
        return MarketType() == SpotTrading
    end





-- ===============================================================
-- Enums

    local TableItem =
    {
        Id              = 1,
        IsMarket        = 2,
        Direction       = 3,
        TargetPrice     = 4,
        Amount          = 5,
        Before          = 6,
        After           = 7,
        TriggerType     = 8,
        TriggerPrice    = 9
    }

    local TriggerType =
    {
        LowerThan       = '<',
        HigherThan      = '>',
        Normal          = ''
    }

    local OrderDirection =								
						
+2.4%
+1.2%
-0.6%
Unlock the full power of HaasOnline
Start a free trial and enjoy 7-days free. We'll help you make better trades using Standard Trade Bot.
Start free 7-day trial
Nov 24, 24, 00:17:40 Bot deactivated
Nov 24, 24, 00:17:40 Backtest start date: 11/24/24 00:17:40 GTM+0
Nov 24, 24, 00:17:40 Backtest end date: 11/24/24 00:17:40 GTM+0
Nov 24, 24, 00:17:40 Backtest took: 00:00:01.6642358ms
Nov 24, 24, 00:17:40 ----- Custom Report -----
Nov 24, 24, 00:17:40 Estimated Profit: 0.01 BTC
Nov 24, 24, 00:17:40 ----- Backtest report BINANCE_BNB_BTC_ -----
Nov 24, 24, 00:17:40 Gross profits: 100.00000000 BNB
Nov 24, 24, 00:17:40 Fee costs: 10.00000000 BNB
Nov 24, 24, 00:17:40 Realized profits: 90.00000000 BNB
Nov 24, 24, 00:17:40 Return on investment: 10.0000 %
Nov 24, 24, 00:17:40 Price change: 0.0306%
Nov 24, 24, 00:17:40 Closed positions: 100x
Nov 24, 24, 00:17:40 Profitable positions: 60x (90.00%)
Nov 24, 24, 00:17:40 Losing positions: 40x (10.00%)
Nov 24, 24, 00:17:40 Average margin: 5.00000000 BNB
Nov 24, 24, 00:17:40 Average realized profits: 10.00000000 BNB
Nov 24, 24, 00:17:40 Executed orders: 100x
Nov 24, 24, 00:17:40 Completed order: 100x
Nov 24, 24, 00:17:40 Average open time: 10 seconds
Nov 24, 24, 00:17:40 ----- Performance report BINANCE_BNB_BTC_ -----
Nov 24, 24, 00:17:40 Max. DrawDown: 1.00% / 40.00000000 BNB
Nov 24, 24, 00:17:40 Sharpe Ratio: 1.00
Nov 24, 24, 00:17:40 Sortino Ratio: 1.00
Nov 24, 24, 00:17:40 Win %: 3.00 %
Nov 24, 24, 00:17:40 Profit Ratio: 3.00
Nov 24, 24, 00:17:40 Profit Factor: 3.00
Nov 24, 24, 00:17:40 CPC Index: 1.00
Nov 24, 24, 00:17:40 Tail Ratio: 2.00
Nov 24, 24, 00:17:40 Common Sense Ratio: 2.00
Nov 24, 24, 00:17:40 Outlier Win Ratio: 3.00
Nov 24, 24, 00:17:40 Outlier Loss Ratio: 1.00
Nov 24, 24, 00:17:40 Profit Margin Ratio: 54.00
Nov 24, 24, 00:17:40 Biggest Win: 100.00000000
Nov 24, 24, 00:17:40 Biggest Loss: -100.00000000
Nov 24, 24, 00:17:40 Highest Point in PNL: 5.00000000
Nov 24, 24, 00:17:40 Lowest Point in PNL: -5.00000000

*These numbers are for illustration only and do not reflect past or future performance.

This crypto trade bot is anything but standard. It is one of the more advanced trade bots available with HaasOnline TradeServer. Using our crypto trade bot allows you to create spot, margin, or leverage trade bots and compile your own trading strategy using different technical indicators, chart settings, order types, safeties, and insurances. The goal was to provide traders with a method to easily replicate most trading strategies with speed.

More Alpha. Less Noise.

See if these exclusive offers can help your trading strategies, claim these rewards while they last!

Promotions offered by third-parties and are subject to availability, terms, and conditions. Other restrictions may apply. Individual results may vary and are not typical.

Discover alternatives to the Standard Trade Bot

Simplified Copy Bots

Copy top-tier trade bots and capitalize on their performance.
HaasScript Name Market Runtime ROI
SMMD v2.51 BTC/USDT 235 days +53815.7143% Copy Bot
SMMDH v3.3 XRP/USDT 103 days +47125.5036% Copy Bot
SMMDH v3.3 XRP/USD 109 days +39872.9228% Copy Bot
SMMDH v3.3 XRP/USDT 105 days +15841.7389% Copy Bot
SMMD v2.51 DOGE/USD 500 days +12588.6556% Copy Bot
SMMD v2.51 BTC/USD 500 days +10227.7555% Copy Bot
SMMD v2.51 XRP/USDT 500 days +9553.06% Copy Bot
Haasonline Original - Market Making Bot BTC/USDT 516 days +9351.9627% Copy Bot
SMMDH v3.3 BTC/USDT 110 days +7478.1766% Copy Bot
SMMD v2.51 ADA/USD 485 days +6397.7614% Copy Bot
SMMDH v3.3 BTC/USD 110 days +5370.0376% Copy Bot
[pshaiBot] Some Trend Trader (STT) DOGE/USDT 505 days +2948.7026% Copy Bot
SMMD v2.51 XRP/USD 485 days +2109.779% Copy Bot
SMMDH v3.3 BTC/USDT 110 days +1829.8851% Copy Bot
SMMDH v3.3 BTC/USDT 110 days +1385.0092% Copy Bot
SMMD v2.51 ETH/USD 500 days +1382.8584% Copy Bot
[pshaiBot] Simple Market Maker v2.6-c XRP/USDT 387 days +992.8427% Copy Bot
SMMDH v3.3 BTC/USD 110 days +857.0408% Copy Bot
SMMDH v3.3 ETH/USDT 110 days +664.9959% Copy Bot
SMMDH v3.3 ETH/USDT 110 days +502.5187% Copy Bot
[pshaiBot] Some Trend Trader (STT) ZEN/USDT 502 days +496.9213% Copy Bot
[pshaiBot] Simple Market Maker v2.6-c ARK/USDT 387 days +444.8789% Copy Bot
HFCBv1.0 BTC/USDT 148 days +363.7736% Copy Bot
HFCBv1.0 BTC/USDT 148 days +283.3727% Copy Bot
[pshaiBot] Some Trend Trader (STT) BNB/USDT 505 days +270.426% Copy Bot
HFCBv1.0 BTC/USDT 148 days +261.6021% Copy Bot
HFCBv1.0 BTC/USDT 148 days +247.9065% Copy Bot
HFCBv1.0 BTC/USD 148 days +245.9078% Copy Bot
Haasonline Original - Scalper Bot ETH/USDT 517 days +244.6159% Copy Bot
HFCBv1.0 BTC/USDT 148 days +228.0936% Copy Bot
HFCBv1.0 BTC/USDT 148 days +225.1551% Copy Bot
HFCBv1.0 BTC/USDT 148 days +196.3389% Copy Bot
HS-DCA-Spot-Hopper-v2.0 ADA/USDT 126 days +151.3041% Copy Bot
HFCBv1.0 BTC/USDT 148 days +149.1533% Copy Bot
HS-DCA-Spot-Hopper-v2.0 ADA/USDT 121 days +141.358% Copy Bot
HS-DCA-Spot-Hopper-v2.0 XRP/USDT 121 days +126.4523% Copy Bot
HS-DCA-Spot-Hopper-v2.0 ADA/USDT 121 days +120.7342% Copy Bot
Haasonline Original - Flash Crash Bot ADA/USDT 416 days +113.2466% Copy Bot
HS-DCA-Spot-Hopper-v2.0 SOL/USDT 124 days +86.144% Copy Bot
HS-DCA-Spot-Hopper-v2.0 XRP/USDT 126 days +77.9243% Copy Bot
HS-DCA-Spot-Hopper-v2.0 XRP/USDT 121 days +71.6413% Copy Bot
HS-DCA-Spot-Hopper-v2.0 SOL/USDT 121 days +70.2059% Copy Bot
HFCBv1.0 BTC/USDT 148 days +62.8524% Copy Bot
Enhanced RSI bot (spot) BTC/USDT 521 days +53.8059% Copy Bot
HS-DCA-Spot-Hopper-v2.0 SOL/USDT 121 days +44.1909% Copy Bot
HS-DCA-Spot-Hopper-v2.0 XRP/USDT 121 days +33.1079% Copy Bot
HS-DCA-Spot-Hopper-v2.0 ADA/USDT 121 days +19.1529% Copy Bot
Haasonline Original - Intelli Alice Bot BTC/USDT 521 days +15.0805% Copy Bot
HS-DCA-Spot-Hopper-v2.0 BTC/USDT 126 days +7.4102% Copy Bot
* Please note that while our platform provides the tools to replicate the strategies of top-performing trading bots, individual results may vary. Success in financial markets is influenced by a variety of factors, many of which are beyond our control. Past performance is not indicative of future results, and there is always the potential for loss as well as gain. Always conduct your own research and consider your financial circumstances before making investment decisions.
Show more trade bots

Pro Upgrade1. Completely Free2. Unrestricted Trial3.

Embark on your journey to smarter, faster, and more effective trading with HaasOnline. Sign up now for a free trial and gain immediate access to our advanced trading bots.

Are you looking to optimize your trading strategy, reduce risks, or explore automated crypto trading? HaasOnline is your ideal partner. Experience firsthand how our customizable bots can enhance your trading efficiency and accuracy.

Start free 3-day trial ›
1 TradeServer Cloud Pro offers a 3-day trial of our premium subscription.
2 During the 3-day TradeServer Cloud Pro trial you will not be required to pay to access Pro plan features. Subscription automatically renews unless auto-renewal is disabled or if you opt for manual payments.
3 Access to premium features within TradeServer Cloud does not include third-party restrictions or unforeseen issues.