Variable Moving Average

Forums ProRealTime foro Español Soporte ProBuilder Variable Moving Average

Viewing 9 posts - 1 through 9 (of 9 total)
  • #31331

    Buenos días , estoy intentando hacer una versión para Prorealtime v10.3 del indicador Variable Moving Average aparecido en la plataforma Tradingview creado por Lazy Bear : https://es.tradingview.com/script/6Ix0E5Yr-Variable-Moving-Average-LazyBear/

    Tengo este esbozo de código,pero algo estoy haciendo mal…no sale nada.¿Alguién puede echarme una mano?

     

    #31348

    Hola Miguel Angel

     

    Aqui tienes el codigo, Nicolas lo ha hecho hace poco

    un saludo

    // A VMA is an EMA that is able to regulate its smoothing percentage based on market inconstancy automatically. Its sensitivity grows by providing more weight to the ongoing data as it generates a better signal indicator for short and long-term markets.

     

    // The majority of ways for measuring Moving Averages cannot compensate for sideways moving prices versus trending markets and often generate a lot of false signals. Longer-term moving averages are slow to react to reversals in trend when prices move up and down over a long period of time. A Variable Moving Average regulates its sensitivity and lets it function better in any market conditions by using automatic regulation of the smoothing constant.

     

    // The Variable Moving Average is also known as the VIDYA Indicator. But this version is a modified concept of the VIDYA.

     

    // The Variable Moving Average was developed by Tushar S. Chande and first presented in his March, 1992 article in Technical Analysis of Stocks & Commodities magazine, in which a standard deviation was used as the Volatility Index. In his October, 1995 article in the same magazine, Chande modified the VIDYA to use his own Chande Momentum Oscillator (CMO) as the Volatility Index, the VMA code below is the result of this modification.

    #31350

    Aqui tienes la VMA de BBVA

    #31358

    Muchas gracias Supertiti, no sabía que estaba por aquí.Ahora solo me queda delimitar los colores de la media como en el original:

    verde=alcista

    rojo=bajista

    azul y negro=congestión

     

    #31385

    variable : l = 6  como length  , no es una i !

    un saludo

    #31439

    Buenas tardes. Supertiti es lo mismo l = 6 que i=6 lo importante es designar =6.

    Creo que lo he conseguido.

    A

    ntes me equivoqué con el color negro.La media tiene tres colores:

    verde=alcista

    rojo=bajista

    azul=congestión

    #31494

    Enhorabuena asi fuciona bien la VMA !

    Dime que es la variable ” nz ” ?

    ademas podemos poner la variable ” L ” en variable externa para cambiarla porque a veces la vma no funcina y tenemos que subir o bajar la “L”

    buen domingo de Ramos

    #31497

     

    #31500

    En el cuadro de variables , poner nz y elegir tipo Boleano.Acabo de publicar el código en un blog que tengo .Cualquier duda se lo mando en archivo itf listo para incorporar a su plataforma .

    Un saludo grande supertiti ,ahora me dedico a disfrutar de la Semana Santa en mi tierra, Málaga.

Viewing 9 posts - 1 through 9 (of 9 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login