Ninja Trader Custom Order Book - 1LDom - Source Code - NinjaTrader Programming | futures io social day trading
futures io futures trading


Ninja Trader Custom Order Book - 1LDom - Source Code
Updated: Views / Replies:72,128 / 356
Created: by 1LotTrader Attachments:83

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
 83  
 
Thread Tools Search this Thread
 

Ninja Trader Custom Order Book - 1LDom - Source Code

  #111 (permalink)
Elite Member
Salt Lake City, UT
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Dormans/Zen-fire
Favorite Futures: 6E ES YM
 
Posts: 233 since Mar 2010
Thanks: 46 given, 321 received

Interesting indi...

In the elite download section there is an indicator (VerticalScrollTools) that adds a standard windows Vertical Scroll bar to the chart window - goes nicely with this indi... I set the orderbook indi to false autoscale

Using this with TotalVolume and a low time frame chart ( 10 seconds ) I can quickly see the volume profile for the session...


Sorry if this is stupid question what are the R1, PriceConstant and CumVilatPrice ladder types?


also, wonder if there is a way to tell this indicator to only look back so much time or so many bars...instead of just the full session... for example last hour or past 30 bars... just a thought...

nice job on this indi...

Reply With Quote
The following user says Thank You to tulanch for this post:
 
  #112 (permalink)
 Vendor: the1lottrader.com 
Douglas, United Kingdom
 
Futures Experience: Advanced
Platform: Custom
Favorite Futures: Bund
 
1LotTrader's Avatar
 
Posts: 181 since Jun 2009
Thanks: 206 given, 445 received

Not sure why an indicator would be necessary, built in Ninja functionality allows vertical scroll by holding down the CTRL key while moving the mouse up and down in the vertical scale column (tip 3 on my How-To).

The Volume Profile only works for a full session.

1Lot

Reply With Quote
The following user says Thank You to 1LotTrader for this post:
 
  #113 (permalink)
Elite Member
cordoba spain
 
Futures Experience: Intermediate
Platform: ninjatrader
Favorite Futures: 6E
 
dee50's Avatar
 
Posts: 72 since Feb 2011
Thanks: 77 given, 38 received



1LotTrader View Post
Here you go, includes two new price formatting options Decimal4 and Decimal5 for the price constant ladder.

Latest source is attached.

1Lot

Thanks very much. Sorry I have taken so long to reply. This is Spain and the power has been off "all day".

Reply With Quote
The following 2 users say Thank You to dee50 for this post:
 
  #114 (permalink)
Elite Member
Lisbon, Portugal
 
Futures Experience: Intermediate
Platform: SC, NT
Broker/Data: IB
Favorite Futures: Futures
 
Rui S's Avatar
 
Posts: 124 since May 2012
Thanks: 140 given, 49 received

Great Job

@1LotTrader,

Thank you very much.

You have done a very good work creating and developing this tool. I am still testing it and I think it has a lot of potential.

There is just one thing that I can't figure out how to make it work which is the "Last Tick" configuration (in 6. Formatting). It is set to orange by default and I assume that it should probably show the last trade in the price ladder but I can't see it showing anywhere. Or maybe I'm just assuming wrong and it is something different...

I don't want to bother but if you could provide some insight on this issue I would really appreciate it.

Thanks.

Reply With Quote
 
  #115 (permalink)
 Vendor: the1lottrader.com 
Douglas, United Kingdom
 
Futures Experience: Advanced
Platform: Custom
Favorite Futures: Bund
 
1LotTrader's Avatar
 
Posts: 181 since Jun 2009
Thanks: 206 given, 445 received


Rui S View Post
@1LotTrader,

Thank you very much.

You have done a very good work creating and developing this tool. I am still testing it and I think it has a lot of potential.

There is just one thing that I can't figure out how to make it work which is the "Last Tick" configuration (in 6. Formatting). It is set to orange by default and I assume that it should probably show the last trade in the price ladder but I can't see it showing anywhere. Or maybe I'm just assuming wrong and it is something different...

I don't want to bother but if you could provide some insight on this issue I would really appreciate it.

Thanks.

Sorry mate, I will remove all those redundant parameters as soon as I have time, I just need to go through them all and see what is no longer relevant, it will be a bit of an exercise, some of them are a throw back to the original framework from Gomi but are no longer relevant for current functions.

This is one of those params, just ignore it for now. To see what is the last tick see this page here, look at the digram and the description.

How-To: Order Book ~ The 1Lot Trader

Essentially when the SS1 column turns white that means no change in price and volume is adding to previous volume, when it is green that means price just ticked up to new price (new price is green), that value is first volume traded at new price, then white for any cumulative. When it is red price has ticked down and again same (red is new price down) then again white for more at same price. So to summarise Red and Green is tick with change in price, white is tick with no change and is cumulative so will begin adding at same price level if no further change.

Hopefully that makes sense.

1Lot

Reply With Quote
The following 4 users say Thank You to 1LotTrader for this post:
 
  #116 (permalink)
 Vendor: www.htech.net 
Saint Louis, Mo., USA
 
Futures Experience: Advanced
Platform: NinjaTrader, Tradestation
Broker/Data: Amp/CQG, Velocity/TT, Kinetick, TS
Favorite Futures: Anything That Moves..
 
EDGE's Avatar
 
Posts: 127 since Aug 2010
Thanks: 77 given, 220 received


1LotTrader View Post
To see what is the last tick see this page here, look at the digram and the description.

How-To: Order Book ~ The 1Lot Trader


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;
}


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



.


Last edited by EDGE; October 22nd, 2012 at 10:37 PM.
Reply With Quote
The following 9 users say Thank You to EDGE for this post:
 
  #117 (permalink)
 Vendor: www.htech.net 
Saint Louis, Mo., USA
 
Futures Experience: Advanced
Platform: NinjaTrader, Tradestation
Broker/Data: Amp/CQG, Velocity/TT, Kinetick, TS
Favorite Futures: Anything That Moves..
 
EDGE's Avatar
 
Posts: 127 since Aug 2010
Thanks: 77 given, 220 received

BTW -- Nice Job Here 1Lot!!! Thanks for sparking so many ideas..


.

Reply With Quote
 
  #118 (permalink)
 Vendor: www.marketreplay.net 
reseda, ca
 
Futures Experience: Advanced
Platform: ninja
Favorite Futures: 6e
 
alexsmit's Avatar
 
Posts: 11 since Jan 2012
Thanks: 1 given, 7 received

Great tool, many thanks

Hello.

The only issue I have with .cs code is that the right part of the ladder shows just a fraction of the screen for some of the reason... I.e. it doesn't like the attached picture. If it shows session high/lows (was my first assumption) those are quite off.

Later I will fix large font for the L2 volume I can change by myself (doesn't fit to the chart

Cheerz,

- Alex.

Reply With Quote
 
  #119 (permalink)
Elite Member
Lisbon, Portugal
 
Futures Experience: Intermediate
Platform: SC, NT
Broker/Data: IB
Favorite Futures: Futures
 
Rui S's Avatar
 
Posts: 124 since May 2012
Thanks: 140 given, 49 received


1LotTrader View Post
Sorry mate, I will remove all those redundant parameters as soon as I have time, I just need to go through them all and see what is no longer relevant, it will be a bit of an exercise, some of them are a throw back to the original framework from Gomi but are no longer relevant for current functions.

This is one of those params, just ignore it for now. To see what is the last tick see this page here, look at the digram and the description.

How-To: Order Book ~ The 1Lot Trader

Essentially when the SS1 column turns white that means no change in price and volume is adding to previous volume, when it is green that means price just ticked up to new price (new price is green), that value is first volume traded at new price, then white for any cumulative. When it is red price has ticked down and again same (red is new price down) then again white for more at same price. So to summarise Red and Green is tick with change in price, white is tick with no change and is cumulative so will begin adding at same price level if no further change.

Hopefully that makes sense.



1Lot


@1LotTrader
Thank you for your reply. It absolutely makes sense. I will be patiently waiting for the next version.

And @EDGE suggestion might be good too, improving the visibility of the price movement. I hope it works out well.

Thanks.

Reply With Quote
 
  #120 (permalink)
 Vendor: the1lottrader.com 
Douglas, United Kingdom
 
Futures Experience: Advanced
Platform: Custom
Favorite Futures: Bund
 
1LotTrader's Avatar
 
Posts: 181 since Jun 2009
Thanks: 206 given, 445 received



alexsmit View Post
Hello.

The only issue I have with .cs code is that the right part of the ladder shows just a fraction of the screen for some of the reason... I.e. it doesn't like the attached picture. If it shows session high/lows (was my first assumption) those are quite off.

Later I will fix large font for the L2 volume I can change by myself (doesn't fit to the chart

Cheerz,

- Alex.

Hi Alex,

If you can post a couple of screenshots of the issues, it will be easier for me and some others maybe to assist.

Cheers
1Lot

Reply With Quote
The following user says Thank You to 1LotTrader for this post:

Reply



futures io > > > > > Ninja Trader Custom Order Book - 1LDom - Source Code

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
The order book - why bother? DionysusToast Traders Hideout 9 September 3rd, 2013 08:27 AM
Looking for Ninja Trader order book indicator. jerdog NinjaTrader 2 November 29th, 2011 05:43 AM
Zenfire C# API with source code tinkerz Reviews of Brokers and Data Feeds 3 July 24th, 2011 02:35 AM
How to set up a Stop (Limit) Loss order - Ninja Trader jdumanic NinjaTrader 2 June 7th, 2011 06:40 PM
New Version Ninja Trader 7 / code breaking change Mauro_60 The Elite Circle 6 September 15th, 2010 09:13 AM


All times are GMT -4. The time now is 11:52 PM.

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-15 in 0.14 seconds with 20 queries on phoenix via your IP 54.163.210.170