QUEDARME CON VELA DE MENOR VALOR DE UNA MUESTRA DETERMINADA

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #56890 quote
    JOSAN1984JOSAN1984
    Participant
    Junior

    Buenas tardes ,

    A ver si me podeis ayudar , soy un poco novato en esto…

    Quisiera que cuando se de una determinada condicion, por ejemplo , que el volumen sea mayor que 800 , quedarme con la barra que ha marcado el precio mas bajo de las 30 barras posteriores a la barra que sobrepaso el volumen de 800.

    Gracias por todo.

    grafico3.png grafico3.png
    #57821 quote
    vitatrader35vitatrader35
    Participant
    Average

    me gusta mucho el concepto.

    a ver si esto te vale; creo que es tirando a apañao, pero podría funcionar…

    if volume>2*average[5](volume) then
    cuentadias=1
    endif
    if cuentadias[1]>0 and cuentadias<=30 then
    cuentadias=cuentadias+1
    endif
    if cuentadias[31]=1 then
    cuentadias=0
    endif
    if cuentadias>0 then
    mipreciobajo=lowest[cuentadias](low)
    endif
    
    return mipreciobajo as "minimobuscado"
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

QUEDARME CON VELA DE MENOR VALOR DE UNA MUESTRA DETERMINADA


ProBuilder: Indicadores y Herramientas

New Reply
Author
author-avatar
JOSAN1984 @josan1984 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by vitatrader35vitatrader35
8 years, 9 months ago.

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