UNIR DOS SCREENER INDEPENDIENTES EN UNO SOLO PARA CUMPLIR AMBAS CONDICIONES DE B

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #138095 quote
    dax821
    Participant
    Junior

    Buenas tardes

    quería, por favor ayuda, para programar un screener. El concepto es el siguiente:

    • Partiendo de dos screener independientes quisiera unirlos en uno solo y que se cumplan las dos condiciones de búsqueda. Estos son los dos screeners
    // PROSCREENER BLAI5 ESPEJO KONCORDE v10
    // DETECCIÓN SOBRE LAS 10 ÚLTIMAS VELAS
    // Febrero 2014
    
    //mymarron, myverde, myazul, mymedia, mycero = CALL “Blai5 Koncorde v.10”
    
    marro, verd, blau, med, ignored = CALL “Blai5 Koncorde v.10”
    
    FOR i=0 TO 10 DO
    dif = med[i] – marro[i]
    mvol = ExponentialAverage[20](volume)
    
    c1 = verd[i] < 0
    c2 = blau[i] > 0
    c3 = mvol[i] > 10000
    
    SCREENER[c1 AND c2 AND c3] (dif AS “Dif”)
    
    NEXT

    c1 = high crosses over HighFractal
    
    //----- Highs -----
    ONCE HighCount = Undefined
    ONCE HighFractal = Undefined
    
    IF (High > High[1]) AND (High > High[2]) THEN
    HighLevel = High
    ENDIF
    
    IF (High < HighLevel) THEN
    HighCount = HighCount - 1
    ELSIF (High >= HighLevel) THEN
    HighCount = 0
    ENDIF
    
    IF HighCount = -2 THEN
    HighFractal = HighLevel
    ELSE
    HighFractal = HighFractal
    ENDIF
    
    screener [c1]

    Muchas gracias por su ayuda.

    saludos

    Blai5-Espejo-K-10v.itf Fractal-Breakout-Long.itf
    #232796 quote
    ebohe007
    Participant
    New

    Hola al final nadie te dió la solución para poder unir dos screener distintos?

    #232903 quote
    Iván González
    Moderator
    Master

    Hola

    Para unir 2 screeners sólo hay que copiar el código de ambos dentro del mismo screener y añadir una condición adicional.
    Por ejemplo, el primer screener tiene 3 condiciones c1,c2 y c3. El segundo screener tiene sólo 1 condición. Cambiamos el nombre de ésta para que no coincidan (c1 por c4).

    c4=high crosses over highfractal
    screener[c1 and c2 and c3 and c4]
    dax821 and repropel thanked this post
    #232917 quote
    dax821
    Participant
    Junior

    Muchas gracias por tu respuesta.

    Saludos

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

UNIR DOS SCREENER INDEPENDIENTES EN UNO SOLO PARA CUMPLIR AMBAS CONDICIONES DE B


ProScreener: Buscadores de Mercado y Rastreo

New Reply
Author
author-avatar
dax821 @dax821 Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by dax821
1 year, 9 months ago.

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