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
Jul 16, 24, 23:55:27 Bot deactivated
Jul 16, 24, 23:55:27 Backtest start date: 07/16/24 23:55:27 GTM+0
Jul 16, 24, 23:55:27 Backtest end date: 07/16/24 23:55:27 GTM+0
Jul 16, 24, 23:55:27 Backtest took: 00:00:01.6642358ms
Jul 16, 24, 23:55:27 ----- Custom Report -----
Jul 16, 24, 23:55:27 Estimated Profit: 0.01 BTC
Jul 16, 24, 23:55:27 ----- Backtest report BINANCE_BNB_BTC_ -----
Jul 16, 24, 23:55:27 Gross profits: 100.00000000 BNB
Jul 16, 24, 23:55:27 Fee costs: 10.00000000 BNB
Jul 16, 24, 23:55:27 Realized profits: 90.00000000 BNB
Jul 16, 24, 23:55:27 Return on investment: 10.0000 %
Jul 16, 24, 23:55:27 Price change: 0.0306%
Jul 16, 24, 23:55:27 Closed positions: 100x
Jul 16, 24, 23:55:27 Profitable positions: 60x (90.00%)
Jul 16, 24, 23:55:27 Losing positions: 40x (10.00%)
Jul 16, 24, 23:55:27 Average margin: 5.00000000 BNB
Jul 16, 24, 23:55:27 Average realized profits: 10.00000000 BNB
Jul 16, 24, 23:55:27 Executed orders: 100x
Jul 16, 24, 23:55:27 Completed order: 100x
Jul 16, 24, 23:55:27 Average open time: 10 seconds
Jul 16, 24, 23:55:27 ----- Performance report BINANCE_BNB_BTC_ -----
Jul 16, 24, 23:55:27 Max. DrawDown: 1.00% / 40.00000000 BNB
Jul 16, 24, 23:55:27 Sharpe Ratio: 1.00
Jul 16, 24, 23:55:27 Sortino Ratio: 1.00
Jul 16, 24, 23:55:27 Win %: 3.00 %
Jul 16, 24, 23:55:27 Profit Ratio: 3.00
Jul 16, 24, 23:55:27 Profit Factor: 3.00
Jul 16, 24, 23:55:27 CPC Index: 1.00
Jul 16, 24, 23:55:27 Tail Ratio: 2.00
Jul 16, 24, 23:55:27 Common Sense Ratio: 2.00
Jul 16, 24, 23:55:27 Outlier Win Ratio: 3.00
Jul 16, 24, 23:55:27 Outlier Loss Ratio: 1.00
Jul 16, 24, 23:55:27 Profit Margin Ratio: 54.00
Jul 16, 24, 23:55:27 Biggest Win: 100.00000000
Jul 16, 24, 23:55:27 Biggest Loss: -100.00000000
Jul 16, 24, 23:55:27 Highest Point in PNL: 5.00000000
Jul 16, 24, 23:55:27 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
SMMDH v3.3 XRP/USDT 223 days +26562.2895% Copy Bot
SMMDH v3.3 XRP/USD 249 days +25928.7266% Copy Bot
SMMD v2.51 BTC/USDT 105 days +23910.2702% Copy Bot
SMMD v2.51 DOGE/USD 370 days +10938.0244% Copy Bot
SMMD v2.51 ADA/USD 355 days +8314.3875% Copy Bot
SMMD v2.51 BTC/USD 370 days +6612.3505% Copy Bot
Haasonline Original - Market Making Bot BTC/USDT 386 days +6322.7025% Copy Bot
SMMD v2.51 XRP/USD 355 days +4991.6436% Copy Bot
SMMDH v3.3 XRP/USDT 201 days +3833.3343% Copy Bot
SMMDH v3.3 BTC/USDT 249 days +3331.6262% Copy Bot
SMMDH v3.3 BTC/USD 250 days +3188.4771% Copy Bot
SMMD v2.51 XRP/USDT 370 days +2666.0172% Copy Bot
SMMDH v3.3 BTC/USD 194 days +1967.4375% Copy Bot
Spot-SMMDv2 MTVT/USDT 214 days +1278.0459% Copy Bot
Haasonline Original - Flash Crash Bot XRP/USDT 387 days +1012.9801% Copy Bot
Haasonline Original - Flash Crash Bot XRP/USDT 281 days +955.8032% Copy Bot
Haasonline Original - Flash Crash Bot XRP/USDT 286 days +946.2549% Copy Bot
Haasonline Original - Market Making Bot XRP/USDT 387 days +886.2992% Copy Bot
SMMD v2.51 ETH/USD 370 days +837.1063% Copy Bot
[pshaiBot] Simple Market Maker v2.6-c XRP/USDT 257 days +826.485% Copy Bot
Haasonline Original - Scalper Bot XRP/USDT 387 days +566.3032% Copy Bot
Spot-SMMDv2 LINK/USDT 220 days +555.8263% Copy Bot
Haasonline Original - Flash Crash Bot DOGE/USDT 387 days +530.6804% Copy Bot
Haasonline Original - Flash Crash Bot ADA/USDT 387 days +468.2344% Copy Bot
[pshaiBot] Some Trend Trader (STT) ZEN/USDT 372 days +406.395% Copy Bot
Spot-SMMDv2 BTC/USDT 220 days +353.8174% Copy Bot
Haasonline Original - Flash Crash Bot XBT/USDT 383 days +343.8214% Copy Bot
[pshaiBot] Some Trend Trader (STT) DOGE/USDT 375 days +340.6399% Copy Bot
[pshaiBot] Simple Market Maker v2.6-c ARK/USDT 257 days +337.1745% Copy Bot
Spot-SMMDv2 XRP/USDT 220 days +321.9866% Copy Bot
Spot-SMMDv2 B2M/USDT 179 days +283.0183% Copy Bot
Haasonline Original - Flash Crash Bot ETH/USDT 387 days +266.0818% Copy Bot
Spot-SMMDv2 ETH/USDT 214 days +212.8724% Copy Bot
Spot-SMMDv2 BTC/USDT 220 days +195.7992% Copy Bot
Haasonline Original - Flash Crash Bot BTC/USDT 387 days +190.0414% Copy Bot
Spot-SMMDv2 ETH/USDT 220 days +148.2216% Copy Bot
Haasonline Original - Flash Crash Bot ADA/USDT 286 days +113.2466% Copy Bot
Spot-SMMDv2 BTC/USDT 179 days +79.5967% Copy Bot
Haasonline Original - Flash Crash Bot ADA/USDT 281 days +65.7307% Copy Bot
HFCBv1.0 BTC/USDT 18 days +52.7483% Copy Bot
HFCBv1.0 BTC/USDT 18 days +48.0008% Copy Bot
HFCBv1.0 BTC/USDT 18 days +45.0445% Copy Bot
HFCBv1.0 BTC/USDT 18 days +43.4517% Copy Bot
HFCBv1.0 BTC/USDT 18 days +41.1998% Copy Bot
HFCBv1.0 BTC/USD 18 days +41.0485% Copy Bot
HFCBv1.0 BTC/USDT 18 days +40.3484% Copy Bot
HFCBv1.0 BTC/USDT 18 days +38.2882% Copy Bot
HFCBv1.0 BTC/USDT 18 days +37.2505% Copy Bot
HFCBv1.0 BTC/USDT 18 days +34.1665% Copy Bot
Enhanced RSI bot (spot) BTC/USDT 390 days +32.4853% Copy Bot
HFCBv1.0 XBT/USDT 18 days +30.7273% Copy Bot
[pshaiBot] Some Trend Trader (STT) BNB/USDT 375 days +30.4888% Copy Bot
HFCBv1.0 BTC/USDT 18 days +26.418% Copy Bot
Spot-SMMDv2 BTC/USDT 214 days +22.2661% Copy Bot
Spot-SMMDv2 LINK/USDT 214 days +19.9682% Copy Bot
Spot-SMMDv2 XRP/USDT 214 days +16.2504% Copy Bot
Haasonline Original - Flash Crash Bot BTC/USDT 280 days +14.2077% Copy Bot
HFCBv1.0 BTC/USDT 18 days +12.4707% Copy Bot
Haasonline Original - Intelli Alice Bot BTC/USDT 390 days +10.5855% Copy Bot
Enhanced RSI bot (spot) ETH/USDT 390 days +4.7062% 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.