Announcement

Collapse
No announcement yet.

Indicator not showing then showing

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

  • Indicator not showing then showing

    My indicator does not show on the price chart first thing in the morning when I start eSignal (even though properly saved), but if I remove the indicator and add it back in again, it shows just fine.

    The indicator is coloring the price bars using this code:

    if(InLong == 1){setPriceBarColor(Color.blue)}
    if(InLong == -1){setPriceBarColor(Color.magenta)}

    Do I need to use the setColorPriceBars() command somehow?

    Why doesn't this show first thing, but shows if removed and put back?

  • #2
    Hello Ron,

    Yes, you should use setColorPriceBars(true) in preMain() and set a default color as well using setDefaultPriceBarColor(Color.name). Try that first. If that doesn't solve your problem, post your code.
    Jason K.
    Project Manager
    eSignal - an Interactive Data company

    EFS KnowledgeBase
    JavaScript for EFS Video Series
    EFS Beginner Tutorial Series
    EFS Glossary
    Custom EFS Development Policy

    New User Orientation

    Comment

    Working...
    X