Search found 13 matches

by Antny
26 Sep 2014
Forum: MultiCharts .NET
Topic: Drawing challenge [SOLVED]
Replies: 6
Views: 2923

Re: Drawing challenge [SOLVED]

Please try the attached file.
It works! Awesome! Thanks Andrew. This is quite helpful.
by Antny
25 Sep 2014
Forum: MultiCharts .NET
Topic: Drawing challenge [SOLVED]
Replies: 6
Views: 2923

Re: Drawing challenge [SOLVED]

Hello Antny,

Please try not to check the following condition and see how it works:

Code: Select all

context.DrawRect == context.FullRect)

No errors, and no drawing.
by Antny
24 Sep 2014
Forum: MultiCharts .NET
Topic: Drawing challenge [SOLVED]
Replies: 6
Views: 2923

Re: Drawing challenge [SOLVED]

Still nothing. Hmmm. I admit, I am a bit surprised. I figured at least one of the moderators would have addressed this issue. Why? Because this would solve pretty much every problem dealing with any non-standard drawings on a chart. If the DrawPolygon() and FillPolygon() methods can be utilized, the...
by Antny
23 Sep 2014
Forum: MultiCharts .NET
Topic: Drawing challenge [SOLVED]
Replies: 6
Views: 2923

Re: Drawing challenge [SOLVED]

6 views so far and still nobody knows how to use the custom drawing interface.
by Antny
23 Sep 2014
Forum: MultiCharts .NET
Topic: Drawing challenge [SOLVED]
Replies: 6
Views: 2923

Drawing challenge [SOLVED]

I have been working with the custom drawing method and so far no luck. I am trying to render a simple filled polygon (specifically a trapezoid). I show no errors in the code, but it still will not render anything on the chart. So, here is my challenge. Can anyone show me why this code is not working...
by Antny
15 Sep 2014
Forum: MultiCharts .NET
Topic: Simple drawing
Replies: 10
Views: 3525

Re: Simple drawing

Also, I am not trying to be difficult. I am just preparing a massive indicator for a major release on the MultiCharts.NET platform, and the only thing I have left to do is sort out the graphics. Unfortunately, the indie is complex enough that I cannot have these hidden issues lurking around, as I ma...
by Antny
15 Sep 2014
Forum: MultiCharts .NET
Topic: Simple drawing
Replies: 10
Views: 3525

Re: Simple drawing

Yeah, I tried that. What disturbs me is the issue is something else, and this only covers it up. This code also works perfectly fine.... // Line 3 if (line3to1 == null) { line3to1 = DrwTrendLine.Create(point3, point1); } else { line3to1.Begin = point3; line3to1.End = point1; } // Line 1 if (line1to2...
by Antny
15 Sep 2014
Forum: MultiCharts .NET
Topic: Simple drawing
Replies: 10
Views: 3525

Re: Simple drawing

I did a little further investigation and the issue with the trend lines not updating correctly appears to be unique to line1to2 and line2to3. I rearranged the code to where line3to1 updated first, and changed the begin and end for the other two lines back to the original. When I did this, line1to2 a...
by Antny
15 Sep 2014
Forum: MultiCharts .NET
Topic: Simple drawing
Replies: 10
Views: 3525

Re: Simple drawing

I was toying around with the code and discovered if I update the end points of line1to2, and line2to3 first, those two lines now update as expected. // Line 1 if (line1to2 == null) { line1to2 = DrwTrendLine.Create(point1, point2); } else { line1to2.End = point2; line1to2.Begin = point1; } // Line 2 ...
by Antny
15 Sep 2014
Forum: MultiCharts .NET
Topic: Simple drawing
Replies: 10
Views: 3525

Re: Simple drawing

JoshM, I see what you are talking about in reference to not all of the points being updated on the trend lines. On line1to2, point1 does not update. On line2to3, point2 does not update. Everything else tracks as it should.

Anybody have any idea why?
by Antny
15 Sep 2014
Forum: MultiCharts .NET
Topic: Simple drawing
Replies: 10
Views: 3525

Re: Simple drawing

Thanks JoshM! I am not terribly concerned about the technical accuracy. I primarily just needed an interface that demonstrated (very simply) how to get an object drawn on a chart. I am used to working in NinjaScript and MQL4 where all the drawing functions are very straightforward. The raw C# interf...
by Antny
15 Sep 2014
Forum: MultiCharts .NET
Topic: Simple drawing
Replies: 10
Views: 3525

Simple drawing

I have been trying to sort out the drawing mechanism and so far it has proven to be too foreign to what I am used to. So, I figured I would just drop in here and ask if someone would have the time to help. If so, this is all I need. A simple indicator that draws a triangle on the chart. To keep this...
by Antny
31 Jul 2014
Forum: MultiCharts .NET
Topic: Can I use Visual Studio 2013 Express with MC.net? [SOLVED]
Replies: 2
Views: 2383

Re: Can I use Visual Studio 2013 Express with MC.net? [SOLVED]

That just works out great! I was just trying to decide if I should go ahead and purchase VS 2013, or if I should find an older version for sale instead. VS 2013 here I come.

Go to advanced search