OPEN-SOURCE SCRIPT

Move Magnitude Visualizer (beta)

Atualizado
This experimental visualizer measures all price differences across a range of samples to determine what is normal for a measure of time. Based on whether a recent change in price over time has exceeded the norm, a line is drawn to indicate the magnitude/severity of that move. In short, it attempts to visualize when a move is outside the norm and when it may be risky to join that move.

  • A thick red line = greater than 3 standard deviations.
  • An orangish/goldish line = greater than 2 standard deviations.
  • A thin dotted yellow = greater than 1 standard deviation.


In the end, I've always wanted a tool that gave me a visual warning to when a move is abnormally severe and shouldn't be trusted. RSI and other indicators only work with specific lengths, this attempt to be a deviation detector that isn't bound by length or time-frame.

  • This is a work in progress, so feedback is appreciated. I don't have a strong idea yet how to properly visualize this data.
  • It is very compute heavy and some users may experience timeouts. I've done everything I can think of to eliminate redundant computer and to optimize for PineScript.
Notas de Lançamento
Allow for custom colors.
magnitudemovemultitimeframeVolatility

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal