HISTOGRAMA EN MÍNIMOS 100 DÍAS

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

    Buenas tardes.

     

    Quiero construir un screeener que me busque el histograma (H) del MACD en negativo y en mínimos de los últimos 100 días pero que dicho H se encuentre en los últimos 20 días.

    Adicionalmente quisiera que el H suba a terreno positivo en los últimos 3 días.

    Como sé poco de programación lo he intentado de la siguiente forma:

     

    timeframe(daily)

    period=20
    Histograma=macdline[12,26,9]-macdsignal[12,26,9] (period)

    c1=lowest[100](histograma)
    c2=c1[20]
    c3=histograma crosses over 0 [3]

    screener [c1 and c2 and c3 ]

    ¿Alguna idea de cómo hacerlo?

    Gracias

    #223179 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Ahi esta:

    timeframe(daily)
    period     = 20
    Histograma = macdline[12,26,9] - macdsignal[12,26,9](period)
    minimo     = lowest[100](histograma)
    c2         = 0
    FOR j = 0 TO (period - 1)
       IF minimo = Histograma[j] THEN
          c2 = 1
          break
       ENDIF
    NEXT
    c3 = summation[3](histograma crosses over 0)
    screener[c2 and c3](histograma AS "Histograma")
    #223182 quote
    JEAJEA
    Participant
    New

    Muchas gracias.

    Un saludo.

     

    JEA

    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

HISTOGRAMA EN MÍNIMOS 100 DÍAS


ProScreener: Buscadores de Mercado y Rastreo

New Reply
Author
author-avatar
JEA @jea Participant
Summary

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

Topic Details
Forum: ProScreener: Buscadores de Mercado y Rastreo
Language: Spanish
Started: 11/02/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...