Hi! I wonder if a simple mathematical formula can describe how a trendline is calculated in such popular charting packages like TradeStation or Metastock? Please let me know what you think! Thanks! Dima PS: this thread assumes that all popular tech apps draw trendlines similarly