Can someone try to make this indicator work in NT7? - NinjaTrader Programming | futures io social day trading
futures io futures trading


Can someone try to make this indicator work in NT7?
Updated: Views / Replies:4,653 / 10
Created: by FBJS Attachments:3

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 3  
 
Thread Tools Search this Thread
 

Can someone try to make this indicator work in NT7?

  #1 (permalink)
Elite Member
Toronto
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 108 since Sep 2009
Thanks: 30 given, 183 received

Can someone try to make this indicator work in NT7?

I use an indicator called Ed's Level 2, which is found on this page on the NinjaTrader indicators forum:

Links and Downloads Manager - NinjaTrader Support Forum

Here is a link to the blog of the indicator's creator, Ed:

Blog of If U Seek Amy Ed: Ed's Level II Indicator

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!

Attached Files
Register to download File Type: cs EdsLevel2.cs (14.8 KB, 67 views)
Reply With Quote
 
  #2 (permalink)
Elite Member
Toronto
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 108 since Sep 2009
Thanks: 30 given, 183 received

UPDATE:

I fixed part of the problem by adding the following code in the Initialize() section:

for (int rowCount = 0; rowCount < 50; rowCount++)
{
askRows.Add(new DOMRow(0,0));
bidRows.Add(new DOMRow(0,0));
}


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()?

Reply With Quote
The following user says Thank You to FBJS for this post:
 
  #3 (permalink)
Just starting out...
AlgoLand
 
Futures Experience: Master
Platform: Ninjatrader
 
Posts: 6 since Jan 2010
Thanks: 68 given, 8 received


hey FBJS

Did you get this working yet

Reply With Quote
 
  #4 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,366 since Jun 2009
Thanks: 3,574 given, 3,983 received

What's the problem ?
It seems to work for me, or maybe it should not look like this ?

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Success requires no deodorant! (Sun Tzu)
Reply With Quote
The following user says Thank You to sam028 for this post:
 
  #5 (permalink)
Just starting out...
AlgoLand
 
Futures Experience: Master
Platform: Ninjatrader
 
Posts: 6 since Jan 2010
Thanks: 68 given, 8 received

For me atleast, it disappears after painting for a few seconds

Reply With Quote
 
  #6 (permalink)
Elite Member
Toronto
 
Futures Experience: Advanced
Platform: NinjaTrader
 
Posts: 108 since Sep 2009
Thanks: 30 given, 183 received


hermit View Post
hey FBJS

Did you get this working yet

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.

Reply With Quote
The following user says Thank You to FBJS for this post:
 
  #7 (permalink)
Elite Member
Germany Hamburg
 
Futures Experience: Intermediate
Platform: Sierra Chart, X Trader
Favorite Futures: 6E, ES,...,
 
Tudi's Avatar
 
Posts: 71 since Nov 2011
Thanks: 60 given, 38 received

???

How can i install it on NT?



FBJS View Post
I use an indicator called Ed's Level 2, which is found on this page on the NinjaTrader indicators forum:

Links and Downloads Manager - NinjaTrader Support Forum

Here is a link to the blog of the indicator's creator, Ed:

Blog of If U Seek Amy Ed: Ed's Level II Indicator

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!


Reply With Quote
 
  #8 (permalink)
Elite Member
Atkinson, NH USA
 
Futures Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker/Data: NinjaTrader Brokerage
Favorite Futures: Futures, CL, ES, ZB
 
NJAMC's Avatar
 
Posts: 1,925 since Dec 2010
Thanks: 2,962 given, 2,294 received

ZIP file

I have updated the CS file with the fix for NT7 as described above and created a ZIP file for people to import easier.

Nil per os
-NJAMC [Generic Programmer]

LOM WIKI: NT-Local-Order-Manager-LOM-Guide
Artificial Bee Colony Optimization
Attached Files
Register to download File Type: zip EdsLevel2.zip (4.0 KB, 159 views)
Reply With Quote
The following 7 users say Thank You to NJAMC for this post:
 
  #9 (permalink)
Elite Member
Atkinson, NH USA
 
Futures Experience: Intermediate
Platform: NinjaTrader 8/TensorFlow
Broker/Data: NinjaTrader Brokerage
Favorite Futures: Futures, CL, ES, ZB
 
NJAMC's Avatar
 
Posts: 1,925 since Dec 2010
Thanks: 2,962 given, 2,294 received

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.

Nil per os
-NJAMC [Generic Programmer]

LOM WIKI: NT-Local-Order-Manager-LOM-Guide
Artificial Bee Colony Optimization
Reply With Quote
 
  #10 (permalink)
Elite Member
toronto, ontario
 
Futures Experience: Intermediate
Platform: ninja trader
Broker/Data: sterling, iqfeed
Favorite Futures: es, nq, 6e
 
bizman70's Avatar
 
Posts: 363 since May 2010
Thanks: 41 given, 140 received

use of indicator


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

Reply With Quote

Reply



futures io > > > > > Can someone try to make this indicator work in NT7?

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can anyone help me make the RC Beginner strategy work in MultiCharts? greyhound MultiCharts 7 February 18th, 2013 06:34 AM
Searching for an Indicator - how does it work steve2222 Beginners and Introductions 9 January 21st, 2011 11:02 PM
Programmer needed to make a Indicator blkreign69 NinjaTrader Programming 16 August 3rd, 2010 06:18 AM
Does anyone know if SBSRenko and RangeNoGap bars work in NT7 Todd NinjaTrader 3 May 14th, 2010 04:23 PM
Will the BMT Envelope Expansion indicator work on NT7? cbtrade NinjaTrader 4 March 23rd, 2010 08:52 PM


All times are GMT -4. The time now is 05:04 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-18 in 0.14 seconds with 20 queries on phoenix via your IP 23.22.136.56