Uso de BarIndex con Highest

Forums ProRealTime foro Español Soporte ProBuilder Uso de BarIndex con Highest

  • This topic has 2 replies, 3 voices, and was last updated 4 days ago by avatardruby.
Viewing 3 posts - 1 through 3 (of 3 total)
  • #238865

    Hola. Cuando intento sacar el máximo valor de High en el gráfico donde pongo el indicador intento hacerlo poniendo la siguiente instrucción:

    Maximo = Highest[BarIndex](High)

    y me devuelve el error ‘Se esperaba un campo entero positivo con highest‘. Sin embargo, si veo cual es el valor de BarIndex y lo pongo diréctamente funciona. He comprobado que BarIndex responde con un entero positivo, por lo que no entiendo por qué no me admite la instrucción ¿Podríais ayudarme, por favor?

    Muchas gracias

    #238866

    así

    if BarIndex>0 then

    Maximo = Highest[BarIndex](High)

    endif

    3 users thanked author for this post.
    #238870

     

    3 users thanked author for this post.
Viewing 3 posts - 1 through 3 (of 3 total)

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