Crypto trading

Trading chart patterns on perpetual futures: leverage, funding and liquidation

By the PatternX team · Published

Short answer

A pattern trade on a perpetual future carries risks a spot trade does not: funding payments every few hours, a liquidation price set by leverage and the exchange's mark price, and the chance that a stop held only in software never runs. Size the position from the pattern's stop, keep leverage low enough that liquidation sits well beyond that stop, and keep the stop resting at the exchange.

How a perpetual future works

A perpetual future is a derivative contract on a coin with no expiry date. Because it never settles, funding payments hold its price near the coin's spot price. Four terms matter for a pattern trader:

  • Funding is a periodic payment between holders of long and short positions. When the perpetual trades above spot the rate is usually positive and longs pay shorts; when it trades below, shorts pay longs. Many centralised exchanges settle every eight hours and some settle hourly. Funding is charged on the full position value, not on your margin. See funding rate.
  • Mark price is the exchange's fair-price reference, typically built from an index of spot prices on several exchanges. Exchanges use it, rather than the last traded price, to value open positions and to trigger liquidations, so a brief spike on one order book does not by itself liquidate anyone. Stop orders may trigger on the last price or the mark price, depending on the exchange and your settings.
  • Liquidation happens when your margin falls to the maintenance requirement: the exchange takes over the position and closes it, usually with a fee. In isolated margin, only the margin assigned to that position is normally at risk; in cross margin, the whole account balance backs it, which moves liquidation further away but puts more money behind the trade.
  • Open interest is the number of contracts outstanding. It measures how much positioning exists, not which way it leans.

What funding costs a pattern trade

Funding is a holding cost, or income, that the chart does not show. For example, take a breakout trade with a $2,500 position and a stop 4% away, so $100 is at risk. At a funding rate of 0.01% per eight hours, holding for three days means nine payments of $0.25: $2.25, a little over 2% of the risk. If the market is crowded and funding runs at 0.1% per eight hours, the same three days cost $22.50, more than a fifth of the risk budget before price has moved.

Tight stops make this worse. With a 1% stop, the same $100 of risk needs a $10,000 position, and funding scales with it: $9 over the same three days at 0.01%. Slow setups pay the most, and funding can be received rather than paid when you are on the side the crowd is not.

Leverage sets where you are liquidated, not what you lose at the stop

Leverage is often described as risk in itself, but with stop-based sizing it mostly decides margin. Compare two traders with $10,000 accounts taking the same bull flag breakout, with the stop 4% below entry:

  • Sizing by margin: Trader A puts $1,000 of margin in at 20x, a $20,000 position. If the stop is hit, the loss is $800, or 8% of the account, and liquidation sits only about 4.5% below entry, just past the stop.
  • Sizing by stop: Trader B decides to risk 1%, or $100, so the position is $100 ÷ 4% = $2,500. At 3x leverage that needs about $833 of margin. If the stop is hit the loss is $100, and liquidation is about a third of the way down.

Leverage did not change Trader B's loss at the stop; it changed the margin posted and the distance to liquidation. The table shows that distance for the $2,500 position, using an approximate isolated-margin formula (distance ≈ 1 ÷ leverage − maintenance margin rate) with a hypothetical 0.5% maintenance rate and ignoring fees and funding:

LeverageMargin postedApprox. distance to liquidationAgainst a 4% stop
2x$1,25049.5%Far beyond the stop
3x$83332.8%Far beyond the stop
5x$50019.5%Comfortably beyond
10x$2509.5%About 2.4 times the stop distance
20x$1254.5%Barely beyond the stop
25x$1003.5%Inside the stop: liquidated first

At 25x the position is liquidated before the stop can trigger, so the stop never matters and a liquidation fee is added. At 20x the gap is so narrow that slippage, fees or a difference between last and mark price can turn a stop-out into a liquidation. Real exchanges use their own formulas and tiered maintenance rates that rise with position size, so check the liquidation price your exchange shows before entering.

One conservative habit is to keep liquidation at least three times as far away as the stop. With a 4% stop that means 12% or more, which at a 0.5% maintenance rate allows up to about 8x. Higher leverage also frees margin for more positions at once, and because many coins move with bitcoin, several leveraged pattern trades can add up to one large bet.

Why the stop should rest at the exchange

A stop that lives only in your software works only while that software is running, connected and able to reach the exchange. The moments when a stop matters most, such as a liquidation cascade, are also when connections drop and exchange APIs slow down. A stop-loss order resting at the exchange is triggered by the exchange's own systems, whether or not your computer, bot or connection is working.

Two details matter:

  • Reduce-only. A reduce-only order can only shrink an existing position. If the position has already been closed, say by the take-profit, a leftover reduce-only stop cannot open a new position in the opposite direction.
  • Not a price promise. A triggered stop-market order fills at whatever price is available, which in a fast or thin market can be well past the stop level (slippage), and exchanges can suffer outages in extreme conditions. A resting stop removes the risk of your own software being offline; it does not remove market risk.

How PatternX handles perpetual futures trades

PatternX's defaults and mechanics:

  • Leverage: 3x by default for crypto, adjustable up to 25x, and further capped per exchange, for example 20x on Binance and 25x on Bybit and Hyperliquid.
  • Sizing: risk per trade is 1% of balance divided by the stop distance, so leverage changes the margin posted, not the position size. A free-margin check shrinks a trade to fit uncommitted margin (with a 2% buffer) and refuses it below $10 of position value.
  • Stops at the venue: right after the fill, PatternX places the stop (with up to three attempts) and the take-profit at the exchange, using the venue's own mechanism: reduce-only trigger orders on most exchanges, Bybit's native trading-stop, and position-level TP/SL on Bitget and Hyperliquid.
  • If the exchange refuses the stop: the position is closed immediately at market and you are alerted. If that close also fails, the trade is flagged and an unprotected-position alert is sent.
  • Trailing stop and break-even: these are managed by PatternX's software loop, which checks positions every 5 seconds. They are not changed at the exchange, which keeps the original stop, so they work only while PatternX is running and can reach it. See trailing stop.
  • Loss and exposure limits: a daily loss limit of 10% of current balance (realised losses since 00:00 UTC), a 60-minute cooldown after three losses in a row, and at most 3 open crypto trades by default. More in risk controls.
  • Funding in the analysis: the PatternX Score gives funding 3% of its weight, and PatternX AI (Pro and Elite) uses the funding rate as its only sentiment input.

New connections start in paper mode with manual approval, and live trading needs an API key that is not known to allow withdrawals.

Checklist before a leveraged pattern trade

  1. Take the stop from the pattern, then size the position from your risk budget and that distance.
  2. Choose leverage last, and check that the exchange's liquidation price sits well beyond the stop.
  3. Look up the current funding rate and estimate its cost over your expected holding time.
  4. Confirm your margin mode, isolated or cross, and what it puts at risk.
  5. After entry, confirm the stop appears in the exchange's open orders or position panel.
  6. Know your daily loss limit before the first trade of the day, not after the third loss.

What can still go wrong

Even a correctly sized trade with a resting stop can lose more than planned. Price can jump through the stop in a liquidation cascade, funding can turn sharply against a crowded position, and in extreme conditions an exchange can halt trading or auto-deleverage positions. Practise with paper trading, test ideas with backtesting, and read the risk disclaimer. Patterns describe probabilities, and leverage magnifies both outcomes.

Frequently asked questions

What leverage should I use for chart pattern trades on perpetual futures?

Start from the stop rather than from a leverage number: choose leverage that keeps the exchange's liquidation price several times further away than your stop. For pattern stops of a few percent that usually means single-digit leverage; PatternX's crypto default is 3x.

Who pays funding on a perpetual future, and when?

When the rate is positive, longs pay shorts; when it is negative, shorts pay longs. Payments change hands at each funding time, commonly every eight hours and hourly on some exchanges, and generally only positions open at that moment pay or receive.

Can I be liquidated before my stop-loss triggers?

Yes, if leverage puts the liquidation price closer than the stop. Because liquidation runs on the mark price while many stops trigger on the last price, a narrow gap between the two levels is risky even when the stop is nominally first.

Will a stop-loss at the exchange fill at my stop price?

Not necessarily. A triggered stop-market order fills at the next available prices, which in a fast market can be well past the stop; a stop-limit order controls the price but may not fill at all.

Does higher leverage mean a bigger loss when the stop is hit?

Not if you size from the stop: the loss at the stop is position size times stop distance, and leverage only changes the margin posted. Leverage raises the loss when it is used to open a bigger position for the same margin.

Do PatternX backtests account for funding and liquidation?

Yes. Backtests charge funding at a flat 0.01% per eight hours and check for liquidation, but they use neutral market context and do not model the risk engine, trailing stops, break-even or partial fills.

Related reading

Educational content, not financial advice. Chart patterns describe probabilities, not certainties; trading — especially with leverage or outside regular hours — can lose money, including more than you expect. See the risk disclaimer.