Trendline Intersection

Questions about MultiCharts and user contributed studies.
User avatar
furytrader
Posts: 354
Joined: 30 Jul 2010
Location: Chicago, IL
Has thanked: 155 times
Been thanked: 217 times

Trendline Intersection

Postby furytrader » 22 Feb 2012

Does anyone know whether there's an easy way to see whether two trendlines overlap using EasyLanguage? And if so, at what bar number and price they overlap?

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: Trendline Intersection

Postby TJ » 22 Feb 2012

Does anyone know whether there's an easy way to see whether two trendlines overlap using EasyLanguage? And if so, at what bar number and price they overlap?
in the future? or in previous bars?


you can create a loop... either project into the future, or look back in previous bars,
then use TL_GetValue to compare the price of the 2 trendlines.


Return to “MultiCharts”