I didnt post the pic w/ my arrows, hold on.
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Instead of BarBrushes how to I say BarOutline?
Collapse
X
-
Like this? But also, in these other areas.
I didnt post the pic w/ my arrows, hold on.Last edited by trdninstyle; 10-07-2022, 12:25 PM.
-
-
Hello trdninstyle,
The logic is up to you.
What are you trying to do here?
You are checking if the BarBrush, the color of the bar (not the outline), was not set to Brushes.White 2 bars ago?
Your script does not set BarBrush, so this is always going to evaluate as true as no BarBrush is being set to White.
Were you intending to check if the CandleOutlineBrush was set to Brushes.White 2 bars ago?
Were you intending to check if the CandleOutlineBrush was set to the CandleOutlineDownBrush value 2 bars ago?Last edited by NinjaTrader_ChelseaB; 10-07-2022, 02:00 PM.Chelsea B.NinjaTrader Customer Service
Comment
-
Okay, I got it. I had to read it a bunch of times, the 2 bars ago was the clue. At first, I put in CandleOutlineDownBrush; the ('Down') had issues, then the light went off.
I have Up for the Down and the Down for the Up. I just have to fix that. I can go back to my other indicators now and add that feature.
Thank you, a billion times.
Comment
-
I'm going to add another condition for a two-candle reversal and have it print a different color. A two-candle reversal with one to 4 small candles or doji's between the down bar and the up bar, technically it trades the same because it's a variant of the 2candle reversal.
I was just saying, I wonder by leaving !=Brushes.Yellow, would it be the default setting when someone first gets the indicator?
Comment
-
Hello trdninstyle,
What is the CandleOutlineDownBrush default color? Is it yellow?
Are you trying to find out if the bar was set with the default color this input started with 2 bars ago?
If the input value changes, you don't want this condition to evaluate as true any more?
What is your goal? What is the actual logic you want?Chelsea B.NinjaTrader Customer Service
Comment
-
I know I get that. I was just curios. The logic is all set. It's a blow off question.
Thanks again, tho.
Comment
-
There is something here I'm missing in order to have indicator work. It compiles but still doesn't color.
I might have to wait til Monday unless you guys are working on Saturday. Thank you thank you.
This is my other indicator, Breakout and follow thru candle and to allow end user to change color. (2 Candles involved)Last edited by trdninstyle; 10-08-2022, 10:40 AM.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by PaulMohn, Today, 03:49 AM
|
0 responses
7 views
0 likes
|
Last Post
by PaulMohn
Today, 03:49 AM
|
||
Started by inanazsocial, Today, 01:15 AM
|
1 response
9 views
0 likes
|
Last Post Today, 02:18 AM | ||
Started by rocketman7, Today, 02:12 AM
|
0 responses
10 views
0 likes
|
Last Post
by rocketman7
Today, 02:12 AM
|
||
Started by dustydbayer, Today, 01:59 AM
|
0 responses
4 views
0 likes
|
Last Post
by dustydbayer
Today, 01:59 AM
|
||
Started by trilliantrader, 04-18-2024, 08:16 AM
|
5 responses
23 views
0 likes
|
Last Post Today, 12:32 AM |
Comment