Order confirmation for parent order only in Portfolio Trader

Questions about MultiCharts .NET and user contributed studies.
darob
Posts: 207
Joined: 20 Nov 2014
Has thanked: 57 times
Been thanked: 32 times

Order confirmation for parent order only in Portfolio Trader

Postby darob » 24 Mar 2021

Hi, is there a way to enable order confirmation for parent orders only in Portfolio Trader? As it is it applies to stops and targets too which is a problem.

Thanks

User avatar
Vlada MultiCharts
Posts: 293
Joined: 22 Apr 2020
Has thanked: 8 times
Been thanked: 76 times

Re: Order confirmation for parent order only in Portfolio Trader

Postby Vlada MultiCharts » 31 Mar 2021

Hi darob,

Unfortunately, technically it is not possible to do this. Order confirmation works for the patches or orders that can consist of entries, exits and reverses, so using it with such criteria is not available.

darob
Posts: 207
Joined: 20 Nov 2014
Has thanked: 57 times
Been thanked: 32 times

Re: Order confirmation for parent order only in Portfolio Trader

Postby darob » 09 Apr 2021

I don't suppose it's possible to develop a keyword that will throw a confirmation dialog directly from the code? That would be awesome please and thank you!

User avatar
Vlada MultiCharts
Posts: 293
Joined: 22 Apr 2020
Has thanked: 8 times
Been thanked: 76 times

Re: Order confirmation for parent order only in Portfolio Trader

Postby Vlada MultiCharts » 29 Jul 2021

darob,

Technically you can show the message box (MessageBox) from the script.
However, the message box will stop the calculation for a period when it is being displayed, so we don't recommend this method.


Return to “MultiCharts .NET”