Corregir indicador dsi

Forums ProRealTime foro Español Soporte ProBuilder Corregir indicador dsi

  • This topic has 2 replies, 2 voices, and was last updated 3 hours ago by avataribon.
Viewing 3 posts - 1 through 3 (of 3 total)
  • #244255

    Hola, estoy tratando de crear el indicador dsi, pero me da problemas con el retorno lo dejo aqui por si alguien me puede ayudar gracias por anticipado.
    variables period 14
    maPeriod 3

    // Calcular el DSI
    lowestLow = lowest[period](low)
    highestHigh = highest[period](high)
    dsi = (close – lowestLow) / (highestHigh – lowestLow) * 100

    // Calcular la media móvil del DSI
    dsiMA = average[dsi](maPeriod)

    // Mostrar el DSI y su media móvil en el gráfico
    return dsi as “DSI”, dsiMA as “DSI MA”

    #244256

    …    dsiMA = average[dsi](maPeriod)      dsiMA = average[maPeriod](dsi)

    #244257

    Thank you very much for you assistance druby

    1 user 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