Problem with draw trendline  [SOLVED]

Questions about MultiCharts .NET and user contributed studies.
turbofib
Posts: 213
Joined: 11 May 2013
Has thanked: 67 times
Been thanked: 1 time

Problem with draw trendline

Postby turbofib » 05 Aug 2014

hi,

Here i'm draw trendline...

Code: Select all

bottom = new ChartPoint(datetimelow,mtlow);
top = new ChartPoint(MT_RIAL_DATATIME_MAX,mtlow);
Tl2.Value=DrwTrendLine.Create(bottom, top);
But if i want to change this...
is correct the following instruction :

Code: Select all

if (Tl2.Value!=null)
{Tl2.Value.Begin=(new ChartPoint(datetimehigh,mtlow));
Tl2.Value.End=(new ChartPoint(datetimelow,mtlow));
}
Because i've some problem in historic mode...

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

Re: Problem with draw trendline

Postby Henry MultiСharts » 13 Aug 2014

turbofib, what is the particular issue you have?

turbofib
Posts: 213
Joined: 11 May 2013
Has thanked: 67 times
Been thanked: 1 time

Re: Problem with draw trendline  [SOLVED]

Postby turbofib » 13 Aug 2014

turbofib, what is the particular issue you have?
I have already solved it


Return to “MultiCharts .NET”