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,626 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

  #111 (permalink)
 tulanch 
Salt Lake City, UT
 
Experience: Intermediate
Platform: SC, NT, MT
Broker: AMP
Trading: NQ ES YM Bonds
Posts: 265 since Mar 2010
Thanks Given: 50
Thanks Received: 387

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
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
How to apply profiles
Traders Hideout
MC PL editor upgrade
MultiCharts
REcommedations for programming help
Sierra Chart
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
32 thanks
Just another trading journal: PA, Wyckoff & Trends
26 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #112 (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

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

Follow me on Twitter Started this thread Reply With Quote
Thanked by:
  #113 (permalink)
 
dee50's Avatar
 dee50 
cordoba spain
 
Experience: Intermediate
Platform: ninjatrader
Trading: 6E
Posts: 71 since Feb 2011
Thanks Given: 77
Thanks Received: 38



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
  #114 (permalink)
 
Rui S's Avatar
 Rui S 
Lisbon, Portugal
 
Experience: Intermediate
Platform: TWS and Sierra Charts
Broker: IB, Stage 5 / Dorman (Teton)
Trading: Stocks and E-minis
Posts: 140 since May 2012
Thanks Given: 189
Thanks Received: 55

@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)
 
1LotTrader's Avatar
 1LotTrader 
Douglas, United Kingdom
 
Experience: Advanced
Platform: Custom
Trading: Bund
Posts: 181 since Jun 2009
Thanks Given: 206
Thanks Received: 445


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

Follow me on Twitter Started this thread Reply With Quote
  #116 (permalink)
 
EDGE's Avatar
 EDGE 
Saint Louis, Mo., USA
 
Experience: Advanced
Platform: NinjaTrader, Tradestation
Broker: Amp/CQG, Velocity/TT, Kinetick, TS
Trading: Anything That Moves..
Frequency: Daily
Duration: Minutes
Posts: 209 since Aug 2010
Thanks Given: 98
Thanks Received: 392


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





.

Reply With Quote
  #117 (permalink)
 
EDGE's Avatar
 EDGE 
Saint Louis, Mo., USA
 
Experience: Advanced
Platform: NinjaTrader, Tradestation
Broker: Amp/CQG, Velocity/TT, Kinetick, TS
Trading: Anything That Moves..
Frequency: Daily
Duration: Minutes
Posts: 209 since Aug 2010
Thanks Given: 98
Thanks Received: 392

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


.

Reply With Quote
  #118 (permalink)
 
alexsmit's Avatar
 alexsmit 
reseda, ca
 
Experience: Advanced
Platform: ninja
Trading: 6e
Posts: 11 since Jan 2012
Thanks Given: 1
Thanks Received: 7

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)
 
Rui S's Avatar
 Rui S 
Lisbon, Portugal
 
Experience: Intermediate
Platform: TWS and Sierra Charts
Broker: IB, Stage 5 / Dorman (Teton)
Trading: Stocks and E-minis
Posts: 140 since May 2012
Thanks Given: 189
Thanks Received: 55


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)
 
1LotTrader's Avatar
 1LotTrader 
Douglas, United Kingdom
 
Experience: Advanced
Platform: Custom
Trading: Bund
Posts: 181 since Jun 2009
Thanks Given: 206
Thanks Received: 445



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

Follow me on Twitter Started this thread 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