Grandezza Barra Heikin-Ashi

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #131666 quote
    Alien89Alien89
    Participant
    Junior

    Ciao a tutti !!

    Grazie innanzitutto per la disponibilità sia che ottenga risposte o meno.

    Vorrei sapere la formula per ottenere un indicatore in formato istogramma che mostri la grandezza corrente del corpo  della candela Heikin Ashi sul grafico.

    Grazie ciao

    #131675 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Eccolo:

    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))
    Ampiezza   = abs(xOpen - xClose) / pipsize
    RETURN Ampiezza AS "Ampiezza"

    restituisce l’ampiezza del corpo in pips, se lo vuoi in prezzo (per strumenti come Dax, SP500, ecc… è indifferente) basta che togli “/ pipsize” dalla riga 8.

    Per vedere un istogramma invece di una linea, basta che lo selezioni dalle proprietà dell’indicatore.

    #131689 quote
    Alien89Alien89
    Participant
    Junior

    Grazie mille!!

Viewing 3 posts - 1 through 3 (of 3 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

Grandezza Barra Heikin-Ashi


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
Alien89 @alien89 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Alien89Alien89
6 years, 4 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 05/14/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...