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)
Has anyone experienced an issue with NinjaTrade where some of the indicators you have on your charts do not show up until you scroll the chart backwards? As soon as you move back to the hard right edge they disappear again. It also happens on each day....as I scroll back the indicators will only show up as I make it to that days range.
This is something that has just happened as I didn't have this problem before this week.
Thanks!!
MO
Can you help answer these questions from other members on NexusFi?
I found the reason for it after a some debugging of an indicator that I am writing with NT7. This is just to save time to other programmers.
I am writing an indicator that calculates and plots the lowest of the day using:
this.MyLow.Set(myLow);
where myLow is a variable initialized to "double.MinValue". Also I plot it starting at CurrentBar zero, the first bar of the chart.
So I resolved the the problem by changing the initialization value to -0e-99 or by writing:
if (100<CurrentBar) this.MyLow.Set(myLow);
I did not debug it deeper than that as I am fixing it other ways but I also noticed that the problem remains even if I wait for two bars only:
if (2<CurrentBar)
and that's also strange since the code needs one bar only to be evaluated.
I would possibly disagree with what you have written. Why not post the code of the indicator here and we can easily check it and find the reason why it does not display.
NinjaTrader already comes with an OHL indicator which plots the low of the day. What is your intention when writing a new one?