Screener Heikin Ashi

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #110540 quote
    StenozarStenozar
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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
    StenozarStenozar
    Participant
    Master

    Grazie mille Roberto, provo ad utilizzarlo.

    A presto!

    #117716 quote
    giancatradegiancatrade
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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.
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

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 robertogozzirobertogozzi
6 years, 7 months ago.

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