AUTOMATED TRADING

Zone recovery

Shoot for consistent gains with Zone Recovery
							EnableHighSpeedUpdates()
HideTradeAmountSettings()

-- Inputfields
minimumTradeAmount = Input('Minimum exposure', 10)
maximumTradeAmount = Input('Maximum exposure', 10000000)
amountFactor = Input('Trade amount factor', 2)
takeProfit = Input('Percentage profits', 0.2)
zoneFactor = Input('Zone factor', 1)

currentPrice = ClosePrices()

-- Load saved or default info.
reset = Load('reset', true)
basePrice = Load('basePrice', currentPrice)
targetSide = Load('targetSide', SignalExitPosition)
targetAmount = Load('targetAmount', minimumTradeAmount)

longAmount = LongAmount()
shortAmount = ShortAmount()

if IsAnyOrderOpen() == false and targetSide == SignalExitPosition then
  -- We dont have open orders.
  -- Make sure we dont have any positions open anymore.

  if longAmount > 0 then
    PlaceExitLongOrder(currentPrice, longAmount)
  end

  if shortAmount > 0 then
    PlaceExitShortOrder(currentPrice, shortAmount)
  end

  -- Reset base price if we dont have a position and are resetting.
  if longAmount + shortAmount == 0 and reset then
    basePrice = currentPrice
    reset = false
  end

end

-- Lets calculate the go long and short price
zoneSize = (basePrice / 100) * takeProfit / zoneFactor
goLongPrice = basePrice + zoneSize
goShortPrice = basePrice - zoneSize

function SwitchToShort(amount) 
    targetSide = SignalShort
    targetAmount = amount
    PlaceGoShortOrder(currentPrice, amount)
end

function SwitchToLong(amount) 
    targetSide = SignalLong
    targetAmount = amount
    PlaceGoLongOrder(currentPrice, amount)
end								
						
+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 Zone Recovery.
Start free 7-day trial
May 07, 24, 19:11:04 Bot deactivated
May 07, 24, 19:11:04 Backtest start date: 05/07/24 19:11:04 GTM+0
May 07, 24, 19:11:04 Backtest end date: 05/07/24 19:11:04 GTM+0
May 07, 24, 19:11:04 Backtest took: 00:00:01.6642358ms
May 07, 24, 19:11:04 ----- Custom Report -----
May 07, 24, 19:11:04 Estimated Profit: 0.01 BTC
May 07, 24, 19:11:04 ----- Backtest report BINANCE_BNB_BTC_ -----
May 07, 24, 19:11:04 Gross profits: 100.00000000 BNB
May 07, 24, 19:11:04 Fee costs: 10.00000000 BNB
May 07, 24, 19:11:04 Realized profits: 90.00000000 BNB
May 07, 24, 19:11:04 Return on investment: 10.0000 %
May 07, 24, 19:11:04 Price change: 0.0306%
May 07, 24, 19:11:04 Closed positions: 100x
May 07, 24, 19:11:04 Profitable positions: 60x (90.00%)
May 07, 24, 19:11:04 Losing positions: 40x (10.00%)
May 07, 24, 19:11:04 Average margin: 5.00000000 BNB
May 07, 24, 19:11:04 Average realized profits: 10.00000000 BNB
May 07, 24, 19:11:04 Executed orders: 100x
May 07, 24, 19:11:04 Completed order: 100x
May 07, 24, 19:11:04 Average open time: 10 seconds
May 07, 24, 19:11:04 ----- Performance report BINANCE_BNB_BTC_ -----
May 07, 24, 19:11:04 Max. DrawDown: 1.00% / 40.00000000 BNB
May 07, 24, 19:11:04 Sharpe Ratio: 1.00
May 07, 24, 19:11:04 Sortino Ratio: 1.00
May 07, 24, 19:11:04 Win %: 3.00 %
May 07, 24, 19:11:04 Profit Ratio: 3.00
May 07, 24, 19:11:04 Profit Factor: 3.00
May 07, 24, 19:11:04 CPC Index: 1.00
May 07, 24, 19:11:04 Tail Ratio: 2.00
May 07, 24, 19:11:04 Common Sense Ratio: 2.00
May 07, 24, 19:11:04 Outlier Win Ratio: 3.00
May 07, 24, 19:11:04 Outlier Loss Ratio: 1.00
May 07, 24, 19:11:04 Profit Margin Ratio: 54.00
May 07, 24, 19:11:04 Biggest Win: 100.00000000
May 07, 24, 19:11:04 Biggest Loss: -100.00000000
May 07, 24, 19:11:04 Highest Point in PNL: 5.00000000
May 07, 24, 19:11:04 Lowest Point in PNL: -5.00000000

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

The zone trading strategy involves identifying specific price zones where the market is more likely to reverse or consolidate, allowing you to enter or exit trades strategically. These zones are typically determined by technical indicators, support and resistance levels, or other market analysis tools. By understanding and utilizing these zones, you can potentially capitalize on market fluctuations and improve your trading performance.

One of the main benefits of using the zone trading strategy is that it enables you to pinpoint high-probability trade entries and exits. By focusing on these specific price zones, you can increase your chances of successful trades, ultimately leading to a more consistent trading experience. Additionally, zone trading can help you manage risk more effectively. By entering trades at or near these zones, you can set tighter stop-loss orders, minimizing potential losses if the market moves against you.

Trading bots using HaasScript on TradeServer Cloud can greatly enhance the zone trading strategy. HaasScript is a powerful scripting language designed for creating and customizing trading algorithms. By developing a custom trading bot using HaasScript, you can automate your zone trading strategy, ensuring that your trades are executed precisely when your desired price zones are reached. This level of automation can help to eliminate the need for constant market monitoring and reduce the risk of human error or emotional decision-making, which can negatively impact your trading results.

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 Zone Recovery

Simplified Copy Bots

Copy top-tier trade bots and capitalize on their performance.
HaasScript Name Market Runtime ROI
SMMDH v3.3 XRP/USD 179 days +22683.073% Copy Bot
SMMDH v3.3 XRP/USDT 153 days +21841.1672% Copy Bot
SMMD v2.51 BTC/USDT 35 days +11329.7437% Copy Bot
SMMD v2.51 DOGE/USD 300 days +9663.776% Copy Bot
SMMD v2.51 ADA/USD 285 days +7088.395% Copy Bot
Haasonline Original - Market Making Bot BTC/USDT 316 days +5970.9857% Copy Bot
SMMD v2.51 BTC/USD 300 days +5831.3415% Copy Bot
SMMD v2.51 XRP/USDT 300 days +4573.0656% Copy Bot
SMMD v2.51 XRP/USD 285 days +3998.3069% Copy Bot
SMMDH v3.3 BTC/USD 124 days +2568.739% Copy Bot
SMMDH v3.3 BTC/USD 180 days +2326.3045% Copy Bot
Spot-SMMDv2 MTVT/USDT 144 days +1278.0459% Copy Bot
SMMDH v3.3 XRP/USDT 131 days +1267.7955% Copy Bot
[pshaiBot] Simple Market Maker v2.6-c XRP/USDT 187 days +939.2105% Copy Bot
Haasonline Original - Market Making Bot XRP/USDT 317 days +909.5094% Copy Bot
SMMDH v3.3 BTC/USDT 179 days +879.6578% Copy Bot
Haasonline Original - Flash Crash Bot XRP/USDT 317 days +779.7938% Copy Bot
[pshaiBot] Simple Market Maker v2.6-c ARK/USDT 187 days +713.3251% Copy Bot
SMMD v2.51 ETH/USD 300 days +707.065% Copy Bot
Haasonline Original - Flash Crash Bot XRP/USDT 216 days +700.1103% Copy Bot
Haasonline Original - Flash Crash Bot XRP/USDT 211 days +565.2231% Copy Bot
Haasonline Original - Flash Crash Bot DOGE/USDT 317 days +530.6804% Copy Bot
Haasonline Original - Flash Crash Bot ADA/USDT 317 days +468.2344% Copy Bot
Spot-SMMDv2 LINK/USDT 150 days +413.0834% Copy Bot
Haasonline Original - Scalper Bot XRP/USDT 317 days +396.0012% Copy Bot
Haasonline Original - Flash Crash Bot XBT/USDT 313 days +343.8214% Copy Bot
Spot-SMMDv2 XRP/USDT 150 days +306.9311% Copy Bot
Spot-SMMDv2 BTC/USDT 150 days +280.3948% Copy Bot
Haasonline Original - Flash Crash Bot ETH/USDT 317 days +266.0818% Copy Bot
Spot-SMMDv2 B2M/USDT 109 days +224.0408% Copy Bot
Haasonline Original - Flash Crash Bot BTC/USDT 317 days +190.0414% Copy Bot
Spot-SMMDv2 BTC/USDT 150 days +186.0323% Copy Bot
Spot-SMMDv2 ETH/USDT 144 days +129.95% Copy Bot
Haasonline Original - Flash Crash Bot ADA/USDT 216 days +113.2466% Copy Bot
Spot-SMMDv2 ETH/USDT 150 days +97.0914% Copy Bot
Spot-SMMDv2 BTC/USDT 109 days +81.1937% Copy Bot
Haasonline Original - Flash Crash Bot ADA/USDT 211 days +65.7307% Copy Bot
Enhanced RSI bot (spot) BTC/USDT 321 days +28.6975% Copy Bot
Spot-SMMDv2 BTC/USDT 144 days +22.2661% Copy Bot
Spot-SMMDv2 LINK/USDT 144 days +18.0107% Copy Bot
Enhanced RSI bot (spot) ETH/USDT 321 days +17.0245% Copy Bot
Haasonline Original - Flash Crash Bot BTC/USDT 211 days +14.2077% Copy Bot
Haasonline Original - Flash Crash Bot BTC/USDT 211 days +13.5317% Copy Bot
[pshaiBot] Some Trend Trader (STT) DOGE/USDT 305 days +13.1914% Copy Bot
Spot-SMMDv2 XRP/USDT 144 days +12.635% Copy Bot
Haasonline Original - Intelli Alice Bot BTC/USDT 321 days +12.2624% Copy Bot
Simple Zero-lag EMA Bot ETH/USDT 317 days +8.8261% Copy Bot
Simple Zero-lag EMA Bot BTC/USDT 317 days +6.3177% Copy Bot
Haasonline Original - MadHatter Bot BTC/USDT 321 days +5.5713% 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.