Screener Heikin-Ashi con RSI y con MM14

Forums ProRealTime foro Español Soporte ProScreener Screener Heikin-Ashi con RSI y con MM14

  • This topic has 2 replies, 2 voices, and was last updated 2 months ago by avatarJEA.
Viewing 3 posts - 1 through 3 (of 3 total)
  • #228216
    JEA

    Hola.

    Estoy intentando diseñar un screener para velas Heikin-Ashi con las siguientes condiciones:

    • Una media movil (MM) de 14 sesiones.
    • Un RSI[14]
    • Que la tendencia del valor sea ascendente.
    • Que la vela del cierre actual formato Heikin Ashi sea tal que no tenga sombra inferior; es decir, que su apertura y mínimo coincidan.
    • Que la vela del cierre actual sin sombra inferior tenga su mínimo por encima de la MM14 o bien que el cierre de la vela coincida con un RSI>50 (cualquiera de las 2 condiciones).

    He intentado lo siguiente:

    if barindex>1 then
    HAclose=(open+close+low+high)/4
    HAopen=(HAopen[1]+HAclose[1])/2
    xHigh = Max(HAOpen, HAClose)
    xLow = Min(HAOpen, HAClose)
    HAhigh = Max(High,xHigh)
    HAlow = Min(Low,xLow)
    endif

    c1=movingaverage[14]

    HAsinsombra=HAopen=HAlow and HAhigh>HAclose

    c2=HAopen >c1

    screener[c1 and c2]

    sólo para la MM14 con la idea de ver si funcionaba y luego añadirle el RSI pero me falla y no sé por qué.

    Agradecería ayuda al respecto.

     

     

     

     

    #228228

    Buenas
    Aquí tienes la primera parte que estabas intentando sacar.

    #228229
    JEA

    Muchas gracias por tu rápida respuesta y por lo bien que funciona.

     

     

Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login