Search found 36 matches

by cyberdad
08 Apr 2011
Forum: MultiCharts
Topic: Flag trendlines/drawings as not editable
Replies: 2
Views: 945

Re: Flag trendlines/drawings as not editable

I mean a trendline that is drawn on the chart using tl_new etc but it has no nodes for resizing/repositioning. This is useful because when a lot of trendlines are drawn (for example the segments of a zigzag), the user can easily select a trendline node by accident (instead of, say, a fibonacci tool ...
by cyberdad
08 Apr 2011
Forum: MultiCharts
Topic: Flag trendlines/drawings as not editable
Replies: 2
Views: 945

Flag trendlines/drawings as not editable

Is there a way to make a code generated trendline/drawing NOT editable by the user?
by cyberdad
08 Apr 2011
Forum: MultiCharts
Topic: Creating DLL To Extend MultiCharts Functionality
Replies: 15
Views: 8740

Re: Creating DLLs To Extend MultiCharts Functionality

You can use Delphi. In terms of speed it is second only to C++. in terms of IDE, it is as close as it gets to VS (although a little buggy sometimes). Of course, it is a pricey choice if you don't already have a license. Import Component-> Type Library-> PLkit type library Create DLL project and add ...
by cyberdad
22 Sep 2010
Forum: MultiCharts
Topic: Delphi DLL using PLkit.dll not able to get data2 stream.
Replies: 9
Views: 2984

Re: Delphi DLL using PLkit.dll not able to get data2 stream.

God bless you Dave, By reassuring me that all data streams are accessible, I now understand what happened. There was another irrelevant error in my code at the time I was trying to access the data streams from my DLL. So. I decided to code the data streams structure myself and just feed the prices t...
by cyberdad
22 Sep 2010
Forum: MultiCharts
Topic: Delphi DLL using PLkit.dll not able to get data2 stream.
Replies: 9
Views: 2984

Re: Delphi DLL using PLkit.dll not able to get data2 stream.

Thank you for your reply Dave. One indeed should be able to access all data series. For some reason though, I couldn't get it to work in Delphi. I really don't know why. Any attempt to access any data series beyond the base one, fails. I guess I am doing something wrong on a very basic level and I c...
by cyberdad
19 Sep 2010
Forum: MultiCharts
Topic: Delphi DLL using PLkit.dll not able to get data2 stream.
Replies: 9
Views: 2984

Re: Delphi DLL using PLkit.dll not able to get data2 stream.

Never mind, 3 days for an answer to such a simple matter is a bit much. I decided to just feed the dll with all price data needed and let everything get calculated inside the dll code. Which makes my code platform independent too. You never know which is the next best platform, after all :) For anyo...
by cyberdad
17 Sep 2010
Forum: MultiCharts
Topic: Delphi DLL using PLkit.dll not able to get data2 stream.
Replies: 9
Views: 2984

Re: Delphi DLL using PLkit.dll not able to get data2 stream.

I just need to know one thing basically. Does "IEasyLanguageObject" carry all available data streams in a chart as it gets passed to a custom DLL function(s) (ie data1,data2 etc)? If I know that indeed it does, then I can try to figure out what's wrong with my code. If it doesn't then I can try to a...
by cyberdad
16 Sep 2010
Forum: MultiCharts
Topic: Delphi DLL using PLkit.dll not able to get data2 stream.
Replies: 9
Views: 2984

Re: Delphi DLL using PLkit.dll not able to get data2 stream.

The error is "Message: Error in Study 'Mechano DLL' ; ;" Capture.PNG The error occurs when the strategy is applied to data1 (as base stream) and calling a data2 stream value inside the DLL pELObj.CloseMD[data2].AsDouble[Bars]; When the strategy is applied to data2 stream (as base stream), no error o...
by cyberdad
16 Sep 2010
Forum: MultiCharts
Topic: Delphi DLL using PLkit.dll not able to get data2 stream.
Replies: 9
Views: 2984

Delphi DLL using PLkit.dll not able to get data2 stream.

I wrote a "hello world" dll in Delphi that interfaces with MC through PLkit.dll. The DLL has 2 basic functions returning the value of data1.Close[bars] and data2.Close[bars]. The function using data1 stream works fine. But when attempting to use data2 stream an error occurs. Capture.PNG Here is the ...
by cyberdad
30 Apr 2010
Forum: MultiCharts
Topic: IB Real-Time Data server timestamps + new tws update query
Replies: 22
Views: 7025

I could well be off-topic here but since time-stamps are all about data consistency across multiple clients (or even between client-server), I ll say it anyway. I noticed long ago that the feed from IB as it is registered by MC could have a lot of minor differences among different clients. Even clie...
by cyberdad
30 Apr 2010
Forum: MultiCharts
Topic: How to close order in the same bar?
Replies: 44
Views: 11830

Interesting thread. I only use "sell/buy this bar at Close" in the routines that determine if UPS Batteries are low. It seemed logical at the time to exit all positions the soonest possible. I even remember testing it (just with demo account though) and MC did exit all positions prior to exiting. I ...
by cyberdad
28 Apr 2010
Forum: MultiCharts
Topic: TS Development Environment
Replies: 5
Views: 1922

Hi Bruce, I remember you from Neoticker forum a couple of years ago. Always helpful. Glad to see you here. So, one would just need to remove any special tags like "#Region" and "#EndRegion" and then copy-paste the code in PLE. Certainly worth a try. PLE is a very plain/slow editor not able to deal w...
by cyberdad
28 Apr 2010
Forum: MultiCharts
Topic: TS Development Environment
Replies: 5
Views: 1922

TS Development Environment

Is it possible to use TDE (TS Development Environment) for editing/compiling and then importing into MC?
by cyberdad
05 Jan 2010
Forum: MultiCharts
Topic: MC6 beta 1: MarketPosition_At_Broker always 0
Replies: 13
Views: 3240

SUPER,
Sorry I wasted your time.

TSSupport,
Is it a bug in version MC 6.0 the fact that MarketPosition_At_Broker does not update correctly?
Is the description of MarketPosition_At_Broker in the documentation erroneous or not?
by cyberdad
05 Jan 2010
Forum: MultiCharts
Topic: MC6 beta 1: MarketPosition_At_Broker always 0
Replies: 13
Views: 3240

I do test the automation in SA mode and I also do use If LastBarOnChart then ... (even if i did not write it in the example above). So, my results should be ok.
by cyberdad
05 Jan 2010
Forum: MultiCharts
Topic: MC6 beta 1: MarketPosition_At_Broker always 0
Replies: 13
Views: 3240

Yes, as I said above, I can live with it if I know how it works. A workaround is usually possible in most cases. But what if it changes back to what it was supposed to be in the next beta? I mean, one needs to be careful.
by cyberdad
05 Jan 2010
Forum: MultiCharts
Topic: MC6 beta 1: MarketPosition_At_Broker always 0
Replies: 13
Views: 3240

SUPER, I just did. Using this code value1 = MarketPosition_at_Broker; value2 = MarketPosition; value3 = i_MarketPosition_at_Broker; print(datetimetostring(computerdatetime) + " : MarketPosition_at_Broker = " + NumToStr(value1,0)); print(datetimetostring(computerdatetime) + " : MarketPosition = " + N...
by cyberdad
05 Jan 2010
Forum: MultiCharts
Topic: MC6 beta 1: MarketPosition_At_Broker always 0
Replies: 13
Views: 3240

No, it wasn't the version or the the fact that I was using MarketPosition_At_broker directly in the Print command. As it seems the problem is the fact that my paper-trading account is an advisor paper-trading account. I tested again using a real personal account and for the first time I was able to ...
by cyberdad
05 Jan 2010
Forum: MultiCharts
Topic: MC6 beta 1: MarketPosition_At_Broker always 0
Replies: 13
Views: 3240

Interesting. I am gonna install MC 6 beta 2 right away and try to assign the values to variables prior to using them in the print command. Will post the results shortly.
by cyberdad
05 Jan 2010
Forum: MultiCharts
Topic: MC6 beta 1: MarketPosition_At_Broker always 0
Replies: 13
Views: 3240

MC6 beta 1: MarketPosition_At_Broker always 0

MarketPosition_At_Broker does not work for me. I am using an IB paper trading account to test this on EURUSD. The pseudo-strategy I am using does generate trades correctly but the MarketPosition_At_Broker is always 0. I am using the print command to watch MarketPosition and MarketPosition_At_Broker....
by cyberdad
16 Dec 2009
Forum: MultiCharts
Topic: SetStopLoss & ProfitTarget not working in simulation tra
Replies: 6
Views: 2699

I installed the new version 6.0 beta 1 and at last i can see the stop loss orders generated in TWS. I suspect that there was a connection between the various built in functions that place orders and the kind of marketposition function. Since in version 5.5 there is a choice for synch and asynch mode...
by cyberdad
16 Dec 2009
Forum: MultiCharts
Topic: SetStopLoss & ProfitTarget not working in simulation tra
Replies: 6
Views: 2699

I tried some of the built in strategies, this time with a real personal account (instead of an FA sim account) and still did not get any stop loss orders. Only entry orders are generated. Not even that, the program crashed 4-5 times. Something must be terribly wrong. The only thing that worked in th...
by cyberdad
15 Dec 2009
Forum: MultiCharts
Topic: SetStopLoss & ProfitTarget not working in simulation tra
Replies: 6
Views: 2699

You are using it on Euro so it's 4 decimals. Try this setstoploss(.0050); setprofittarget(.0050); .0050 = 50 pips. Setstoploss needs an amount of $ in its input, not an amount of pips. My pseudo code should work as is. Could anybody using an FA account to autotrade forex put me on the right track h...
by cyberdad
15 Dec 2009
Forum: MultiCharts
Topic: SetStopLoss & ProfitTarget not working in simulation tra
Replies: 6
Views: 2699

SetStopLoss & ProfitTarget not working in simulation tra

I made pseudo strategy just to watch the way setstoploss and setprofittarget work. I used one of my IB paper-trading accounts to work with. But whenever the strategy enters a trade I see no stop loss orders or profit target orders being transmitted. Could this be because of the paper-trading account...
by cyberdad
23 Nov 2009
Forum: MultiCharts
Topic: TWS vs MC chart data
Replies: 0
Views: 939

TWS vs MC chart data

When I compare a TWS chart of EURUSD 2min data against a Multicharts chart of EURUSD 2min data, I see a lot of slight (but potentially important) differences in the cadlesticks prices. Why is this so? I noticed that TWS shows "MIDPOINT" values whereas Multicharts shows "TRADES". Could this be the re...
by cyberdad
03 Nov 2009
Forum: MultiCharts
Topic: Powerlanguage Editor - Max Colored Chars
Replies: 9
Views: 2607

I have a Q6600 too. Like yours it never rises above 20% when the strategy is calculated in one chart, simply because multicharts assigns each chart to a single core. Thus the most you will get from one chart is 25% weather you like it or not (and I dont like it). The performance issue is no issue at...
by cyberdad
02 Nov 2009
Forum: MultiCharts
Topic: Powerlanguage Editor - Max Colored Chars
Replies: 9
Views: 2607

if multicharts stores internally the results of the functions and does not re-calculate over and over each time you call them then yes, I agree. But is this the case when it comes to custom functions with random inputs? Again, I don't know how multicharts is coded but it could be possible. It could ...
by cyberdad
02 Nov 2009
Forum: MultiCharts
Topic: Powerlanguage Editor - Max Colored Chars
Replies: 9
Views: 2607

Thank you for your reply TJ. It is not only a matter of lines. It is also a matter of number of characters (just fyi). I am using the "tricks" you describe. Otherwise my full code would go above the maximum of 10,000 lines. Even using all the tricks I am still over 5000 line in the main body of my c...
by cyberdad
31 Oct 2009
Forum: MultiCharts
Topic: Powerlanguage Editor - Max Colored Chars
Replies: 9
Views: 2607

Powerlanguage Editor - Max Colored Chars

I know there are some limitations to Powerlanguage Editor functionality when one exceeds a certain amount of chars in the code. First the Editor stops coloring the code and then there is a lines maximum that you simply can not exceed. I am in the first situation where the Editor has stopped coloring...
by cyberdad
04 Sep 2009
Forum: MultiCharts
Topic: Vista x64 Quad Core CPU affinity
Replies: 6
Views: 4601

So, could someone from TSSupport give an official reply on the subject, please?
by cyberdad
02 Sep 2009
Forum: MultiCharts
Topic: Vista x64 Quad Core CPU affinity
Replies: 6
Views: 4601

Vista x64 Quad Core CPU affinity

When there are many charts open and calculating, multicharts appears to be using all processor cores. When there is only one chart open and calculating there appears to be only one core working at maximum. When I try to change that by setting the affinity of multicharts in Task Manager I get a "Acce...
by cyberdad
10 Aug 2009
Forum: MultiCharts
Topic: Ascii data - no connection
Replies: 3
Views: 1647

This is what I do: 1. Ascii Mapping ss1.jpg 2. When I press the "ok" button in the "You have mapped 1 file successfully" dialog, 3 errors occur and then the Quote Manager needs to shut down. ss2.jpg ss3.jpg ss4.jpg ss5.jpg I press "skip" or "don't send" to these errors. 4. I run QM again and a new m...
by cyberdad
10 Aug 2009
Forum: MultiCharts
Topic: Incompatible version of: tsStorage.dll
Replies: 8
Views: 4334

I set Multicharts to run as administrator and the error message is not showing anymore.
by cyberdad
10 Aug 2009
Forum: MultiCharts
Topic: Ascii data - no connection
Replies: 3
Views: 1647

Ascii data - no connection

I created an ascii mapped symbol of EURUSD. I imported the data (1-minute data) in the symbol successfully. I can indeed see the data if I try to edit them through Quote Manager. The problem is that when I try to load the symbol in a chart in Multicharts, it just shows the "Establishing Connection.....
by cyberdad
10 Aug 2009
Forum: MultiCharts
Topic: Incompatible version of: tsStorage.dll
Replies: 8
Views: 4334

I am running Version 5.0 Release (Build 2369).
This is the latest non-beta version, isn't it?
Or should I try the 5.5 beta instead?
by cyberdad
10 Aug 2009
Forum: MultiCharts
Topic: Incompatible version of: tsStorage.dll
Replies: 8
Views: 4334

Incompatible version of: tsStorage.dll

When I open the Quote Manager I get this error:

"Incompatible version of: tsStorage.dll in module tsShaper"

What should I do about that?

Go to advanced search