Trend Line

Trend Line:

This indicator draws a trend line on the chart and can be useful for trend-based plans. Parameters are:

  • Touches: Number of trend line touches the candles (default: 3)
  • Breaks: Number of breaks that price breaks trend line (default: 2)
  • Level: Level of the trend line (default: 2)
  • Timeframe: Candle time frame for check breaking trend line (default: M5)
NameParametersDescription
[Trend] Uppers Trend Line Valuetouches, breaks, levelCurrent value of upper trend line
[Trend] Lowers Trend Line Valuetouches, breaks, levelCurrent value of lower trend line
[Trend] Uppers Trend Line Slopetouches, breaks, levelCurrent slope of upper trend line
[Trend] Lowers Trend Line Slopetouches, breaks, levelCurrent slope of lower trend line
[Trend] is Breaked Uppers Trendtouches, breaks, level, timeframeReturns true if one candle crossed upper trend line
[Trend] is Breaked Lowers Trendtouches, breaks, level, timeframeReturns true if one candle crossed lower trend line
[Trend] is Touched Uppers Trendtouches, breaks, level, timeframeReturns true if one candle touched upper trend line
[Trend] is Touched Lowers Trendtouches, breaks, level, timeframeReturns true if one candle touched lower trend line