Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
CandleOutlineColor
Collapse
X
-
Candle Clear is a custom indicator made by Gumphrie. http://www.ninjatrader-support.com/v...ead.php?t=2940
-
Originally posted by barabba View PostYou can use the CandleClear indicator to to that.
Leave a comment:
-
Originally posted by NinjaTrader_Ray View Post- Not setting any of these properties will take the color properties from Chart Properties.
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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...
Leave a comment:
-
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:
-
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:
-
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:
-
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:
-
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 Jazzman53, Today, 07:23 PM
|
0 responses
1 view
0 likes
|
Last Post
![]()
by Jazzman53
Today, 07:23 PM
|
||
Started by Doctor JR, 08-05-2021, 10:02 AM
|
6 responses
240 views
0 likes
|
Last Post
![]()
by Rainmakersg
Today, 07:04 PM
|
||
Started by anon84, Today, 06:57 PM
|
0 responses
3 views
0 likes
|
Last Post
![]()
by anon84
Today, 06:57 PM
|
||
Started by ronyggg83, 02-09-2023, 06:54 PM
|
38 responses
766 views
0 likes
|
Last Post
|
||
Started by trend26, Today, 07:31 AM
|
2 responses
76 views
0 likes
|
Last Post
![]()
by trend26
Today, 06:08 PM
|
Leave a comment: