Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to change Candle Wick color on the fly

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

    How to change Candle Wick color on the fly

    I tried using ChartBars.Properties.ChartStyle.Stroke2.Brush=tmpU pColor;

    but it seems that this is changing it in the ChartBars.Properties and only changes it once.
    I would like to change it in OnBarUpdate() based on past bar High, Low, Close etc.

    Thanks

    #2
    I found it.

    Comment


      #3
      Hello JerryWar and thank you for your question. I am providing an excerpt from the ChartBars.Properties page of the help guide.

      Originally posted by http://ninjatrader.com/support/helpGuides/nt8/en-us/chartbars_properties.htm
      Warning: These are UI properties which are designed to be set by a user. Attempting to modify these values through a custom script is NOT guaranteed to take effect.
      Since these settings are designed to mirror the user changing user interface settings one time when initially configuring an indicator, I will need to ask what our goal is in this case to be able to assist further. I look forward to helping in any way I can.
      Jessica P.NinjaTrader Customer Service

      Comment


        #4
        Jessica,
        I figured that out, what I was looking for and found was CandleOutlineBrush.

        Regardless Thanks for the reply

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        90 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        49 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        23 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        32 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        31 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X