Buscar minimo de 20 velas sin tener en cuenta el actual

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #146465 quote
    MANGEL000MANGEL000
    Participant
    Junior

    Buenos dias, necesitaria ayuda de como conseguir el minimo de 20 velas pero sin tener en cuenta la vela actual.

    Gracias

    #146468 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Buenos dias, para conseguir el mínimo de 20 velas sin tener en cuenta la vela actual :

    low20=lowest[20](low)
    x=low20[1]
    
    #146484 quote
    MANGEL000MANGEL000
    Participant
    Junior

    Muchas gracias.

    Voy a abusar un poco más se sus conocimientos.

    Como puedo conseguir la posición de la vela que es el mínimo dentro del lowest de 20?.

    #146485 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    La posición de la vela que es el mínimo dentro del lowest de 20 es (para ver en un indicador aunque estemos en el foro proscreener):

    low20=lowest[20](low)
    y=low20[1]
    for i=1 to 20
      if low[i]=y then
        positionlow20=i
      endif
    next
    x=barindex-positionlow20
    return x
    #146507 quote
    MANGEL000MANGEL000
    Participant
    Junior

    Gracias, funcionando perfecto.

     

    Un salud0

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

Buscar minimo de 20 velas sin tener en cuenta el actual


ProScreener: Buscadores de Mercado y Rastreo

New Reply
Author
author-avatar
MANGEL000 @mangel000 Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by MANGEL000MANGEL000
5 years, 11 months ago.

Topic Details
Forum: ProScreener: Buscadores de Mercado y Rastreo
Language: Spanish
Started: 10/05/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...