Announcement

Collapse
No announcement yet.

PriceBarColor

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PriceBarColor

    i'm setting the color of a price...this code works fine.

    SetPriceBarColor(Color.red);

    i would like to set the 'prior' bar color vs current bar.
    any help will be appreciated.
    thanks,
    peter.

  • #2
    Re: PriceBarColor

    peter

    i would like to set the 'prior' bar color vs current bar
    See my reply to the same question you posted in this thread
    Alex


    Originally posted by peterjerome
    i'm setting the color of a price...this code works fine.

    SetPriceBarColor(Color.red);

    i would like to set the 'prior' bar color vs current bar.
    any help will be appreciated.
    thanks,
    peter.

    Comment


    • #3
      alex, i originally posted the thread you linked.

      it doesn't answer my question...may i'm not stating in correctly.

      is there a variable in the SetPriceBarColor statement that allows me to select a 'bar offset'?
      i can color the current bar OK...i want to color the prior bar. ie currentbar(-1). is this possible?
      thanks,
      peter.

      Comment


      • #4
        peter
        As I indicated in my answer to you in that thread you cannnot set the color of the prior price bar at this time [IOW you cannot retroactively color the prior - or any historical - price bar]
        As I suggested in that thread you may want to use some graphic object to accomplish what you want
        Alex


        Originally posted by peterjerome
        alex, i originally posted the thread you linked.

        it doesn't answer my question...may i'm not stating in correctly.

        is there a variable in the SetPriceBarColor statement that allows me to select a 'bar offset'?
        i can color the current bar OK...i want to color the prior bar. ie currentbar(-1). is this possible?
        thanks,
        peter.

        Comment


        • #5
          Opps...i missed that alex...my bad
          peter

          Comment


          • #6
            peter
            No problem
            Alex


            Originally posted by peterjerome
            Opps...i missed that alex...my bad
            peter

            Comment

            Working...
            X