NexusFi: Find Your Edge


Home Menu

 





Ninja Trader Custom Order Book - 1LDom - Source Code


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one 1LotTrader with 120 posts (318 thanks)
    2. looks_two Silvester17 with 27 posts (74 thanks)
    3. looks_3 Zondor with 17 posts (28 thanks)
    4. looks_4 philipp with 14 posts (7 thanks)
      Best Posters
    1. looks_one aligator with 3 thanks per post
    2. looks_two 1LotTrader with 2.7 thanks per post
    3. looks_3 Silvester17 with 2.7 thanks per post
    4. looks_4 Zondor with 1.6 thanks per post
    1. trending_up 175,530 views
    2. thumb_up 598 thanks given
    3. group 70 followers
    1. forum 356 posts
    2. attach_file 80 attachments




 
Search this Thread

Ninja Trader Custom Order Book - 1LDom - Source Code

  #241 (permalink)
 
Zondor's Avatar
 Zondor 
Portland Oregon, United States
 
Experience: Beginner
Platform: Ninjatrader®
Broker: CQG, Kinetick
Trading: Gameplay Klownbine® Trading of Globex
Posts: 1,333 since Jul 2009
Thanks Given: 1,246
Thanks Received: 2,731


Quoting 
sometimes on volume in ES it seems to count like a slot machine.

Without even looking at the code, my first guess would be that ChartControl.Refresh is occurring too frequently.

"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.”
Prof. Albert Bartlett
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
How to apply profiles
Traders Hideout
Exit Strategy
NinjaTrader
Better Renko Gaps
The Elite Circle
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Spoo-nalysis ES e-mini futures S&P 500
28 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
20 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #242 (permalink)
 jngrim 
new york, ny/usa
 
Experience: Beginner
Platform: nt
Trading: futures
Posts: 128 since May 2012
Thanks Given: 32
Thanks Received: 50

Is there anyay to keep back ticking of small contracts from happening? I understand that it is used to keep track of volume but the bid/offer is not really changing until the standing limit orders on either side are cleared.

thanks in advance...

Reply With Quote
  #243 (permalink)
 
1LotTrader's Avatar
 1LotTrader 
Douglas, United Kingdom
 
Experience: Advanced
Platform: Custom
Trading: Bund
Posts: 181 since Jun 2009
Thanks Given: 206
Thanks Received: 445


Back ticking? please can you explain a bit more, not sure what you mean by that?

Thanks
1Lot

Follow me on Twitter Started this thread Reply With Quote
  #244 (permalink)
 jngrim 
new york, ny/usa
 
Experience: Beginner
Platform: nt
Trading: futures
Posts: 128 since May 2012
Thanks Given: 32
Thanks Received: 50

Maybe it as to do with the "slot machine" problem. but i find it hard to watch flow if a large order hits the bid/ask and then is immediatley removed from the history cells because 1 or 2 contracts quickly hit and move the large order into the volume ladder.

Or maybe there is a way to highlight the cell history to show red or blue instead of one color. This would help one to see the is ask/bid and the dominate volume trend.

Reply With Quote
  #245 (permalink)
 
1LotTrader's Avatar
 1LotTrader 
Douglas, United Kingdom
 
Experience: Advanced
Platform: Custom
Trading: Bund
Posts: 181 since Jun 2009
Thanks Given: 206
Thanks Received: 445


jngrim View Post
Maybe it as to do with the "slot machine" problem. but i find it hard to watch flow if a large order hits the bid/ask and then is immediatley removed from the history cells because 1 or 2 contracts quickly hit and move the large order into the volume ladder.

Or maybe there is a way to highlight the cell history to show red or blue instead of one color. This would help one to see the is ask/bid and the dominate volume trend.

Yes I had this same problem on the Bund, altough I note it is particularly more troublesome on the ES because of all the small 1's and 2's that shunt through. That was the reason I created the second and third columns, they are history columns, that way you can always see the last 3 trades taken place. In Bund it was not ideal but it helped to alleviate the issue. Is it of no use in ES?

Edit: sorry I just reread and notice you mention it is sweeping straight across as was my suspicion since ES has all those 1 and 2 ticks. Another solution which I now use myself as opposed to the snapshot columns is I use a time based Vprofile. At the moment i have mine set to clear on 5minutes. It gives me a fairly good feel for what just went through as it usually only has one or two passes per price before a reset if that makes sense? I could look at putting something like that on the 1LDom, not sure if it would help. Can't at the mo though, pretty swamped. So will take some time unless someone else can pick it up in the mean time.

Follow me on Twitter Started this thread Reply With Quote
Thanked by:
  #246 (permalink)
 
1LotTrader's Avatar
 1LotTrader 
Douglas, United Kingdom
 
Experience: Advanced
Platform: Custom
Trading: Bund
Posts: 181 since Jun 2009
Thanks Given: 206
Thanks Received: 445


jngrim View Post
thanks for following up. I appreciate it. If you really want to see it, try market replay and speed it up.

@jngrim, I had a few moments to take a look at this and I can't really see an issue. The DOM isn't printing 1's, on ES at times, fairly often in fact you will have a large number of broken up trades go through the book in a second or less. The cum on the right is summing the raw data and I spent a half hour to check it and all the figures are correct.

The reason the refresh rate does not change anything is because the refresh rate is limited to the Bid/Ask updates as these can bottle the system but I figured that the actual going through are the most important so I wanted to see them going through as soon as they go through with no delays. Unfortunately in ES this means it repaints the screen faster than the eye can see. There is not much I can do about that unfortunately as that is the way it is printed from the exchange. I mean I could build a refresh rate limit option on top of the cum column but all that would be doing is filtering out some trade repaints and so you would see the totals printed once the fast through put stops but wouldn't change the outcomes in anyway and in some cases would potentially slow down a trade paint here and there. In the end it seems to me modifying this would be for the sake of modifying with no added benefit, so I'm going to leave it at that.

Regards the history I agree that there may be a better solution than the snapshot columns but I didn't hear back from you regarding the time profile so I'll just leave that as it is for now.

Cheers
1Lot

Follow me on Twitter Started this thread Reply With Quote
  #247 (permalink)
 jngrim 
new york, ny/usa
 
Experience: Beginner
Platform: nt
Trading: futures
Posts: 128 since May 2012
Thanks Given: 32
Thanks Received: 50


1LotTrader View Post
@jngrim, I had a few moments to take a look at this and I can't really see an issue. The DOM isn't printing 1's, on ES at times, fairly often in fact you will have a large number of broken up trades go through the book in a second or less. The cum on the right is summing the raw data and I spent a half hour to check it and all the figures are correct.

The reason the refresh rate does not change anything is because the refresh rate is limited to the Bid/Ask updates as these can bottle the system but I figured that the actual going through are the most important so I wanted to see them going through as soon as they go through with no delays. Unfortunately in ES this means it repaints the screen faster than the eye can see. There is not much I can do about that unfortunately as that is the way it is printed from the exchange. I mean I could build a refresh rate limit option on top of the cum column but all that would be doing is filtering out some trade repaints and so you would see the totals printed once the fast through put stops but wouldn't change the outcomes in anyway and in some cases would potentially slow down a trade paint here and there. In the end it seems to me modifying this would be for the sake of modifying with no added benefit, so I'm going to leave it at that.

Regards the history I agree that there may be a better solution than the snapshot columns but I didn't hear back from you regarding the time profile so I'll just leave that as it is for now.

Cheers
1Lot


Thanks 1lot...What do you mean that you have a vprofile refreshing every 5 minutes? You plot that on the 1ldom? I looked at adding GomMp to the same 1ldom chart in order to visualize the PC/VAH/VAL and VWAP in order to see how the order book and flow reacts to these levels. Is there a way to get around the slowdown? Im still learning, so combining these 2 on the same chart would be great.
thanks

Reply With Quote
  #248 (permalink)
 
philipp's Avatar
 philipp 
zürich/ switzerland
 
Experience: None
Platform: NT7, Sierra
Trading: CL
Posts: 128 since Nov 2010
Thanks Given: 48
Thanks Received: 109


aligator View Post

Just getting more playful with this wonderful indicator. Combined with jtRealStats and GomCD it rocks. Now if I only can read what it is telling me

hi alligator,

do you have the dom on a 1 minute chart? how does that work?

Reply With Quote
  #249 (permalink)
 
1LotTrader's Avatar
 1LotTrader 
Douglas, United Kingdom
 
Experience: Advanced
Platform: Custom
Trading: Bund
Posts: 181 since Jun 2009
Thanks Given: 206
Thanks Received: 445


jngrim View Post
Thanks 1lot...What do you mean that you have a vprofile refreshing every 5 minutes? You plot that on the 1ldom? I looked at adding GomMp to the same 1ldom chart in order to visualize the PC/VAH/VAL and VWAP in order to see how the order book and flow reacts to these levels. Is there a way to get around the slowdown? Im still learning, so combining these 2 on the same chart would be great.
thanks

Have a look at the snapshot column area on my DOM on the right, I use a custom time duration VProfile set to 5minutes. So instead of a VProfile that runs for a session duration it is configurable to a custom time. I like to see just a few passes on a price level before having it clear and recount from zero and 5minutes is good for Bund, could be different for another market though, depending on how it moves.

It is no different from a standard Daily Vprofile, just that it allows me to watch accumulation at a shorter time increment to see accumulation at the trade level better. See attached vid link, I made this a while ago when I was doing some speed comparisons and things but you can see clearly how the custom timed Vprofile works as it clears at least once and restarts.



1Lot

Follow me on Twitter Started this thread Reply With Quote
Thanked by:
  #250 (permalink)
 
1LotTrader's Avatar
 1LotTrader 
Douglas, United Kingdom
 
Experience: Advanced
Platform: Custom
Trading: Bund
Posts: 181 since Jun 2009
Thanks Given: 206
Thanks Received: 445



philipp View Post
hi alligator,

do you have the dom on a 1 minute chart? how does that work?

@philipp, the DOM works in a number of different configurations. The steps I put to follow were just to create 1 standard base configuration so that when people reported bugs I knew from where to start but beyond that there are a number of different options and ways to use it like on minute charts and with candles etc., like Aligator demonstrated.

1Lot

Follow me on Twitter Started this thread Reply With Quote




Last Updated on February 19, 2014


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts