Corregir indicador dsi

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #244255 quote
    ibon
    Participant
    New

    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 quote
    druby
    Participant
    New

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

    robertogozzi and Iván González thanked this post
    #244257 quote
    ibon
    Participant
    New

    Thank you very much for you assistance druby

    druby thanked this post
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Corregir indicador dsi


ProBuilder: Indicadores y Herramientas

New Reply
Author
author-avatar
ibon @ibon Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by ibon
11 months, 2 weeks ago.

Topic Details
Forum: ProBuilder: Indicadores y Herramientas
Language: Spanish
Started: 02/23/2025
Status: Active
Attachments: No files
Logo Logo
Loading...