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
Mar 26, 24, 21:55:36 Bot deactivated
Mar 26, 24, 21:55:36 Backtest start date: 03/26/24 21:55:36 GTM+0
Mar 26, 24, 21:55:36 Backtest end date: 03/26/24 21:55:36 GTM+0
Mar 26, 24, 21:55:36 Backtest took: 00:00:01.6642358ms
Mar 26, 24, 21:55:36 ----- Custom Report -----
Mar 26, 24, 21:55:36 Estimated Profit: 0.01 BTC
Mar 26, 24, 21:55:36 ----- Backtest report BINANCE_BNB_BTC_ -----
Mar 26, 24, 21:55:36 Gross profits: 100.00000000 BNB
Mar 26, 24, 21:55:36 Fee costs: 10.00000000 BNB
Mar 26, 24, 21:55:36 Realized profits: 90.00000000 BNB
Mar 26, 24, 21:55:36 Return on investment: 10.0000 %
Mar 26, 24, 21:55:36 Price change: 0.0306%
Mar 26, 24, 21:55:36 Closed positions: 100x
Mar 26, 24, 21:55:36 Profitable positions: 60x (90.00%)
Mar 26, 24, 21:55:36 Losing positions: 40x (10.00%)
Mar 26, 24, 21:55:36 Average margin: 5.00000000 BNB
Mar 26, 24, 21:55:36 Average realized profits: 10.00000000 BNB
Mar 26, 24, 21:55:36 Executed orders: 100x
Mar 26, 24, 21:55:36 Completed order: 100x
Mar 26, 24, 21:55:36 Average open time: 10 seconds
Mar 26, 24, 21:55:36 ----- Performance report BINANCE_BNB_BTC_ -----
Mar 26, 24, 21:55:36 Max. DrawDown: 1.00% / 40.00000000 BNB
Mar 26, 24, 21:55:36 Sharpe Ratio: 1.00
Mar 26, 24, 21:55:36 Sortino Ratio: 1.00
Mar 26, 24, 21:55:36 Win %: 3.00 %
Mar 26, 24, 21:55:36 Profit Ratio: 3.00
Mar 26, 24, 21:55:36 Profit Factor: 3.00
Mar 26, 24, 21:55:36 CPC Index: 1.00
Mar 26, 24, 21:55:36 Tail Ratio: 2.00
Mar 26, 24, 21:55:36 Common Sense Ratio: 2.00
Mar 26, 24, 21:55:36 Outlier Win Ratio: 3.00
Mar 26, 24, 21:55:36 Outlier Loss Ratio: 1.00
Mar 26, 24, 21:55:36 Profit Margin Ratio: 54.00
Mar 26, 24, 21:55:36 Biggest Win: 100.00000000
Mar 26, 24, 21:55:36 Biggest Loss: -100.00000000
Mar 26, 24, 21:55:36 Highest Point in PNL: 5.00000000
Mar 26, 24, 21:55:36 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/USD 137 days +19235.8038% Copy Bot
SMMDH v3.3 XRP/USDT 110 days +16841.3831% Copy Bot
SMMD v2.51 DOGE/USD 257 days +7646.0502% Copy Bot
SMMD v2.51 ADA/USD 243 days +6049.649% Copy Bot
SMMD v2.51 XRP/USDT 257 days +4940.1226% Copy Bot
Haasonline Original - Market Making Bot BTC/USDT 273 days +4424.7773% Copy Bot
SMMD v2.51 BTC/USD 257 days +4289.9106% Copy Bot
SMMD v2.51 XRP/USD 243 days +2884.9895% Copy Bot
SMMDH v3.3 BTC/USD 82 days +2580.1883% Copy Bot
SMMDH v3.3 BTC/USD 137 days +1502.4486% Copy Bot
Spot-SMMDv2 MTVT/USDT 101 days +1278.0459% Copy Bot
Haasonline Original - Market Making Bot XRP/USDT 275 days +864.1951% Copy Bot
SMMDH v3.3 BTC/USDT 137 days +706.8036% Copy Bot
[pshaiBot] Simple Market Maker v2.6-c XRP/USDT 145 days +609.2964% Copy Bot
Haasonline Original - Flash Crash Bot XRP/USDT 275 days +569.4179% Copy Bot
SMMD v2.51 ETH/USD 257 days +533.8967% Copy Bot
Haasonline Original - Flash Crash Bot DOGE/USDT 275 days +530.6804% Copy Bot
Haasonline Original - Scalper Bot XRP/USDT 275 days +521.0911% Copy Bot
Haasonline Original - Flash Crash Bot ADA/USDT 275 days +468.2344% Copy Bot
Haasonline Original - Flash Crash Bot XRP/USDT 174 days +417.1575% Copy Bot
[pshaiBot] Simple Market Maker v2.6-c ARK/USDT 145 days +377.042% Copy Bot
Haasonline Original - Flash Crash Bot XRP/USDT 168 days +376.6635% Copy Bot
Haasonline Original - Flash Crash Bot XBT/USDT 271 days +343.8214% Copy Bot
Spot-SMMDv2 LINK/USDT 108 days +304.8356% Copy Bot
[pshaiBot] Some Trend Trader (STT) BCH/USDT 263 days +303.0271% Copy Bot
Haasonline Original - Flash Crash Bot ETH/USDT 275 days +266.0818% Copy Bot
Spot-SMMDv2 XRP/USDT 108 days +221.9289% Copy Bot
Spot-SMMDv2 BTC/USDT 108 days +218.4641% Copy Bot
Haasonline Original - Flash Crash Bot BTC/USDT 275 days +190.0414% Copy Bot
Spot-SMMDv2 BTC/USDT 67 days +133.3862% Copy Bot
Spot-SMMDv2 B2M/USDT 67 days +125.9491% Copy Bot
Spot-SMMDv2 BTC/USDT 108 days +118.1873% Copy Bot
Haasonline Original - Flash Crash Bot ADA/USDT 174 days +113.2466% Copy Bot
[pshaiBot] Some Trend Trader (STT) ZEN/USDT 260 days +105.0236% Copy Bot
Haasonline Original - Flash Crash Bot ADA/USDT 168 days +65.7307% Copy Bot
Spot-SMMDv2 ETH/USDT 102 days +59.1074% Copy Bot
Spot-SMMDv2 ETH/USDT 108 days +46.841% Copy Bot
Simple Zero-lag EMA Bot ETH/USDT 274 days +30.8646% Copy Bot
Enhanced RSI bot (spot) ETH/USDT 278 days +30.1626% Copy Bot
Haasonline Original - MadHatter Bot BTC/USDT 278 days +28.9936% Copy Bot
Enhanced RSI bot (spot) BTC/USDT 278 days +27.0848% Copy Bot
Spot-SMMDv2 BTC/USDT 102 days +22.2661% Copy Bot
Haasonline Original - Intelli Alice Bot BTC/USDT 278 days +19.6146% Copy Bot
Spot-SMMDv2 LINK/USDT 102 days +17.4807% Copy Bot
Haasonline Original - Flash Crash Bot BTC/USDT 168 days +14.2077% Copy Bot
Haasonline Original - Flash Crash Bot BTC/USDT 168 days +13.5317% Copy Bot
Haasonline Original - MadHatter Bot ETH/USDT 278 days +12.7385% Copy Bot
Simple Zero-lag EMA Bot BTC/USDT 274 days +12.3162% Copy Bot
Spot-SMMDv2 XRP/USDT 102 days +9.967% 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.

Try TradeServer Cloud for 3-days and discover opportunities you've been missing.
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.