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)
Unfortunately, Ed seems to be too busy right now to incorporate a fix for this indicator for NT7, and since I use it a lot I was wondering if someone here could do the translation.
I already managed to make it compile by changing all references to (int) from (long) for the Volume variable, but unfortunately it doesn't actually run properly. Under NT7 it just doesn't seem to show any bars as it is supposed to. I believe that the problem is in the OnMarketDepth() event handler, but I'm having trouble figuring out why it's throwing errors there.
I have attached a .cs file with the code... the only changes I made were in casting the Volume parameter(s) to (int) to make it compile, other than that it is the original code.
If someone with a bit more NT coding experience could figure this out, it would be much appreciated!
Can you help answer these questions from other members on NexusFi?
This pre-populated all the rows for the bid/ask for level 2, and avoided throwing errors from having empty List<> values in the OnMarketDepth event handler.
Even with this fix however, it still requires an actual OnMarketDepth() event to occur before real data shows up for the bid/ask row. In other words, the indicator starts out blank, and then as OnMarketDepth() events occur, it populates the level 2. It didn't work this way in 6.5... does anyone know of any code changes that might be causing this, and/or how to force a complete refresh of level 2 data right on Initialize()?
Apart from the fix mentioned earlier in this thread, no. It does work for me in that it will quickly populate the bars as new level 2 events come in, but I can't get it to auto-populate everything on chart startup all at once. So basically, you have to wait a short while for the data to start appearing. Depending on the contract and the time of day, it can take anywhere from a few seconds to a minute or two to fully populate all the bars, according to how fast the level 2 info is changing. I informed the creator of the indicator of my fix, and I suspect that he will work on it further at some point, but it does not appear to be a priority for him.
Keep in mind this script used Level 2 data. If you are using replay data be sure you have downloaded the Level 2 data or this will do nothing. Also, make sure your data source has Level 2 data when you are running this live.
hi - looks good for market reading but the bids and asks move quick - how do u actually make use of it , are u using it like market profile with the levels it needs or wants to reach to