Etapa 3 Westein

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

    Hola!

    Necesitaría ayuda para programar un screener que sea al revés a este:

    Timeframe(Weekly)
    c1 = close < (highest[52](high) * 0.97)
    MA = average[30,2](close)
    c2 = (close >= (MA * 1.03)) AND (close <= (MA * 1.25))
    Cond = c1 AND c2
    SCREENER[Cond](Volume AS "Volume")

     

     

    Es decir, las pautas que necesito sería las siguiente:

    La búsqueda será en semanal.

    c1= precio por encima de minimos anuales, entorno a 2%-3% por encima.

    c2= precio por debajo de la media móvil ponderada de 30 sesiones, entre el 3% y 9%

     

    Gracias un saludo y espero que me podáis ayudar.

    #209040 quote
    robertogozzi
    Moderator
    Legend

    Ahi esta:

    Timeframe(Weekly)
    c1 = (close >= (highest[52](high) * 1.02)) AND (close <= (highest[52](high) * 1.03))
    MA = average[30,2](close)
    c2 = (close >= (MA * 0.91)) AND (close <= (MA * 0.97))
    Cond = c1 AND c2
    SCREENER[Cond](Volume AS "Volume")
    #209043 quote
    Mikel9300
    Participant
    New

    Hola Roberto,

    Muchas gracias por tu ayuda pero algo debe estar mal porque no me aparece ningún resultado. Esto es posible?

    Gracias

    #209053 quote
    robertogozzi
    Moderator
    Legend

    El problema es que no puede haber un máximo mayor que sí mismo.
    Cambié la línea 2 para verificar el máximo anual hasta la semana anterior:

    c1 = (close >= (highest[52](high[1]) * 1.02)) AND (close <= (highest[52](high[1]) * 1.03))
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

Etapa 3 Westein


ProScreener: Buscadores de Mercado y Rastreo

New Reply
Author
author-avatar
Mikel9300 @mikel9300 Participant
Summary

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

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