Corregir indicador dsi

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #244255 quote
    ibonibon
    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
    drubydruby
    Participant
    Junior

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

    robertogozzi and Iván González thanked this post
    #244257 quote
    ibonibon
    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.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 ibonibon
1 year, 7 months ago.

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