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)
I took NT's OBV indicator and added an SMA of the OBV itself, as I've seen in Quotetracker. All was fine and dandy until I added code to have the cross of those two lines paint the candles above. Now, no matter what I do, it shuts NT down when I try and apply it to a chart. I've done this to other indicators so I can't figure out why this one hates me. IF I can get this fixed, I plan on posting it here (along with several others I'm developing) as I like it for a long term trend indicator.
If anyone can tell me what's causing this close to happen, I would greatly appreciate it.
Dave
Can you help answer these questions from other members on NexusFi?
I'm using 6.5 and it just shuts down Ninja. Everything else still works fine. My other candlestick-bar-painting indicators work, which just makes this even stranger. Good luck, sir. I hope you can figure it out. Again, it works fine if the painting code is commented out but won't work with it in there, even if you choose NOT to paint the bars in the options window.
Maybe try adding a bunch of try/catch blocks around your if/else statements to try and isolate which one(s) is the source of the problem? If its trashing Ninja there is an unhandled exception somewhere.
Havent looked at yours yet: I looked at the NT OBV in the Srategy Wizard ouputted code, and this is what I see:
// Condition set 1
if ( OBV()[0] < Close[0])
Looks like there are brackets added after the OBV ??!! .. When I use the NT's OBV it has values plotted in panel 2 that dont ever do a crossup/down as the values are MANY multiples of the chart in panel 1
Jon
ps: traderwerks has a good catch! AND I am no programmer, but I dont think you can make your own dataseries have the same name as an indicator that already exists ..