BORRAR LINEAS EN TIEMPO REAL, YA CREADAS EN EL GRAFICO

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #203997 quote
    alejandropdalejandropd
    Participant
    Average

    Hola,

    tengo una idea y no se si es posible, lo que quiero hacer.

    Actualmente he desarrollado un indicador que me dibuja soportes y canales en el gráfico (segmentos ó líneas), cada vez que detecto un soporte o canal, dibujo el segmento o la línea con las instrucciones DRAWSEGMENT, DRAWRAY  ó DRAWHLINE

    A medida que pasa el tiempo, tengo el gráfico lleno de líneas.

    Mi pregunta es:  Hay alguna manera de borrar una línea o segmento en concreto, con alguna instrucción?

    Ejemplo: En la imagen hay do flechas que apuntan a un soporte (DRAWHLINE) y a un canal (DRAWSEGMENT) que quiero borrar con alguna instrucción.

     

    Muchas gracias.

    Ejemplo.jpg Ejemplo.jpg
    #203999 quote
    alejandropdalejandropd
    Participant
    Average

    Algo parecido a lo que aparece en este video entre el minuto 4:10 y 4:20

    Crea una especie de triángulo y luego lo borra.

     

    Ejemplo: Foto 1  lo crea y Foto 2 lo borra

    Foto-1.jpg Foto-1.jpg Foto-2.jpg Foto-2.jpg
    #204002 quote
    pableitorpableitor
    Participant
    Master

    Prueba añadir la  instrucción:

    defparam drawonlastbaronly = true

    Con esto se puede dibujar y borrar en tiempo real cualquier objeto que cumpla alguna condición , Me imagino asi lo hace el indicador del video.

    Saludos

    alejandropd 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

BORRAR LINEAS EN TIEMPO REAL, YA CREADAS EN EL GRAFICO


ProBuilder: Indicadores y Herramientas

New Reply
Author
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by pableitorpableitor
3 years, 10 months ago.

Topic Details
Forum: ProBuilder: Indicadores y Herramientas
Language: Spanish
Started: 11/12/2022
Status: Active
Attachments: 3 files
ProRealCode ProRealCode
Loading...