Screener para konkorde

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

    Hola,

    Disculpen, estoy algo verde para programar y necesitaría vuestra ayuda.

    Me gustaría un screener en el que busque acciones con la línea azul del indicador KONKORDE por encima de 90.

    El indicador Konkorde que utilizo es el siguiente:

    pvi = PositiveVolumeIndex(close)
    
    pvim = ExponentialAverage(pvi)
    
    pvimax = highest[90](pvim)
    
    pvimin = lowest[90](pvim)
    
    oscp = (pvi - pvim) * 100/ (pvimax - pvimin)
    
    nvi =NegativeVolumeIndex(close)
    
    nvim = ExponentialAverage(nvi)
    
    nvimax = highest[90](nvim)
    
    nvimin = lowest[90](nvim)
    
    azul = (nvi - nvim) * 100/ (nvimax - nvimin)
    
    xmf = MoneyFlowIndex[14]
    
    OB1 = (BollingerUp[25](TotalPrice) + BollingerDown[25](TotalPrice)) / 2
    OB2 = BollingerUp[25](TotalPrice) - BollingerDown[25](TotalPrice)
    
    BollOsc = ((TotalPrice - OB1) / OB2 ) * 100
    
    xrsi = rsi [14](TotalPrice)
    
    STOC = Stochastic[21,3](TotalPrice)
    
    marron = (xrsi + xmf + BollOsc + (STOC / 3))/2
    
    verde = marron + oscp
    
    media = ExponentialAverage(marron)
    
    bandacero= 0
    
    return verde COLOURED(102,255,102) as "verde" , marron COLOURED(255,204,153) as "marron" , marron COLOURED(51,0,0) as "lmarron" , azul COLOURED(0,255,255) as "azul" , verde COLOURED(0,102,0) as "lineav" , azul COLOURED(0,0,102) as "lazul" , media COLOURED(255,0,0) as "media" , bandacero COLOURED(0,0,0) as "cero"

     

     

    Pueden ayudarme?

    Gracias

    konkor.jpg konkor.jpg
    #227219 quote
    Iván González
    Moderator
    Master

    Buenos días,

    A continuación dejo un screener para localizar valores con la línea azul superior a 90.

    nvi =NegativeVolumeIndex(close)
    nvim = ExponentialAverage(nvi)
    nvimax = highest[90](nvim)
    nvimin = lowest[90](nvim)
    
    azul = (nvi - nvim) * 100/ (nvimax - nvimin)
    
    SCREENER[AZUL > 90]

    Saludos!

    Nicolas and RafaelN thanked this post
    #227247 quote
    Mikel9300
    Participant
    New

    Muchas gracias Iván!!

    #227619 quote
    Mikel9300
    Participant
    New

    Hola!

    Y podrían ayudarme con un screener donde la línea azul esté por encima de 30 y la línea verde esté en -30

    Gracias

    #227649 quote
    Iván González
    Moderator
    Master

    Buenos días

    Aquí tienes el código. Verás que en la última línea he puesto entre [] condiciones.

     

    nvi =NegativeVolumeIndex(close)
    nvim = ExponentialAverage(nvi)
    nvimax = highest[90](nvim)
    nvimin = lowest[90](nvim)
    
    azul = (nvi - nvim) * 100/ (nvimax - nvimin)
    
    pvi = PositiveVolumeIndex(close)
    pvim = ExponentialAverage(pvi)
    pvimax = highest[90](pvim)
    pvimin = lowest[90](pvim)
    oscp = (pvi - pvim) * 100/ (pvimax - pvimin)
    xmf = MoneyFlowIndex[14]
    OB1 = (BollingerUp[25](TotalPrice) + BollingerDown[25](TotalPrice)) / 2
    OB2 = BollingerUp[25](TotalPrice) - BollingerDown[25](TotalPrice)
    BollOsc = ((TotalPrice - OB1) / OB2 ) * 100
    xrsi = rsi [14](TotalPrice)
    STOC = Stochastic[21,3](TotalPrice)
    
    marron = (xrsi + xmf + BollOsc + (STOC / 3))/2
    
    verde = marron + oscp
    
    ////CONDICIONES DEL BUSCADOR
    condicion1 = azul > 30
    condicion2 = verde < -30
    
    condiciones = condicion1 and condicion2
    
    SCREENER[condiciones]
    

    Si quieres introducir más condiciones sólo tienes que añadirlas en líneas adicionales. Por ejemplo:
    condicion3 = xxxxx

    y luego en la penúltima línea de código añadirla:

    condiciones = condicion1 and condicion2 and condicion3

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

Screener para konkorde


ProScreener: Buscadores de Mercado y Rastreo

New Reply
Author
author-avatar
Mikel9300 @mikel9300 Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by Iván González
2 years, 1 month ago.

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