Indicador acumulacion de N periodos

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #167448 quote
    jgraujgrau
    Participant
    New

    Hola,

    Gracias a la comunidad, he creado un screener que detecta valores que llevan entre 10 y 20 sessiones acumulando, hasta que finalmente rompen arriba.

    N = 10
    M = 10
    MIMAX = highest[M](high[N])
    
    CIERRE1 = close[1]<MIMAX
    IF CIERRE1 THEN
    Con1=1
    ELSE
    Con1=0
    ENDIF
    
    con2= close >= highest[19](high[1])
    
    Screener[con1 AND con2 ]

    Es genial!!

    Es possible realitzar un indicador que nos indique una vela verde en grafico cuando detecte estas acumulaciones???

    #167451 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Siempre use el botón “Insert PRT Code” cuando incluya e inserte un código en sus mensajes para que sea más fácil de leer para otros.

    Gracias 🙂

    #167452 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    aquí está (no lo he probado):

    N = 10
    M = 10
    MIMAX = highest[M](high[N])
    CIERRE1 = close[1]<MIMAX
    IF CIERRE1 THEN
       Con1=1
    ELSE
       Con1=0
    ENDIF
    con2= close >= highest[19](high[1])
    If con1 AND con2  and close > open then
       DrawArrowUP(BarIndex,low - range) coloured(0,255,0,255)
    Endif
    Return
    #167454 quote
    jgraujgrau
    Participant
    New

    Muchas Gracias Roberto.
    Funciona a la perfeccion.
    Es muy amable!

Viewing 4 posts - 1 through 4 (of 4 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

Indicador acumulacion de N periodos


ProBuilder: Indicadores y Herramientas

New Reply
Author
author-avatar
jgrau @jgrau Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicadores y Herramientas
Language: Spanish
Started: 04/18/2021
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...