Exit all open position in Portfolio Trader at once

Questions about MultiCharts .NET and user contributed studies.
lewisthegood
Posts: 21
Joined: 08 Mar 2021
Been thanked: 1 time

Exit all open position in Portfolio Trader at once

Postby lewisthegood » 10 Nov 2021

I am looking for a way/function/commend to exit all the open positions within the same account (interactive brokers) for Portfolio Trader at the same time, but I cannot find a perfect way to do so.

For example, I have 1 long position of X and 1 short position of Y in the same account for Portfolio Trader, please advise how can I close both X and Y at the same time under Portfolio Trader

User avatar
Tammy MultiCharts
Posts: 200
Joined: 06 Aug 2020
Has thanked: 6 times
Been thanked: 65 times

Re: Exit all open position in Portfolio Trader at once

Postby Tammy MultiCharts » 03 Dec 2021

Hello lewisthegood,

During Auto Trading in Portfolio Trader the orders can only be sent on bar close or bar open of the main data series.
Unfortunately, at the moment there is no perfect way to close all the open positions at the same time in Auto Trading.

You can either turn off Auto Trading and close the open positions in the window that pops up or close the open positions manually through Flatten Everything in Order and Position Tracker.

We are planning to improve this in one of the future releases though.


Return to “MultiCharts .NET”