• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to read bar color from the chart to the indicator

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

    How to read bar color from the chart to the indicator

    Basic q?

    But BarColor shows allways [Empty]
    as
    BarColorSeries[0] (or any other bar index).

    (this is totally different and separate indicator so just need to read the bar color which is either painted to other color via some other proprietary indicator or default from chart properties but still up or down color)

    #2
    raffu, this would only give you the color access if you had explicitly overridden the color in your script.

    For the settings of the applied chart style you can use use from the ChartControls

    ChartControl.ChartStyle.DownColor
    ChartControl.ChartStyle.UpColor
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by morrnel, Today, 01:13 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by babouin77, Today, 12:41 PM
    6 responses
    16 views
    0 likes
    Last Post babouin77  
    Started by punkiy2111, Today, 12:17 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Tabor  
    Started by GLFX005, Today, 11:22 AM
    6 responses
    30 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by mintxom, Today, 10:25 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Melissa  
    Working...
    X