How to access Alert Tab of Order and Position Tracker?

Questions about MultiCharts .NET and user contributed studies.
eunos64
Posts: 38
Joined: 15 Sep 2013
Has thanked: 13 times
Been thanked: 3 times

How to access Alert Tab of Order and Position Tracker?

Postby eunos64 » 14 Dec 2016

Hi there,

I want to access "Alert" Tab of Order and Position Tracker window and want to get a string of Instrument name from this Tab programmatically.

I am attaching Indicator into Scanner with Alert enabled.
Once Indicator generate an Alert, new Alert is shown in Alert Tab. I want to get this information about Source and Instrument.
The goal is to show the chart of this symbol with Indicator that have a function of getting this symbol name. like this...

Code: Select all

ChartCommands.CommandLine(".csy name=" + AlertSymbol.Value);
Yes, I know I can get these information in another way like this...

Code: Select all

AlertSymbol.Value = Bars.Info.Name;
Clipboard.SetText(AlertSymbol.Value);
But, this is unstable way because I'm using Cilpboard in different application.
Unfortunately, I couldn't find any hint on Alert Tab in PL.Net Editor Help.
Anybody please tell me good idea.

Best regards,

P.S
Using MC.net64 10.0 build 13630, Windows10 64bit

User avatar
Alex MultiCharts
Posts: 194
Joined: 09 Aug 2013
Has thanked: 43 times
Been thanked: 77 times

Re: How to access Alert Tab of Order and Position Tracker?

Postby Alex MultiCharts » 16 Dec 2016

Hello,

It is not possible to get access to Alerts tab, please leave a feature request at this web page if you want to have such functionality in future:
http://www.multicharts.com/pm/

But instead of Clipboard you can use, for example, files or a static array.


Return to “MultiCharts .NET”