Screener Heikin Ashi

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #110540 quote
    Stenozar
    Participant
    Master

    Buonasera,

    è possibile creare uno screener che rilevi quando una candela heikin ashi, ad esempio settimanale, cambia colore, diventando da bearish a bullish e viceversa?

    Grazie

    Stefano

    #110553 quote
    robertogozzi
    Moderator
    Master

    Eccolo:

    // Heikin Ashi setup
    once xOpen = open
    xClose     = (open + close + high + low) / 4
    if barindex > 0 then
        xOpen  = (xOpen + xClose[1]) / 2
    endif
    //xLow       = min(low,min(xClose,xOpen))
    //xHigh      = max(high,max(xClose,xOpen))
    //
    Bullish = xClose > xOpen
    Bearish = xClose < xOpen
    Risultato = 0
    IF Bullish AND Bearish[1] THEN
       Risultato = 1                          //da Ribassista a Rialzista
    ENDIF
    IF Bearish AND Bullish[1] THEN
       Risultato = 2                          //da Rialzista a Ribassista
    ENDIF
    SCREENER[Risultato](Risultato AS "1=↑, 2=↓")
    #110603 quote
    Stenozar
    Participant
    Master

    Grazie mille Roberto, provo ad utilizzarlo.

    A presto!

    #117716 quote
    giancatrade
    Participant
    Junior

    Ciao, chiedo se può funzionare così come impostato anche su tf più bassi…1H per esempio. Grazie mille e buon lavoro

    #117717 quote
    robertogozzi
    Moderator
    Master

    Si, è generico, va bene su qualunque TF.

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

Screener Heikin Ashi


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
Stenozar @stenozar Participant
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by robertogozzi
6 years, 1 month ago.

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 10/18/2019
Status: Active
Attachments: No files
Logo Logo
Loading...