Vela envolvente alcista

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #251899 quote
    Mikel9300
    Participant
    New

    Hola,

     

    Pueden ayudarme a poner una condición más a este screener?

    • Que la vela actual tenga por lo menos el doble del cuerpo que la vela anterior

     

    // Cálculo del punto más alto de las últimas 8 barras
    puntoAlto = HIGHEST[8](HIGH)

    c1=puntoAlto
    // Cálculo de la pérdida correspondiente
    Perdida = puntoAlto – CLOSE

    c2=perdida

    // Cálculo de la volatilidad actual del valor (media del True Range sobre 3 barras)
    VolatActual = SUMMATION[3](TR) – HIGHEST[3](TR) – LOWEST[3](TR)

    c3=VolatActual

    REM Criterio del filtro : vela envolvente alcista

    Filtro = CLOSE[1] < OPEN[1] AND OPEN < CLOSE[1] AND CLOSE > OPEN[1]

    c4=Filtro

    c5 = close > Average[200,0](close)

    Cond = c1 AND c2 AND c3 AND c4 AND c5
    SCREENER[Cond]

    #251909 quote
    Iván González
    Moderator
    Legend

    Buenas. Esta sería la condición a añadir:

    cuerpo=abs(open-close)
    condicion=cuerpo>=2*cuerpo[1]

    Leyendo tu código veo que las condiciones c1, c2 y c3 siempre se van a cumplir. Realmente no has puesto una condición, es más bien una afirmación (que existe).
    Deberías repasarlo.

    robertogozzi thanked this post
Viewing 2 posts - 1 through 2 (of 2 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

Vela envolvente alcista


ProScreener: Buscadores de Mercado y Rastreo

New Reply
Author
author-avatar
Mikel9300 @mikel9300 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Iván González
11 months, 2 weeks ago.

Topic Details
Forum: ProScreener: Buscadores de Mercado y Rastreo
Language: Spanish
Started: 09/28/2025
Status: Active
Attachments: No files
Logo Logo
Loading...