How to get datas from different DataFeed

Questions about MultiCharts .NET and user contributed studies.
bandito
Posts: 7
Joined: 23 Apr 2013

How to get datas from different DataFeed

Postby bandito » 23 Apr 2013

Hi!

I'd like to get datas (bid/ask) different charts/datafeed. (LMax, MBTrading) and I want to send orders too.
Can I send instant market orders? I tryed OrderCreator.MarketThisBar(..), but opened at new bar.


regards,
Bandito

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

Re: How to get datas from different DataFeed

Postby Henry MultiСharts » 23 Apr 2013

Hello bandito,

There are two ways to get the data:
1) You can plot this data on the chart, then reference it from the code for calculation with the help of BarsOfData() method.
2) Use IDataLoader to load the data you need, process and use it from the code directly.

For more details and examples please refer to MultiCharts.NET-Programming Guide:
4.2 Data Access
4.7.4 Receiving the data for any symbol and any resolution. DataLoader.

Another IDataLoader example can be found here.

Please refer to our TradeManager example to learn how to place orders for an instrument different from your main data series symbol.
For more information on MultiCharts .Net programming please refer to our MultiCharts .Net programming guide


Return to “MultiCharts .NET”