OPEN-SOURCE SCRIPT

Long Short Momentum

1 660
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.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.