Kind of Harami Indicator

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #49380 quote
    Jean
    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!

    #49478 quote
    Nicolas
    Keymaster
    Master

    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
    #49732 quote
    Jean
    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.

    #49737 quote
    Jean
    Participant
    New

    Dear Nicolas,

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

    #49752 quote
    Fr7
    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.

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 Fr7
8 years, 3 months ago.

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