This is virtually impossible with NinjaTrader. You can easily
-> color the background of the indicator panel
-> or alternatively color the background of all panels
But adding an alternative just to color the price panel does not work without accessing chart controls. If you just want to change the color of the price panel it is easier to code a second indicator than adding an option to the first.
I attach an indicator which allows you to color indicator panels or all panels.
The following 3 users say Thank You to Fat Tails for this post:
I worked now a few days with this indicator and I have a small question. Why does it paint the background in the panel, ones after a closed candle and ones before a closed candle. The D + K cross occurs both time in the middle of a candle.
The color changes, when the fast line has reached or crossed the slow line. The color change always includes the actual cross, as the color is drawn back to the position of the previous candle. Example shown below.
You first vertical line was drawn before the cross, the second vertical line after the cross.
The following user says Thank You to Fat Tails for this post:
I’m trying something out and I’m really will appreciate it when somebody can add a Background color function to an RSI indicator. I’m tried it, but actually I’m miles away from understand programing.
I would like only the RSI panel to background color it, like the Stochastic in the previous posts.
This is my idea:
When RSI is going up and it is below the 50 line = Background color LIME (for example)
When RSI is going up and it is above the 50 line = Background color GREEN (for example)
When RSI is going down and it is above the 50 line = Background color ORANGE (for example)
When RSI is going down and it is below the 50 line = Background color RED (for example)
I hope someone can help me with that.
Thanks a lot
I wonder if FatTails or redratsal can solve this one.
I use a linear gradientbrush to paint my background. How can I either
a) convert this to a rgb color code so that I can use BackColorAll or
b) Back Color the whole of the form - all Panels, axis areas,etc
It's part of Making Charts Pretty but thought I would hop over here to see if someone knows the answer(s).