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

  #221 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,611 since Aug 2009
Thanks Given: 11,336
Thanks Received: 2,744

@Silvester17

Do you find that the yellow highlight does not always follow the current last price?

If I do a refresh it will catch up but seems to lag especially after hours or slow markets.

Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on Twitter Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
How to apply profiles
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Tao te Trade: way of the WLD
24 thanks
Just another trading journal: PA, Wyckoff & Trends
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #222 (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


isold View Post
Hi 1LDom ,
Thanks for the great job you are doing to this thread,my question is about the ZN,ZB treasures settings to 1/32 option .I downloaded Nov 28 latest Zip file and can see only decimals,or kilos.Maybe I am missing something on your previous reply,or it is just not available ?
Thank you Isold

Hi @isold

If you go to price constant ladder options then drop down the Number 3. Option and look at the values in there, along with Kilo1Digit, Decimal1, Decimal2, Decimal3 etc. there is an option called "TresForm" -> Treasury Format. This is specifically for ZB,ZN. Can you have a look and let me know if you find it ok.

1Lot

Follow me on Twitter Started this thread Reply With Quote
  #223 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527



DavidHP View Post
@Silvester17

Do you find that the yellow highlight does not always follow the current last price?

If I do a refresh it will catch up but seems to lag especially after hours or slow markets.

@DavidHP,

I haven't notice a difference between this dom and the standard dom when running them side by side. the price matches, but the the bid and ask can be off at times.

and I do know that sometimes the dom (standard) and the chart price are not in sync. also the bid and ask of the chart trader and the dom do not match exactly. the chart trader being slightly slower with the updates.

Reply With Quote
Thanked by:
  #224 (permalink)
 jngrim 
new york, ny/usa
 
Experience: Beginner
Platform: nt
Trading: futures
Posts: 128 since May 2012
Thanks Given: 32
Thanks Received: 50


EDGE View Post
If you comfortable modifying the source code, you could also do this..

PLEASE BACKUP YOUR ORIGINAL FIRST!!!


Replace Line 1183

 
Code
DrawData TotPriceFillParams(int volume, int maxValue)

with this..

 
Code
DrawData TotPriceFillParams(int volume, int maxValue, int PriceTick)

Replace Line 1348

 
Code
return TotPriceFillParams(volume,maxValue);

with this..

 
Code
return TotPriceFillParams(volume,maxValue,PriceTick);

replace Line 1188

 
Code
returnData.FillColor=Color.LightGray;

with this..

 
Code
if(PriceTick==helper.PriceTick)
{
     returnData.FillColor=Color.Yellow;
}
else
{
     returnData.FillColor=Color.LightGray;
}





.


Silvester, I would like to modify and I dl a decompile telerik, but I dont know how to find the items above..It seems to break everyithing down into classes. I am not a programmer so if you could hlep that would be great.

Reply With Quote
  #225 (permalink)
 jngrim 
new york, ny/usa
 
Experience: Beginner
Platform: nt
Trading: futures
Posts: 128 since May 2012
Thanks Given: 32
Thanks Received: 50

1lottrader..
Great tool. thanks a bunch. Have you thought of considering using the new GOMI MP indicator to color the price and corresponding level of the DOM? This would be great..Obviously, seen these level especially where the levels are aligning would be an awesome way to visualize the data..

Also since a 1 tick chart moves so fast, it's hard to see the order flow..it there a way to see the delta? I have been learning orderflow as well and am looking to employ it in my trading.


Thanks a bunch

Reply With Quote
  #226 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527


jngrim View Post
Silvester, I would like to modify and I dl a decompile telerik, but I dont know how to find the items above..It seems to break everyithing down into classes. I am not a programmer so if you could hlep that would be great.

@jngrim

maybe this way it's easier.

go to tools > edit ninjascript > indicator > select oneldom and double click

then make the changes showing below:

when you're done, you need to compile (f5) and you're all set.





let me know if it's working.

Reply With Quote
Thanked by:
  #227 (permalink)
 jngrim 
new york, ny/usa
 
Experience: Beginner
Platform: nt
Trading: futures
Posts: 128 since May 2012
Thanks Given: 32
Thanks Received: 50


Silvester17 View Post
@jngrim

maybe this way it's easier.

go to tools > edit ninjascript > indicator > select oneldom and double click

then make the changes showing below:

when you're done, you need to compile (f5) and you're all set.





let me know if it's working.

Silvester,
I dont have any indicator in the Ninjascript menu that I can select to edit. I have the latest OneLDOM.

Reply With Quote
  #228 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527


jngrim View Post
Silvester,
I dont have any indicator in the Ninjascript menu that I can select to edit. I have the latest OneLDOM.

@jngrim,

you would need the open source code (cs file) to make the changes. looks like you downloaded the dll (zip folder) version from this post:


Reply With Quote
Thanked by:
  #229 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527

this says a lot



great work and thanks again @1LotTrader

Reply With Quote
Thanked by:
  #230 (permalink)
 jngrim 
new york, ny/usa
 
Experience: Beginner
Platform: nt
Trading: futures
Posts: 128 since May 2012
Thanks Given: 32
Thanks Received: 50


IN the1LDom, when the volume comes in it is counted in increments of 1. Is that normal to the indicator, rather than summing into the first cumulative box.Is there it does it by 1? Is is due to it being a 1 tick chart? Thanks

Thanks alot to 1lot trader and Silvester.

Reply With Quote
Thanked by:




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