heiki hashi

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #71369 quote
    unkown0403unkown0403
    Member
    New

    buongiorno a tutti.

    c’è qualche buon anima che mi possa aiutare a creare l’indicatore heiki hashi? Lo vorrei sottoforma di istogramma con valore 1 se la candela è verde oppure -1 se la candela è rossa.

    grazie

    #71373 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Fatto (alcune linee sono commentate perché PRT non consente la presenza di variabili inutilizzate):

    IF BarIndex > 1 THEN
       haclose = (open + close + low + high) / 4
       haopen  = (haopen[1] + haclose[1]) / 2
       //xHigh   = Max(haOpen, haClose)
       //xLow    = Min(haOpen, haClose)
       //hahigh  = Max(High, xHigh)
       //halow   = Min(Low, xLow)
       IF haclose > haopen THEN
          x = 1
       ELSE
          x = -1
       ENDIF
    endif
    RETURN x
    Alai-n thanked this post
    HA.jpg HA.jpg
    #71376 quote
    unkown0403unkown0403
    Member
    New

    grazie Roby!!! felice weekend

    robertogozzi thanked this post
    #71390 quote
    NicolasNicolas
    Keymaster
    Legend

    Per un nuovo argomento, il tuo titolodovrebbe essere abbastanza esplicito da spingere la community a leggere la tua discussione.

    robertogozzi thanked this post
Viewing 4 posts - 1 through 4 (of 4 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

heiki hashi


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by NicolasNicolas
8 years, 3 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 05/26/2018
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...