Kind of Harami Indicator

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #49380 quote
    JeanJean
    Participant
    New

    Hi at all,

    I just want to see in my charts a presentation as shown in the picture. I have no clue how to do that.

    The idea is if the triggercandle encloses completely the preceding one, I want to see the high and low of this triggercandle within the my chart. And for me it is unimportant to distinguish between white or black candle.

    I hope someone has a nice idea and thank you very much for any help!

    Screen-Shot-2017-10-14-at-23.20.05.png Screen-Shot-2017-10-14-at-23.20.05.png
    #49478 quote
    NicolasNicolas
    Keymaster
    Legend

    I made this little indicator for your request. Is it how you expected it?

    pattern = high>high[1] and low<low[1]
    
    if pattern then 
     drawrectangle(barindex[2],high[0],barindex[0],low[0])
     hh = high
     ll = low
     drawtext("#hh#",barindex,high+range/10)
     drawtext("#ll#",barindex,low-range/10)
    endif
    
    return
    harami-indicator-boxes.png harami-indicator-boxes.png
    #49732 quote
    JeanJean
    Participant
    New

    HI Nicolas, thank you very much.

    I copied the code into a new indicator, but unfortunately I can’t see anything. May be I did sth wrong.

    Screen-Shot-2017-10-17-at-21.12.57.png Screen-Shot-2017-10-17-at-21.12.57.png Screen-Shot-2017-10-17-at-21.15.05.png Screen-Shot-2017-10-17-at-21.15.05.png
    #49737 quote
    JeanJean
    Participant
    New

    Dear Nicolas,

    never mind! I figured it out! THANK YOU SO MUCH!

    #49752 quote
    Fr7Fr7
    Participant
    Master

    Hello jkoe, you must add the indicator price. You must click on the key price and then add the indicator. 

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

Kind of Harami Indicator


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Jean @jkoe Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 10/14/2017
Status: Active
Attachments: 4 files
ProRealCode ProRealCode
Loading...