DrwTrendLine inside Indicator shows in Price Chart (SubChart #1)  [SOLVED]

Questions about MultiCharts .NET and user contributed studies.
RonS
Posts: 21
Joined: 16 Sep 2018
Has thanked: 7 times
Been thanked: 3 times

DrwTrendLine inside Indicator shows in Price Chart (SubChart #1)

Postby RonS » 11 Jun 2019

I am having trouble with MC64.net and PL drawing a Trend Line on an Indicator chart. It draws on the Price Chart. I checked the forum and Google etc. and it discusses EL solutions, but no definitive fix for PL. I can not find "TL_New" and think it only exists in Easy language and is not available in Power Language. From the old forum posts it would seem to work placing Trend Lines on the Indicator it is coded in. I would like to do this with PL64.net. So far have used DrwTrendLines.Create…… Your responses are appreciated!

RonS
Posts: 21
Joined: 16 Sep 2018
Has thanked: 7 times
Been thanked: 3 times

Re: DrwTrendLine inside Indicator shows in Price Chart (SubChart #1)  [SOLVED]

Postby RonS » 12 Jun 2019

I set a 3rd variable in the DrwTrendLine.Create argument list to "true". e.g.: DrwTrendLine.Create(new ChartPoint(a,b), new ChartPoint(c.d), true); This causes the trendline to be displayed on the Indicator Chart. Making this Boolean "false" drew the trendline on the Price Chart (SubChart #1)


Return to “MultiCharts .NET”