Porcentage de variación aperturacierre de vela

Forums ProRealTime foro Español Soporte ProScreener Porcentage de variación aperturacierre de vela

Viewing 2 posts - 1 through 2 (of 2 total)
  • #199138

    Estoy intentando crear un screener que me rastree apertura y cierre de velas con una variación de porcentaje (En este ejemplo de un 10%) pero no consigo que funcione. Lo más simple, creo, sería indicarle un porcentaje de variación en el screener y luego elegir el rango (1H 2H 1Día 1 semana……) Pero no funciona, dando valores extraños. Alguna idea?

     

    // ejemplo de codigo screener
    SCREENER
    aper = ABS(DOpen(3))
    cierr = ABS(DClose(3))

    Varporc = ((cierr – aper)/aper)*100

    c1 = (Varporc > 10)

    SCREENER[c1]

    #199200

    Tienes que usar la palabra SCREENER una sola vez, al final.

    No es necesario indicar ABS (), ya que un precio nunca puede ser negativo.

    Aquí está el código:

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

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