Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
hi,
I just started with ninjatrader and need some help modifying the OHLC bar chart. I would like the bars to be colored based on the previous bar's close, on all time frames.
up(green)=close>prev close
down(red)=close<prev close
Fat Tails was generous enough to help code the price bars.
private override void Initialize()
{
CalculateOnBarClose = false;
}
However, I forgot to mention I would like the volume bars to be set-up the same way. So now I need this code to be modified to work with volume bars. I sent ninja an email requesting a license upgrade so I can try coding myself, we'll see.
Thanks-
Andrew
Can you help answer these questions from other members on NexusFi?
coloring other stuff than price bar is more elaborate, in this case you have 3 colors so you have to add 3 color plots.
ps. the secrete sauce to draw on both panels is to declare "Overlay = false;" then set it to true/false as needed.
Also, please use a more descriptive thread title next time. It helps keep things organized. 10,000 threads of "please help" makes things impossible to locate later. I updated your thread title.