Jump to content
Medved Trader Forums

Draw high/low lines


Recommended Posts

I'm working with the example from the online help "draw high low lines every X mins"  in my case its 15mins

With a slight difference:

 

PeriodHigh = Math.Min(PeriodHigh, High);

It draws the lines just fine every 15mins.  I want to use the PeriodHigh, in my case green background if Close <= Periodhigh (the blue lines)

 

On the right side of the picture it's always green regardless of where it closes. Not sure how to articulate my problem but it's only supposed to be green when it closes between the period high and period low. How do I fix?

Screenshot 2024-07-25 192120_082234.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...