sreener per heikin-ashi smooth and signals

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #127474 quote
    sfigattosfigatto
    Participant
    Junior

    Buongiorno, e possibile avere lo screener che individua quando si forma la freccia che indica il segnale di partenza su o giu nel grafico heikin-ashi smooth and signals? possibilmente su grafico giornaliero.

    Grazie in anticipo

    Auro

    #127479 quote
    NicolasNicolas
    Keymaster
    Legend
    • Non duplicare it tuoi post. Poni la tua domanda solo una volta e solo in un forum. Tutti i doppi post verranno comunque eliminati, quindi pubblicare più volte la stessa domanda ti farà perdere tempo e non ti farà avere una risposta più velocemente. Il doppio post crea solo confusione nei forum.
    #127496 quote
    robertogozzirobertogozzi
    Moderator
    Legend
    Credo tu abbia notato, ultimamente, che quando posti c’è un insieme di regole da osservare ben evidenziate in giallo, una di queste è:

    Non duplicare it tuoi post. Poni la tua domanda solo una volta e solo in un forum. Tutti i doppi post verranno comunque eliminati, quindi pubblicare più volte la stessa domanda ti farà perdere tempo e non ti farà avere una risposta più velocemente. Il doppio post crea solo confusione nei forum.

    quindi, per favore, una volta scelta la lingua, publica il post nel forum di quella lingua e NON anche in altri, creerebbe confusionje e frammentazione delle informazioni per una successiva ricerca. Grazie 🙂 Ho cancellato quello in lingua inglese. Quanto alla tua domanda, hai un link a quell’indicatore?
    #127497 quote
    robertogozzirobertogozzi
    Moderator
    Legend
    Meglio due che niente! 🙂 🙂 🙂
    #127499 quote
    robertogozzirobertogozzi
    Moderator
    Legend
    #127502 quote
    robertogozzirobertogozzi
    Moderator
    Legend
    Eccolo:
    //Reglas en Heikin-Ashi:
    //1- Secuencia de cuerpos blancos = tendencia alcista.
    //   Secuencia de cuerpos negros = tendencia bajista.
    //2- Tendencia alcista fuerte = Grandes cuerpos blancos y sin sombras inferiores.
    //   Tendencia bajista fuerte = Grandes cuerpos negros sin sombras superiores.
    //3- Cuando la tendencia se debilita surgen cuerpos pequeños con posibles sombras superior y/o inferior.
    //4- Una consolidación se da cuando aparecen cuerpos pequeños con ambas sombras tanto arriba como abajo.
    //5- La reversión de una tendencia se puede sospechar con la aparición de pequeños cuerpos con sombras largas tanto superiores como inferiores, o un cambio repentino de color.
    timeframe(Daily) 
    //    parámetros
    ONCE SmoothPeriod=2      //valor por defecto
    ONCE period=5            //valor por defecto
    ONCE flecha=0
    ONCE Dflech=barindex
    //    ciclo normal
    IF BarIndex=0 THEN
    xClose = (open+high+low+close)/4
    xOpen = open
    //xHigh = high
    //xLow = low
    ELSE
    xClose = (open+high+low+close)/4
    xOpen = (xOpen[1]+xClose[1])/2
    //xHigh = Max(max(high, xOpen), xClose)
    //xLow = Min(min(Low, xOpen), xClose)
    endif
    //  SUAVIZADO con la media de 2 en las velas
    if barindex>=(period+SmoothPeriod) then
    AvOpen=exponentialAverage[SmoothPeriod](xOpen)
    //AvHigh=exponentialAverage[SmoothPeriod](xHigh)
    //AvLow=exponentialAverage[SmoothPeriod](xLow)
    Avclose=exponentialAverage[SmoothPeriod](xClose)
    endif
    //    y ésta es la que uso
    //DRAWCANDLE(AvOpen, AvHigh, AvLow, AvClose)
    //ha7  para indicar cruces
    //   los valores para barindex<2 son especiales
    If Barindex < SmoothPeriod then
    Opcl=Open[1]
    else
    Opcl=Open
    ENDIF
    //    calculo dos medias de 7 y de 10
    Media7 = Average[7](Opcl)
    Media10 = Average[10](Opcl)
    //rango= Media7/10
    //   uso rango para el dibujo
    Alcista = AvOPen<AvClose
    Alcista1 = AvOpen[1]<AvClose[1]
    Bajista = AvOpen>AvClose
    Bajista1 = AvOpen[1]>AvClose[1]
    //Doji = Range[1] > ABS(AvOpen[1]-AvClose[1])*5
    //no puede haber dos operaciones en dos dias
    //valor representa mi compra cuando estoy dentro
    //  y el precio de venta cuando me salgo
    Segnale=0
    IF Dflech < barindex[2] then
    IF (Opcl>Media7 or Opcl>Media10) and not (Bajista and Bajista1) and flecha<1 then
    //  uso Range para que salgan visibles las flechas
    //DRAWARROWUP (barindex, AvHigh+Range) COLOURED (0, 0, 255)
    Segnale=1
    flecha=1
    Dflech = barindex
    //valor = AvClose
    ELSIF (Opcl<Media7 or Opcl<Media10) and not (Alcista and Alcista1) and flecha>=1 then
    //DRAWARROWDOWN (barindex, AvHigh+Range) COLOURED (255, 0, 0)
    Segnale=2
    flecha=-1
    Dflech = barindex
    //valor = AvClose
    ENDIF
    ENDIF
     
    Screener[Segnale](Segnale AS "1=↑,2=↓")
Viewing 6 posts - 1 through 6 (of 6 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

sreener per heikin-ashi smooth and signals


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
sfigatto @sfigatto Participant
Summary

This topic contains 5 replies,
has 3 voices, and was last updated by robertogozzirobertogozzi
6 years, 4 months ago.

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 04/22/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...