AUTOMATED TRADING

Serve up higher margins

Dynamically adjust your position and take quick profits with precision and accuracy.
							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 Ping Pong.
Start free 7-day trial
Nov 15, 24, 12:41:58 Bot deactivated
Nov 15, 24, 12:41:58 Backtest start date: 11/15/24 12:41:58 GTM+0
Nov 15, 24, 12:41:58 Backtest end date: 11/15/24 12:41:58 GTM+0
Nov 15, 24, 12:41:58 Backtest took: 00:00:01.6642358ms
Nov 15, 24, 12:41:58 ----- Custom Report -----
Nov 15, 24, 12:41:58 Estimated Profit: 0.01 BTC
Nov 15, 24, 12:41:58 ----- Backtest report BINANCE_BNB_BTC_ -----
Nov 15, 24, 12:41:58 Gross profits: 100.00000000 BNB
Nov 15, 24, 12:41:58 Fee costs: 10.00000000 BNB
Nov 15, 24, 12:41:58 Realized profits: 90.00000000 BNB
Nov 15, 24, 12:41:58 Return on investment: 10.0000 %
Nov 15, 24, 12:41:58 Price change: 0.0306%
Nov 15, 24, 12:41:58 Closed positions: 100x
Nov 15, 24, 12:41:58 Profitable positions: 60x (90.00%)
Nov 15, 24, 12:41:58 Losing positions: 40x (10.00%)
Nov 15, 24, 12:41:58 Average margin: 5.00000000 BNB
Nov 15, 24, 12:41:58 Average realized profits: 10.00000000 BNB
Nov 15, 24, 12:41:58 Executed orders: 100x
Nov 15, 24, 12:41:58 Completed order: 100x
Nov 15, 24, 12:41:58 Average open time: 10 seconds
Nov 15, 24, 12:41:58 ----- Performance report BINANCE_BNB_BTC_ -----
Nov 15, 24, 12:41:58 Max. DrawDown: 1.00% / 40.00000000 BNB
Nov 15, 24, 12:41:58 Sharpe Ratio: 1.00
Nov 15, 24, 12:41:58 Sortino Ratio: 1.00
Nov 15, 24, 12:41:58 Win %: 3.00 %
Nov 15, 24, 12:41:58 Profit Ratio: 3.00
Nov 15, 24, 12:41:58 Profit Factor: 3.00
Nov 15, 24, 12:41:58 CPC Index: 1.00
Nov 15, 24, 12:41:58 Tail Ratio: 2.00
Nov 15, 24, 12:41:58 Common Sense Ratio: 2.00
Nov 15, 24, 12:41:58 Outlier Win Ratio: 3.00
Nov 15, 24, 12:41:58 Outlier Loss Ratio: 1.00
Nov 15, 24, 12:41:58 Profit Margin Ratio: 54.00
Nov 15, 24, 12:41:58 Biggest Win: 100.00000000
Nov 15, 24, 12:41:58 Biggest Loss: -100.00000000
Nov 15, 24, 12:41:58 Highest Point in PNL: 5.00000000
Nov 15, 24, 12:41:58 Lowest Point in PNL: -5.00000000

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

The crypto ping pong trading strategy is a straightforward approach that involves dynamically placing buy and sell orders within a predefined price range. As a trader employing this strategy, you can experience several advantages.

A major benefit of ping pong trading is its simplicity. The strategy is easy to understand and execute, even for those who are new to trading. By setting a clear range for your trades, you can avoid overcomplicating your trading decisions and focus on taking advantage of price movements within that range.

Another advantage of ping pong trading is that it can work well in range-bound markets. When an asset's price is moving sideways and not exhibiting a strong trend, this strategy allows you to profit from small fluctuations within the established range. This can lead to consistent returns, especially if the price range is well-defined and offers ample opportunities for buying low and selling high.

TradeServer Cloud's trading bots can be instrumental in implementing a successful ping pong trading strategy. These automated tools can monitor the market in real-time and execute buy and sell orders based on your predefined price range. By using trading bots, you can benefit from accurate and consistent order execution, which is essential for maximizing the returns from your ping pong trading strategy.

These trading bots on TradeServer Cloud offer a high degree of customization. You can fine-tune your ping pong strategy by adjusting the parameters to suit your specific requirements and risk tolerance. This flexibility allows you to optimize your approach, ensuring that it remains effective and profitable in various market conditions.

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.
  • Quicker profits

    Ping pong trading strategies can generate quick profits, as trades are typically held for a short period of time.

  • Backtesting Friendly

    This trading bot can be backtested on historical data to evaluate effectiveness to help refine performance.

  • Automation and scalability

    This type of strategy can generate large amounts of trading volume, which can be difficult for individual traders to manage manually.

Discover alternatives to the Ping Pong

Simplified Copy Bots

Copy top-tier trade bots and capitalize on their performance.
HaasScript Name Market Runtime ROI
SMMD v2.51 BTC/USDT 227 days +50624.346% Copy Bot
SMMDH v3.3 XRP/USDT 95 days +45936.6156% Copy Bot
SMMDH v3.3 XRP/USD 101 days +37282.6212% Copy Bot
SMMDH v3.3 XRP/USDT 97 days +14421.2139% Copy Bot
SMMD v2.51 DOGE/USD 492 days +11980.9384% Copy Bot
SMMD v2.51 BTC/USD 492 days +10000.328% Copy Bot
Haasonline Original - Market Making Bot BTC/USDT 508 days +9351.9627% Copy Bot
SMMDH v3.3 BTC/USDT 102 days +5868.721% Copy Bot
SMMDH v3.3 BTC/USD 102 days +5072.5739% Copy Bot
SMMD v2.51 ADA/USD 477 days +4888.6642% Copy Bot
SMMD v2.51 XRP/USDT 492 days +4828.7871% Copy Bot
[pshaiBot] Some Trend Trader (STT) DOGE/USDT 497 days +2973.836% Copy Bot
SMMD v2.51 ETH/USD 492 days +1357.1903% Copy Bot
SMMD v2.51 XRP/USD 477 days +1332.6821% Copy Bot
[pshaiBot] Simple Market Maker v2.6-c XRP/USDT 379 days +894.2406% Copy Bot
SMMDH v3.3 BTC/USD 102 days +687.1995% Copy Bot
SMMDH v3.3 BTC/USDT 102 days +622.3642% Copy Bot
SMMDH v3.3 BTC/USDT 102 days +598.7156% Copy Bot
[pshaiBot] Some Trend Trader (STT) ZEN/USDT 494 days +462.278% Copy Bot
Haasonline Original - Scalper Bot XRP/USDT 509 days +457.9812% Copy Bot
[pshaiBot] Simple Market Maker v2.6-c ARK/USDT 379 days +375.2965% Copy Bot
HFCBv1.0 BTC/USDT 140 days +363.7736% Copy Bot
[pshaiBot] Some Trend Trader (STT) BNB/USDT 497 days +335.8385% Copy Bot
HFCBv1.0 BTC/USDT 140 days +283.3727% Copy Bot
HFCBv1.0 BTC/USDT 140 days +261.6021% Copy Bot
HFCBv1.0 BTC/USDT 140 days +247.9065% Copy Bot
HFCBv1.0 BTC/USD 140 days +245.9078% Copy Bot
Haasonline Original - Scalper Bot ETH/USDT 509 days +244.6159% Copy Bot
HFCBv1.0 BTC/USDT 140 days +228.0936% Copy Bot
HFCBv1.0 BTC/USDT 140 days +225.1551% Copy Bot
HFCBv1.0 BTC/USDT 140 days +196.3389% Copy Bot
HFCBv1.0 BTC/USDT 140 days +149.1533% Copy Bot
Haasonline Original - Flash Crash Bot ADA/USDT 408 days +113.2466% Copy Bot
HS-DCA-Spot-Hopper-v2.0 ADA/USDT 118 days +102.209% Copy Bot
HS-DCA-Spot-Hopper-v2.0 ADA/USDT 113 days +94.5202% Copy Bot
HS-DCA-Spot-Hopper-v2.0 ADA/USDT 113 days +81.1726% Copy Bot
HS-DCA-Spot-Hopper-v2.0 XRP/USDT 118 days +75.9525% Copy Bot
HS-DCA-Spot-Hopper-v2.0 XRP/USDT 113 days +68.8061% Copy Bot
HS-DCA-Spot-Hopper-v2.0 SOL/USDT 116 days +66.8157% Copy Bot
HS-DCA-Spot-Hopper-v2.0 XRP/USDT 113 days +64.3516% Copy Bot
HFCBv1.0 BTC/USDT 140 days +62.8524% Copy Bot
Enhanced RSI bot (spot) BTC/USDT 513 days +53.8059% Copy Bot
HS-DCA-Spot-Hopper-v2.0 SOL/USDT 113 days +53.1776% Copy Bot
HS-DCA-Spot-Hopper-v2.0 SOL/USDT 113 days +44.1909% Copy Bot
HS-DCA-Spot-Hopper-v2.0 XRP/USDT 113 days +33.1079% Copy Bot
HS-DCA-Spot-Hopper-v2.0 ADA/USDT 113 days +19.1529% Copy Bot
Haasonline Original - Intelli Alice Bot BTC/USDT 513 days +13.6117% Copy Bot
HS-DCA-Spot-Hopper-v2.0 BTC/USDT 118 days +2.1104% 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.