Screneer indicador SMI

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #189045 quote
    Walloper
    Participant
    New

    Buenas tardes,

    Me gustaría que me ayudaran a implementar el siguiente indicador en un screener:

    ` ///Histograma SMI50
    ///Establecemos indicador
    indicator1 = SMI[50,5,13](CLOSE)
    indicator2 = Average[5] (indicator1)

    ALCISTA1 = indicator1 crosses over indicator2[1] AND indicator1 > indicator1[1]
    BAJISTA1 = indicator1 crosses under indicator2[1] AND indicator1 < indicator1[1]

    IF BAJISTA1 THEN

    DRAWTEXT (“ABRIR CORTOS”,barindex,high+40*pointsize, Dialog,Bold,10) coloured (255,0,0)
    DRAWARROWDOWN (barindex,high+1*pointsize) COLOURED(215,80,250)

    ENDIF
    IF ALCISTA1 THEN

    DRAWTEXT(“ABRIR LARGOS”,barindex,low-40*pointsize,Dialog,Bold,10) COLOURED (0,0,0)
    DRAWARROWUP(barindex,low-1*pointsize) COLOURED(70,100,255)
    ENDIF

    return`

    Muchas gracias

    #189057 quote
    robertogozzi
    Moderator
    Master

    Ahi esta:

    //Histograma SMI50
    //Establecemos indicador
    indicator1 = SMI[50,5,13](CLOSE)
    indicator2 = Average[5] (indicator1)
    ALCISTA1   = indicator1 crosses over indicator2[1] AND indicator1 > indicator1[1]
    BAJISTA1   = indicator1 crosses under indicator2[1] AND indicator1 < indicator1[1]
    Signal = 0
    IF BAJISTA1 THEN
       //DRAWTEXT ("ABRIR CORTOS",barindex,high+40*pointsize, Dialog,Bold,10) coloured (255,0,0)
       //DRAWARROWDOWN (barindex,high+1*pointsize) COLOURED(215,80,250)
       Signal = 2
    ENDIF
    IF ALCISTA1 THEN
       //DRAWTEXT("ABRIR LARGOS",barindex,low-40*pointsize,Dialog,Bold,10) COLOURED (0,0,0)
       //DRAWARROWUP(barindex,low-1*pointsize) COLOURED(70,100,255)
       Signal = 1
    ENDIF
    SCREENER[Signal](Signal AS "1=↑, 2=↓")
    Walloper thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Screneer indicador SMI


ProScreener: Buscadores de Mercado y Rastreo

New Reply
Author
author-avatar
Walloper @gaizka Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
4 years ago.

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