Announcement

Collapse
No announcement yet.

Set Price Bar color question

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

  • Set Price Bar color question

    I have a study I wrote for Key Reversals but the problem is that when applied it colors only the bars that apply to the study. I am probably missing something simple here but how can I change my code to leave the default colors for candlesticks to any bar that does not meet my criteria for a key reversal?

    Here is the code used now...
    Attached Files

  • #2
    epiphany
    In eSignal once you apply a color to a price bar you completely override the chart's default price bar colors. If you do not specify a color on a per bar basis this will be painted in the default color defined by the setDefaultPriceBarColor() statement in preMain() or in white if not default is provided.
    In order to accomplish what you want you will need to add the necessary conditions to replicate the default colors.
    Alex

    Comment

    Working...
    X