QuoteTracker To Be Finished End of 2011

Discussion in 'Trading Software' started by garbar, Jan 12, 2011.

  1. 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.
     
    #1251     Jun 26, 2013
  2. chartie

    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'.
     
    #1252     Jun 27, 2013
  3. jfb

    jfb


    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.
     
    #1253     Jun 27, 2013
  4. jfb

    jfb

    I see now that the correct format is hh:mm which I couldn't get to work.
     
    #1254     Jun 27, 2013
  5. 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
     
    #1255     Jun 27, 2013
  6. jfb

    jfb


    That works...thanks guys!
     
    #1256     Jun 27, 2013
  7. chartie

    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 :)
     
    #1257     Jun 27, 2013
  8. chartie

    chartie

    Oops, that's the "first hour" PB not "first hour range"... sorry :)
     
    #1258     Jun 28, 2013
  9. wpfund

    wpfund

    Hi Jerry;
    Any plans for MT to chart spreads?
     
    #1259     Jun 28, 2013
  10. plans - yes.
    Done - no.
     
    #1260     Jun 28, 2013