OmniTrader Forum - OmniTrader 2012 Technical Support
HHV and Color Charts

^ Top
Digitaldood

Posts: 10

Joined: 3/3/2009
Location: Allen, TX

User Profile
 
Subject : HHV and Color Charts
Posted : 2/23/2013 11:06 AM
Post #27941

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 - 581 downloads)

^ Top
Jim Dean

Posts: 3022

Joined: 9/21/2006
Location: L'ville, GA

User Profile
 
Subject : RE: HHV and Color Charts
Posted : 2/23/2013 11:20 AM
Post #27942 - In reply to #27941

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]
^ Top
Digitaldood

Posts: 10

Joined: 3/3/2009
Location: Allen, TX

User Profile
 
Subject : RE: HHV and Color Charts
Posted : 2/23/2013 12:55 PM
Post #27943 - In reply to #27941

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 - 595 downloads)

^ Top
Jim Dean

Posts: 3022

Joined: 9/21/2006
Location: L'ville, GA

User Profile
 
Subject : RE: HHV and Color Charts
Posted : 2/23/2013 1:11 PM
Post #27944 - In reply to #27943

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.
^ Top
Digitaldood

Posts: 10

Joined: 3/3/2009
Location: Allen, TX

User Profile
 
Subject : RE: HHV and Color Charts
Posted : 2/23/2013 3:34 PM
Post #27945 - In reply to #27941

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 - 594 downloads)



https://www.omnitrader.com/currentclients/otforum/thread-view.asp?threadid=6381&posts=5