Start free
Partial close

Take half off without leaving your chart

Scaling out is where a lot of strategies actually make their money, and it is exactly what most bridges leave out. TheConnector accepts a partial close as a first-class command, in two forms: a percentage you configure once, or an exact volume written into the alert when you want that trade handled differently.

Close a percentage of the open position, set once on the account Or write an exact volume in the alert — it takes priority over the percentage Long and short handled separately, so one alert never touches the wrong side Same syntax across MT4, MT5 and cTrader — one alert, three platforms

Percentage, or exact volume

The percentage is an account setting, delivered to the robot ahead of time — the alert itself does not carry it. That keeps your Pine Script short and lets you change how much you scale out without editing a single alert. When you do want a specific trade closed by a precise amount, write the volume in the alert and it wins over the percentage: it is the more precise instruction, and you wrote it on purpose.

Change the percentage from your client area — no alert to re-edit

An explicit volume in the alert overrides it for that command only

The remaining volume keeps its stop and target — you are scaling out, not reopening

Closing what is not there any more

Strategies send close commands for positions that have already hit their target, or that never opened. TheConnector treats a close on a position that no longer exists as a harmless no-op rather than an execution error, and it waits a short moment for an entry from the same batch that may still be in flight before deciding there is nothing to close.

No false execution error in your history for a position that had already closed

A short grace period covers the entry that is still on its way

Rejections that are real still carry a reason you can read

Migrating an existing strategy

TheConnector understands the command vocabulary most TradingView traders already write, so a strategy that scales out today can usually be pointed at a new webhook without rewriting its Pine Script. The full grammar is documented, and the free tier lets you check it on a demo account before touching anything live.

The command syntax reference lists every accepted form

Test on a demo account first, on the free tier, without a payment card

The same alert can drive MT4, MT5 and cTrader at once

Frequently asked questions.

Do I have to put the percentage in every alert?
No. The percentage is set once on the connected account and delivered to the robot ahead of the command. The alert only says that a partial close should happen, and on which side.
Can I close an exact number of lots instead?
Yes. Write the volume in the alert and it is honoured exactly, taking priority over the account percentage for that command. The three robots honour an explicit volume identically.
What if the position was already closed?
The command is treated as a harmless no-op, not as a failure. A close aimed at something that no longer exists does not fill your history with execution errors.
Is partial close available on the free plan?
Yes, on all three platforms. It is part of the command set, not a paid add-on.

Start with one alert.

Scaling out is where a lot of strategies actually make their money, and it is exactly what most bridges leave out. TheConnector accepts a partial close as a first-class command, in two forms: a percentage you configure once, or an exact volume written into the alert when you want that trade handled differently.