Could I write codes to 'Reload' instruments data in MC.Net?

Questions about MultiCharts .NET and user contributed studies.
Morgan
Posts: 16
Joined: 29 Oct 2014
Has thanked: 1 time
Been thanked: 1 time

Could I write codes to 'Reload' instruments data in MC.Net?

Postby Morgan » 14 Apr 2016

The reason I need this function is because market scanner.

In current MC.Net, I can't reload all data of the instruments list with one click.
('Scanner Now' button is only back-filled the missing data between last scan,
however sometimes I missed more period range of historical data.)

Therefore, I would like to know whether I can implement some codes in PowerLanguage.Net to reload data.
That means whether I can write some codes with C#.Net to reload some specific or all missing instruments data.

Thanks!

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Could I write codes to 'Reload' instruments data in MC.N

Postby Henry MultiСharts » 15 Apr 2016

Hello Morgan,

You can trigger 'Reload' programmatically by accessing the command line interface via the code.
Here are the supported commands:
https://www.multicharts.com/trading-sof ... d_Commands
Code example here:
viewtopic.php?f=19&t=45218#p97615
Keep in mind that you can do that from a study applied to a chart only. It will not trigger in any other windows.

We are also considering implementing a feature that will allow easier reloading of historical data from the QuoteManager window directly:
https://www.multicharts.com/pm/viewissu ... no=MC-1017


Return to “MultiCharts .NET”