Máximos y Mínimos

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

    Buenos días,

    Me gustaría saber si ya existe un indicador como el de la figura adjunta, que dibuje los máximos y mínimos de las crestas y valles de precios.

    Yo no lo he encontrado en el FORO.

    Si no existe, podría realizar el código del indicador.

    Muy agradecido por su trabajo de antemano.

    Saludos,

    Captura-de-pantalla-2023-12-03-084459.jpg Captura-de-pantalla-2023-12-03-084459.jpg
    #225051 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Ahi esta:

    ONCE P    = 10
    ONCE Flag = 0
    Bullish   = close > open
    Bearish   = close < open
    HH        = max(high,high[1])
    LL        = min(low,low[1])
    SwingUP   = Bullish[1] AND Bearish AND (HH = highest[P](high))
    SwingDN   = Bearish[1] AND Bullish AND (LL = lowest[P](low))
    IF SwingUP AND (Flag <> 1) THEN
       Flag = 1
       DrawText("#HH#",BarIndex[1],HH) coloured("Blue",255)
    ELSIF SwingDN AND (Flag <> -1) THEN
       Flag = -1
       DrawText("#LL#",BarIndex[1],LL) coloured("Red",255)
    ENDIF
    RETURN

    Veo otras líneas y objetos en el gráfico, pero no sé si son parte del indicador que solicitaste.
    Dígame si es necesario cambiar o agregar algo.

    #225080 quote
    GgmqGgmq
    Participant
    New

    Gracias Roberto por tu aportación.

    robertogozzi 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

Máximos y Mínimos


ProBuilder: Indicadores y Herramientas

New Reply
Author
author-avatar
Ggmq @ggmq Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by GgmqGgmq
2 years, 9 months ago.

Topic Details
Forum: ProBuilder: Indicadores y Herramientas
Language: Spanish
Started: 12/03/2023
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...