|
Digitaldood
 Member
Posts: 10
Joined: 3/3/2009
Location: Allen, TX
User Profile |
I am trying to create a Color Chart with the Background of the Price area to show the Highest Close in the past 100 days. My first attempt was for 250 days and I got the same results - these green bars obviously do not represent the Highest Close in the past 250, or 100 days. The formula that I used is:
HHV(C,100)[1]
Is there a bug in this part of the app or am I doing something wrong?
Attached file : HHV_ColorCharts.png (52KB - 492 downloads)
|
|
Jim Dean
 Sage
  Posts: 3022
Joined: 9/21/2006
Location: L'ville, GA
User Profile |
CC's and Setups and OScans use OmniScript to create true/false Boolean formulae.
You need to change your formula to include a relational operator (> < = etc) and another value or formula to create a T/F result, such as:
HHV(C,100)[1] > H[1]
[Edited by Jim Dean on 2/23/2013 11:22 AM]
|
|
Digitaldood
 Member
Posts: 10
Joined: 3/3/2009
Location: Allen, TX
User Profile |
Yes - you're right - and I forgot my original script was:
C > HHV(C,250)[1]
and it still gives the attached result
Attached file : HHV_ColorCharts02.png (53KB - 508 downloads)
|
|
Jim Dean
 Sage
  Posts: 3022
Joined: 9/21/2006
Location: L'ville, GA
User Profile |
Wierd.
Try it again in a new profile on a new chart template, from scratch.
If it looks the same, zip up the various files and submit as a bug.
|
|
Digitaldood
 Member
Posts: 10
Joined: 3/3/2009
Location: Allen, TX
User Profile |
Thank you for your quick responses Jim. I went ahead and did an upgrade (I've been really bad lately!) just knowing that the question will be raised. Restarted OT2012 Pro and added that same Color Chart again, and nothing changed. I did as you suggested and added it in a new profile in a new chart template, and it shows up like it should!! So, now I will see if I can import my other settings from the other profile without bringing over that bug, and see if I can continue on!
Attached a new pic just in case anyone wanted to see it for real! This is a:
C > HHV(C,250)[1] >>> Blue
C < LLV(C,250)[1] >>> Red
Attached file : HHV_ColorCharts03.png (79KB - 507 downloads)
|