I downloaded LineAlert Indicator from the following link:
And I've faced a problem. When I draw a ray using two historical points (say low of 10 bars ago and low of 5 bars agp) indicator hadles a mistake. If I draw almost the same line but with the end point moved right - it works. I opened the code and found out this condition:
if ((leftBarsAgo < 0 && rightBarsAgo < 0) || (leftBarsAgo > 0 && rightBarsAgo > 0) && draw.DrawType != DrawType.HorizontalLine )
This statement doesn't allow me to create a ray using two historical points. I draw lines only with a snap mode (Bar and Price) so I cannot use this indicator because of this (though I really need it but I cannot sacrifice the quality of the trendline). How can I solve this problem?
Best regards,
Ruslan
Comment