PROTECTED SOURCE SCRIPT
Updated

MM 21 days and dispersion indicator (achub)

2 711
achub indicator

It draws a Simple Media Mobile of 21 days (MM21days) in blue and draws a MM200days in yellow , despite the time frame is Days, Hours or Seconds. [the indicator always shows the MM in days]

This indicator calculates the max dispersion in percent between the MM21days and the ticker price inside the time frame.

Over the last candle write a coloured globe depending on the dispersion with the latest stock price:
  • blue : dispersion < 8%
  • green : dispersion < 16%
  • yellow : dispersion < 25%
  • red : dispersion >= 25%


The globe show inside:
  • last stock price
  • Azul NN.NN% : dispersion between MM21days and the last stock price
  • Ama NN.NN% : dispersion between MM200days and the last stock price


Colored dots over MM21days depends the value between MM21days and the max dispersion of the candle :
  • none dot : dispersion[%] < 8%
  • green dot: dispersion[%] < 16%
  • yellow dot: dispersion[%] < 25%
  • red dot: dispersion[%] >= 25%


Show over the candle when Buy [C] o when Sell [V]
The criterias when buy or sell are:
  • When the closed stock price crosses the MM21days
  • When the dispersion with the MM21days exceed the 25%


Alarms:
  • Alarm when sell , when buy
  • Alarm dispersion reaches 23%


All the values shown before are user configurable.

Release Notes
Add english desciption ( site rules )
Release Notes
add dots green over MM21 , means a dispersion between 21 and 25.
Release Notes
Se agrega el calculo del CCL
Release Notes
Many ADRs and CEDEARs added to CCL calculus
Release Notes
Actualizacion de ratios para el calculo de CCL
Release Notes
MM added , the default value is 100 , its configurable , with on/off selection.
Release Notes
En el menu de parametrizacion, se pusieron nombres mas expresivos.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.