Search found 18 matches

by mt99
27 Jan 2016
Forum: MultiCharts .NET
Topic: Exchange-traded calendar spreads using CQG -- how?
Replies: 4
Views: 2331

Re: Exchange-traded calendar spreads using CQG -- how?

Thanks for the reply. Can you say what is stopping spread contracts from being supported? They are exactly the same as outright future contracts and it is perfectly possible to subscribe to them using the CQG API (I know this as I have done this in the past), which MultiCharts uses, so it has to be ...
by mt99
20 Jan 2016
Forum: MultiCharts .NET
Topic: Exchange-traded calendar spreads using CQG -- how?
Replies: 4
Views: 2331

Re: Exchange-traded calendar spreads using CQG -- how?

Hi, Yeah, I saw that thread too. It's been two years since, so I'm guessing that they should have fixed the negative prices issue by now... spreads are very important! Regardless of whether the negative prices have or have not been fixed, the calendar spread instruments do not even show up in the sy...
by mt99
19 Jan 2016
Forum: MultiCharts .NET
Topic: Exchange-traded calendar spreads using CQG -- how?
Replies: 4
Views: 2331

Exchange-traded calendar spreads using CQG -- how?

Hi, I am using CQG (via AMP) as both my data source and trading interface. While I can see all the outright future contracts that I need to see when I run a "*" search, I am unable to get MultiCharts.NET to show exchange-listed calendar spread contracts. I know that that they indeed exist and what t...
by mt99
29 Aug 2014
Forum: MultiCharts .NET
Topic: TradeManager.TradingData.Orders... callbacks not firing
Replies: 9
Views: 5945

Re: TradeManager.TradingData.Orders... callbacks not firing

Hi, I don't really know how to say this any other way, but C#, regardless of its nature, does not take a tenth of a second to print out a string with a DateTime.ToString() call. That is all my example does. If you print the same string in a while ( true ) {} loop, you'll see that it takes under a th...
by mt99
28 Aug 2014
Forum: MultiCharts .NET
Topic: TradeManager.TradingData.Orders... callbacks not firing
Replies: 9
Views: 5945

Re: TradeManager.TradingData.Orders... callbacks not firing

Thanks for the reply once again. Next study calculation is performed after the previous calculation is finished. The time it takes to calculate the study depends on the script and PC. The one thing that sticks out is that it does not take a PC 0.1s to perform a one line printout, and that's all ther...
by mt99
28 Aug 2014
Forum: MultiCharts .NET
Topic: TradeManager.TradingData.Orders... callbacks not firing
Replies: 9
Views: 5945

Re: TradeManager.TradingData.Orders... callbacks not firing

I have tried the approach of adding the following three lines to CalcBar()... protected override void CalcBar() { Output.WriteLine( DateTime.UtcNow.ToString(" yyyy-MM-dd HH:mm:ss.fff" ) + " CalcBar()" ); TradeManager.ProcessEvents(); ExecControl.RecalcLastBarAfter( TimeSpan.FromMilliseconds( 1 ) ); ...
by mt99
27 Aug 2014
Forum: MultiCharts .NET
Topic: TradeManager.TradingData.Orders... callbacks not firing
Replies: 9
Views: 5945

Re: TradeManager.TradingData.Orders... callbacks not firing

Thanks for the quick reply. Can I ask you to clarify it a bit please? In order to receive updates you need to call TradeManager.ProcessEvents(); Where do I call it from, CalcBar()? Do I call it just once to register for the events or do I need to call it every time to process the event queue? Please...
by mt99
27 Aug 2014
Forum: MultiCharts .NET
Topic: TradeManager.TradingData.Orders... callbacks not firing
Replies: 9
Views: 5945

TradeManager.TradingData.Orders... callbacks not firing

Hi, I'm using MultiCharts .NET64 Version 8.8 Release (Build 9191), and am trying to have a callback fire in my study when I place an order in the DOM. The study is attached to the same instrument as I am placing the order in, although I would like it to fire regardless of what instrument the order i...
by mt99
11 Jul 2014
Forum: MultiCharts .NET
Topic: ErrorCode: 0xFFFFFFFFC000000D ( -1073741811 )
Replies: 17
Views: 6258

Re: ErrorCode: 0xFFFFFFFFC000000D ( -1073741811 )

Just to clarify, is Output also a study variable that must not be used in BeginLoadData callbacks?
by mt99
19 Jun 2014
Forum: MultiCharts .NET
Topic: ErrorCode: 0xFFFFFFFFC000000D ( -1073741811 )
Replies: 17
Views: 6258

Re: ErrorCode: 0xFFFFFFFFC000000D ( -1073741811 )

I have now sent in the dumps as requested. Please confirm receipt.

Thanks.
by mt99
17 Jun 2014
Forum: MultiCharts .NET
Topic: ErrorCode: 0xFFFFFFFFC000000D ( -1073741811 )
Replies: 17
Views: 6258

Re: ErrorCode: 0xFFFFFFFFC000000D ( -1073741811 )

Hi,

Thanks for your reply.

I'm using MultiCharts .NET64 Version 8.8 Release (Build 9191)

PC name is WIN-55JCIP0LNI4.
by mt99
16 Jun 2014
Forum: MultiCharts .NET
Topic: ErrorCode: 0xFFFFFFFFC000000D ( -1073741811 )
Replies: 17
Views: 6258

Re: ErrorCode: 0xFFFFFFFFC000000D ( -1073741811 )

I have dug a bit further on this after I noticed that the problem occurred more when the signal (actually, it seems any signal that uses Bars.DOM) is connected to a contract that can have a sudden flurry of updates, such as TYAU14 (US 10Y on CQG), or the E-mini. It is actually a fairly reliable way ...
by mt99
16 Jun 2014
Forum: MultiCharts .NET
Topic: ErrorCode: 0xFFFFFFFFC000000D ( -1073741811 )
Replies: 17
Views: 6258

Re: ErrorCode: 0xFFFFFFFFC000000D ( -1073741811 )

Also, the same issue seems to have occurred in this ticket: https://www.multicharts.com/discussion/viewtopic.php?f=1&t=9110. Although it occurred in TradingServer.exe, the error code and the DLL where it occured are the same. There's a comment there (https://www.multicharts.com/discussion/viewtopic....
by mt99
15 Jun 2014
Forum: MultiCharts .NET
Topic: ErrorCode: 0xFFFFFFFFC000000D ( -1073741811 )
Replies: 17
Views: 6258

ErrorCode: 0xFFFFFFFFC000000D ( -1073741811 )

Hi, I keep experiencing a strange exception that forces me to terminate and restart MC, which is not ideal as I have a signal operating live at the time. The symptom is simple: a pop-up saying that an error has occurred that requires developer attention and offering me to send a report (which I have...
by mt99
07 Jun 2014
Forum: MultiCharts .NET
Topic: Where are custom session templates/times stored? [SOLVED]
Replies: 1
Views: 1649

Where are custom session templates/times stored? [SOLVED]

Hi, Can you tell me where the MultiCharts .NET64 QuoteManager stores the custom session templates and times or if there is a way to export then from an existing setup and import them into a new one (e.g. onto a new PC)? Would exporting an instrument with session times defined by a custom session tem...
by mt99
06 Jun 2014
Forum: MultiCharts .NET
Topic: What happens when a signal is recompiled?
Replies: 1
Views: 1272

What happens when a signal is recompiled?

Hi, Can you please tell me what happens to an existing signal object that is currently running when it is recompiled in the PowerLanguage .NET editor? I have noticed the following piece of behaviour: My signal has a static object that is instantiated in the static contructor of the signal class and ...
by mt99
16 Apr 2014
Forum: MultiCharts .NET
Topic: Can I access the DOM for several instruments in same script?
Replies: 1
Views: 1199

Can I access the DOM for several instruments in same script?

Hi, I have been trying to figure out how to access the DOM for more than one instrument (by using Bars.DOM...) from the same script. I have tried BarsOfData(x) but although I attached the signal to a chart with two instruments on (see picture attached), and MaxDataStream is showing as 2, as I'd expe...

Go to advanced search