QuoteTracker To Be Finished End of 2011

Quote from jfb:

Is there any way to shade or color QT charts so that after hours and pre-market time is differentiated from market hours? In other words the hours from 4PM to 9:30 AM the next day
Jack,
There is no built in way to do that, though you can probably do a custom PaintBar set to Shade Full Background based on Bar Time. I frankly don't remember the format for Bar Time field for use in paintbars though :(.

I will add that to the feature request for MT though.
 
Quote from jfb:

Is there any way to shade or color QT charts so that after hours and pre-market time is differentiated from market hours? In other words the hours from 4PM to 9:30 AM the next day are a shade lighter or darker than the color during market hours? I have seen other charting software that has that capability. TIA. Jack

Try the following:

1 - Add a PB as:
if Bar Time>=16:00 and Bar Time<09:30 set color to [your preferred]

2 - Apply it to your chart using 'Show on full background'.
 
Quote from chartie:

Try the following:

1 - Add a PB as:
if Bar Time>=16:00 and Bar Time<09:30 set color to [your preferred]

2 - Apply it to your chart using 'Show on full background'.


Thanks for the suggestion. I couldn't get that to work, but I have no experience with paintbars never having used them before. I'll work on it some more. I tried using 16:00 and 09:30, which it truncated to 16:0 and 9:30, as well as 1600 and 0930, which it truncated to 930, so I might be entering the time in an incorrect format.
 
Quote from chartie:

Try the following:

1 - Add a PB as:
if Bar Time>=16:00 and Bar Time<09:30 set color to [your preferred]

2 - Apply it to your chart using 'Show on full background'.

I see now that the correct format is hh:mm which I couldn't get to work.
 
Quote from chartie:

Try the following:

1 - Add a PB as:
if Bar Time>=16:00 and Bar Time<09:30 set color to [your preferred]

2 - Apply it to your chart using 'Show on full background'.
Almost.... I remembered that time handling was funky.. Just didn't remember what the correct format was.

The Bar Time value is a decimal. 0.5 is noon. So assuming that you want to consider everything prior to 9:30 and after 4:00 extended hours, the two rules in the Paintbar would be:

if Bar Time<0.39583 set color to Gray and stop
if Bar Time>0.66667 set color to Gray and stop

and of course change the color from Gray to whatever you want.

The numbers in the rule come from:
9.5 / 24 = 0.39583
16/24 = 0.66667
 
Quote from j_medved:

Almost.... I remembered that time handling was funky.. Just didn't remember what the correct format was.

The Bar Time value is a decimal. 0.5 is noon. So assuming that you want to consider everything prior to 9:30 and after 4:00 extended hours, the two rules in the Paintbar would be:

if Bar Time<0.39583 set color to Gray and stop
if Bar Time>0.66667 set color to Gray and stop

and of course change the color from Gray to whatever you want.

The numbers in the rule come from:
9.5 / 24 = 0.39583
16/24 = 0.66667


That works...thanks guys!
 
Jerry,

I had no clue on what's the Bar Time format when I made a "First hour range" PB with only one rule:

if Bar Time>=9:30 and Bar Time<10:30 set color to [color code]

and it's been working beautifully :)
 
Quote from chartie:

Jerry,

I had no clue on what's the Bar Time format when I made a "First hour range" PB with only one rule:

if Bar Time>=9:30 and Bar Time<10:30 set color to [color code]

and it's been working beautifully :)

Oops, that's the "first hour" PB not "first hour range"... sorry :)
 
Back
Top