OPEN-SOURCE SCRIPT

Long Short Momentum

1 667
This indicator is designed to visualize short-term and long-term momentum trends.The indicator calculates two momentum lines based on customizable lengths: a short momentum (Short Momentum) over a smaller period and a long momentum (Long Momentum) over a longer period. These lines are plotted relative to the chosen price source, typically the closing price.

The histogram, colored dynamically based on momentum direction, gives visual cues:
  • Green: Both short and long momentum are positive, indicating an upward trend.
  • Red: Both are negative, indicating a downward trend.
  • Gray: Mixed momentum, suggesting potential trend indecision.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.