Search found 3 matches

by alex650
06 May 2014
Forum: MultiCharts .NET
Topic: C# Mark the close of Bar at specific time.
Replies: 5
Views: 2492

Re: C# Mark the close of Bar at specific time.

Thanks, I'm not a programmer so I am having a hard time with this. Replacing Eplotshapes.LeftTick with "EPlotStyle.DashDotDot" or "EPlotShapes.Line" still does not create the horrizontal line. EPlotShapes.Line only marks a small dash and EPlotStyle gives a few errors: 'PowerLanguage.EPlotStyle.DashD...
by alex650
27 Apr 2014
Forum: MultiCharts .NET
Topic: C# Mark the close of Bar at specific time.
Replies: 5
Views: 2492

Re: C# Mark the close of Bar at specific time.

Thank you for that bit of code. Now I'm trying to figure out how to plot a horizontal line at that price. I have tried various "EPlotShapes." but none give a horizontal line. I also experimented with "if(Bars.TimeValue.TimeOfDay == needTime)" changing it to >=, but then that will recalculate the clo...
by alex650
22 Apr 2014
Forum: MultiCharts .NET
Topic: C# Mark the close of Bar at specific time.
Replies: 5
Views: 2492

C# Mark the close of Bar at specific time.

I am trying to create a simple indicator that would mark the chart with a horizontal line at 2pm every day. That is, at the close of the bar at 2pm, make a horizontal line. I have found Bars.Time[0], but this is for the current bar. I would like to do an "If Bars.Time[0] == 2pm". What is the format ...

Go to advanced search