Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CandleOutlineColor

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

  • NinjaTrader_JoshP
    replied
    Candle Clear is a custom indicator made by Gumphrie. http://www.ninjatrader-support.com/v...ead.php?t=2940

    Leave a comment:


  • Lost Trader
    replied
    Originally posted by barabba View Post
    You can use the CandleClear indicator to to that.
    CandleClear is not in the help file of v6.5, nor is it listed as an indicator in the software folder...

    Leave a comment:


  • barabba
    replied
    You can use the CandleClear indicator to to that.

    Leave a comment:


  • Lost Trader
    replied
    Originally posted by NinjaTrader_Ray View Post
    - Not setting any of these properties will take the color properties from Chart Properties.
    I am sorry to hear that.

    If that is the way it works (unfortunately) then y'all do need to either correct the way it works (best choice) or correct the help where it says:

    CandleOutlineColor
    * If this property is not set, the outline color will take the color set by the BarColor property.


    I strongly prefer that it work the way the help says as it is important to me that the candle outline match the candle body (because y'all do not separate shadow thickness from body outline thickness).

    respectfully...

    Leave a comment:


  • NinjaTrader_Ray
    replied
    Maybe you are looking for something that just does not exist?

    To clarify:

    - There will always be a candle outline
    - Setting the BarColor property will color both the candle and its outline to this color
    - Setting BarColor and CandleOutline will set each object to the color its set
    - Not setting any of these properties will take the color properties from Chart Properties

    This is how it works. I hope I cleared things up.

    Leave a comment:


  • Lost Trader
    replied
    Ray, you seem to keep overlooking the question...
    Obviously I do NOT want the variable set, since I want the CandleOutlineColor to match the BarColor. That is what started this entire conversation.

    How do I ensure that CandleOutlineColor is NOT SET?

    If you do not know, it is ok to say so -- just go find some-one who does know.

    In other words, I want my price candlesticks to use BarColor. How?
    And do not say "just do not set the variable", because that is NOT TRUE.

    Leave a comment:


  • NinjaTrader_Ray
    replied
    You can't set it to null.

    If its not set, it will take the default color set in your chart. If you put ONLY the following line in OnBarUpdate() in an indicator;

    CandelOutlineColor = Color.Red;

    compile, apply to the chart, the outline will now be red.

    Leave a comment:


  • Lost Trader
    replied
    I had time to test this via an indicator -- it does not have any affect?
    First, I tried (what I want) CandleOutlineColor = null;
    but it does not compile - How do I UNSET this variable?

    Then I tried CandleOutlineColor = Color.Yellow;
    however that command was ignored. The price candlesticks still have the black outline forced by the properties.

    Respectfully, Ray, I still believe there is a flaw in the NT code or implementation, and I sincerely hope y'all will correct it....

    Leave a comment:


  • NinjaTrader_Ray
    replied
    I see. I assumed programming since you quoted the NinjaScipt portion of our Help Guide.

    What you want to do is not possible via the UI.

    Leave a comment:


  • Lost Trader
    replied
    I've got to work on my communication skills..

    No mention of indicators... I have a chart. Standard any old chart with properties. In properties, I select Candle Stick.

    How can I set CandleOutlineColor to null (.i.e., unset) when the
    Properties have already forced the value to be set (default is black).

    Pictures below...
    Attached Files

    Leave a comment:


  • NinjaTrader_Ray
    replied
    I guess I don't follow.

    If I have an indicator with the following code in OnBarUpdate()

    BarColor = Color.Blue;

    All candles will be blue including the candleoutline.

    If I change code to this :

    BarColor = Color.Blue;
    CandleOutlineColor = Color.Red;

    I will get blue body candles with red outlines.

    Do you experience something different?

    Leave a comment:


  • Lost Trader
    replied
    Ray, I think you missed my point. The Help guide already says that.
    The problem is that it does not work that way - I would love my price candles to use the BarColor as the outline but they don't.

    It appears that it does not work because one cannot NOT SET the CandleOutlineColor because Chart properties FORCES it to be set.

    Leave a comment:


  • NinjaTrader_Ray
    replied
    I will change the Help Guide to properly reflect the behaviour to state that if BarColor is set and CandleOutlineColor is not set, it will take the color of the BarColor.

    Leave a comment:


  • Lost Trader
    replied
    In that case, sir, I respectfully submit that your current implementation of CandleOutlineColor has a bug - since your Help explicitly states
    "If this property is not set, the outline color will take the color set by the BarColor property."

    The Price BarColor changes are controlled by NT code. I want the outline to match the BarColor, here is a variable designed to do just that, and yet the Chart Properties implementation has prevented it from working. That is a flaw that needs to be corrected.

    You could either allow a property to disable the outline color, or more simply add a choice of color = "BarColor"that has the effect of resetting the CandleOutlineColor so that it does in fact match the BarColor at all times.

    Leave a comment:


  • NinjaTrader_Ray
    replied
    This is not possible manually since this color option is across all bars, not just up and down bars.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by alifarahani, Today, 09:40 AM
6 responses
24 views
0 likes
Last Post alifarahani  
Started by Waxavi, Today, 02:10 AM
1 response
17 views
0 likes
Last Post NinjaTrader_LuisH  
Started by Kaledus, Today, 01:29 PM
5 responses
13 views
0 likes
Last Post NinjaTrader_Jesse  
Started by Waxavi, Today, 02:00 AM
1 response
12 views
0 likes
Last Post NinjaTrader_LuisH  
Started by gentlebenthebear, Today, 01:30 AM
3 responses
17 views
0 likes
Last Post NinjaTrader_Jesse  
Working...
X