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 have experienced something weird and don't know how to get around it.
Within Ninja, I am experimenting with a trial version of a third party indicator that plots dots above or below candle at certain important turning points. (trade signals)
The indicator is provided as secured DLL so I cannot really access the internals but intellisense reveal that the name of Data Series responsible for dots is named High.
Using a Cross-cursor when I hover at the candle with dots on it, values of High shown in data box is a valid number (usually Close of candle) and everywhere where no dot is plotted it is shown as N/A.
So, I confidently wrote (expecting it to work first time)
unfortunately this did not work. So, I tried
This did not work either. Tried few more ideas. CrossAbove, CrossBelow etc etc and nothing worked
After few trials and errors, I tried
last returns true for each and every candle.
IsNan is officially documented function in C# to detect numeric fields that do not have data
Can you help answer these questions from other members on NexusFi?
I have written a few codes for both CQG and sierra charts but not for ninja. My best advice is to contact the vendor of the signals and ask them directly.
The field probably is not actually empty; NT puts dummy values in whenever no actual value is used, and you have to check for that. Try the ContainsValue property of the dataseries. I think this may be your answer.
From the entry on DataSeries Class in the Ninja help file:
Bob.
When one door closes, another opens.
-- Cervantes, Don Quixote