NexusFi: Find Your Edge


Home Menu

 





beta LineBreak bar type with Wicks for NT7


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one zacharydw00 with 23 posts (41 thanks)
    2. looks_two Stem1 with 5 posts (0 thanks)
    3. looks_3 Big Mike with 5 posts (2 thanks)
    4. looks_4 wccktrader with 5 posts (2 thanks)
      Best Posters
    1. looks_one zacharydw00 with 1.8 thanks per post
    2. looks_two gordo with 1.5 thanks per post
    3. looks_3 max-td with 1.3 thanks per post
    4. looks_4 wccktrader with 0.4 thanks per post
    1. trending_up 32,650 views
    2. thumb_up 56 thanks given
    3. group 14 followers
    1. forum 61 posts
    2. attach_file 12 attachments




 
Search this Thread

beta LineBreak bar type with Wicks for NT7

  #41 (permalink)
 
zacharydw00's Avatar
 zacharydw00 
Idaho
 
Experience: Intermediate
Platform: NinjaTrader,ToS
Broker: Amp Futures, ToS
Trading: ES, E7, CL, GC
Posts: 149 since Aug 2009
Thanks Given: 87
Thanks Received: 180


Stem1 View Post
No other bar types, everything else in that folder has an "@" in front.
I tried compling indies again, no errprs.

Did you upgrade NT to 7.###.5 before importing the LB bartype?
Try importing BetterRenko bartype in Elite section, and see if that shows up.

Milk-a-What?
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Request for MACD with option to use different MAs for fa …
NinjaTrader
ZombieSqueeze
Platforms and Indicators
NexusFi Journal Challenge - April 2024
Feedback and Announcements
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
67 thanks
Battlestations: Show us your trading desks!
48 thanks
NexusFi site changelog and issues/problem reporting
47 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 thanks

  #42 (permalink)
 Stem1 
Cairns Australia
 
Experience: Beginner
Platform: MC,NT7
Broker: Dukascopy
Trading: FX
Posts: 51 since Dec 2009
Thanks Given: 96
Thanks Received: 9


zacharydw00 View Post
Did you upgrade NT to 7.###.5 before importing the LB bartype?
Try importing BetterRenko bartype in Elite section, and see if that shows up.

I upgraded to 7##.5 (it was 7##.3),no change. I imported betterrenko, and it does the same thing. Both are in the "type" folder, but dont show in the data series>chart style box. Applied many restarts and compilations, no change.....

Reply With Quote
  #43 (permalink)
 
zacharydw00's Avatar
 zacharydw00 
Idaho
 
Experience: Intermediate
Platform: NinjaTrader,ToS
Broker: Amp Futures, ToS
Trading: ES, E7, CL, GC
Posts: 149 since Aug 2009
Thanks Given: 87
Thanks Received: 180



Stem1 View Post
I upgraded to 7##.5 (it was 7##.3),no change. I imported betterrenko, and it does the same thing. Both are in the "type" folder, but dont show in the data series>chart style box. Applied many restarts and compilations, no change.....

If BetterRenko is not showing up then you are having problems with Ninja . I'd suggest contacting them.

Milk-a-What?
Started this thread Reply With Quote
The following user says Thank You to zacharydw00 for this post:
  #44 (permalink)
 
RJay's Avatar
 RJay 
Hartford, CT. USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG, Kinetick
Trading: RTY
Posts: 682 since Jun 2009
Thanks Given: 756
Thanks Received: 787


Stem1 View Post
I upgraded to 7##.5 (it was 7##.3),no change. I imported betterrenko, and it does the same thing. Both are in the "type" folder, but dont show in the data series>chart style box. Applied many restarts and compilations, no change.....

Hi Stem,

How many custom chart types do you have loaded?

It has been my experience that NT will only display the first 10 custom charts that it loads.

Also if there are 2 or more chart types with the same ID, the first one that loads when NT is booted is available, the other is not.

RJay

Reply With Quote
  #45 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

i have a question to those bartypes :

is it possible to fix this thing somehow so that we have synced charts if we open several charts with the same periode ?

i played a bit with it and realized that this is not the point at the moment.
i compared it to the behavior of pure tickcharts - they are in a perfect sync in different chartwindows.

have a look at the pictures please, i hope they explain my problem better.

thanks max

BTW - using the latest version fom may 2011

max-td
Attached Thumbnails
Click image for larger version

Name:	LB-Wicked022_2011-06-21_111750.png
Views:	373
Size:	90.7 KB
ID:	41595   Click image for larger version

Name:	LB-Wicked033_2011-06-21_111750.png
Views:	309
Size:	65.0 KB
ID:	41596  
Reply With Quote
The following 2 users say Thank You to max-td for this post:
  #46 (permalink)
 
zacharydw00's Avatar
 zacharydw00 
Idaho
 
Experience: Intermediate
Platform: NinjaTrader,ToS
Broker: Amp Futures, ToS
Trading: ES, E7, CL, GC
Posts: 149 since Aug 2009
Thanks Given: 87
Thanks Received: 180

Roger Felton, @ rogerf, brought this to my attention several weeks ago, and so I've been looking into this issue.

The short answer is it's an internal issue with how NT is distributing the incoming data to each chart.

The long answer. Bartype code is a set of logical steps that analyzes the input data. This logic is the same for each of your four charts, so the only way to get different output data is to change the input data. Therefor NT must not be delivering the same tick data to each chart. The only logical answer I know of is that incoming tick data is being dropped in some of the charts. It appears that NT is not as multi-threaded as we'd like.

The same thing happens with NT's LineBreak bartype. See pic.

max-td View Post
is it possible to fix this thing somehow so that we have synced charts if we open several charts with the same periode ?

i played a bit with it and realized that this is not the point at the moment.
i compared it to the behavior of pure tickcharts - they are in a perfect sync in different chartwindows.

Max, would you please post a link to the BarTimerLBW ind.? A lot of people have been asking for that. Thanks bud.

Milk-a-What?
Attached Thumbnails
Click image for larger version

Name:	NT LB Bartype issue-2.jpg
Views:	331
Size:	85.8 KB
ID:	41604   Click image for larger version

Name:	NT LB Bartype issue-3.jpg
Views:	334
Size:	141.6 KB
ID:	41610  
Started this thread Reply With Quote
The following user says Thank You to zacharydw00 for this post:
  #47 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

thanks for the infos zach !

hmm, maybe we can have some more input to this subject from other folks who have dealed with this issue or also from @NinjaTrader.
sometimes there is a trick available to get such things fixed

what i see is that this Bartype needs a very long time to load even if i only load it with 1 day backfill (compered to a pure tickchart wich loads very fast)
maybe this causes that some ticks get lost during the loading of the chart.

and even if its really only "some few" ticks, this would change the result of the view of the bars.

lets see what infos we can collect here.

BTW -
the BarTimer for this LB-wicked stuff can be found here :






thanks
max

max-td
Reply With Quote
The following 2 users say Thank You to max-td for this post:
  #48 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102

The problem has to do with the transition from historical bars to real-time bars. This is what I think that NinjaTrader does:

Historical bars: Starting from the begin of the current session, Ninjatrader builds bars from the ticks stored in the historical data base. Let us assume that there are 8905 ticks after the session start. If you have set your chart to 89 ticks, NinjaTrader should create 100 tick bars, which leaves 5 ticks unused. Each of those 100 historical bars now is reduced to 1 tick, the other 88 ticks are dropped from the bar series.

Hybrid bar: This is the critical bar at the transition from historical to real-time data. If everything works out correctly NinjaTrader should take the remaining 5 ticks and add 84 real-time ticks to produce the hybrid bar.

Real-time bars: Afther the hybrid bar, Ninjatrader builds real-time bars. Each of the real-time bars has 89 ticks, as opposed to the historical bars, which have only 1 tick.

The critical point is the hybrid bar. All sorts fo things go wrong here. For FOREX I occasionally have price spikes on the hybrid bar, because Ninjatrader injects old historical ticks into that bar, carrying false price information (you can see it because the spikes always point in the direction of the prior daata). I have volume spikes on that hybrid bar with most of the futures contracts, because the volume is not correctly accounted for.

So I am not astonished that the accounting for ticks does not work correctly for those bars. As you said some of the incoming ticks are either dropped or not accounted for correctly. In my example above, it would be sufficient to treat the 5 ticks of historical data as 1 tick and add 88 real-time ticks to cause the problem.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
  #49 (permalink)
 
max-td's Avatar
 max-td 
Frankfurt
 
Experience: Intermediate
Platform: NinjaTrader
Trading: FGBL 6E B4
Posts: 1,752 since Jun 2009
Thanks Given: 2,309
Thanks Received: 927

some more observations :

if i open NT and i am not connected, all charts look the same - all is ok

then after connecting :

yesterday all my charts with the this chart-style ran in snyc after opening NT in the morning.
expect of one chart wich had just 1 tick offset
i thougt the issue was gone

today after connecting :
2 charts are in exactly sync, one has 2 ticks offset and the 3 others charts are way different compared to the 2 synced ones.
(between 10 and 40 ticks offset)

i use the same templates and backfill, so its really the moment i do connect wich brings the things out of snyc.

max-td
Reply With Quote
  #50 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102



max-td View Post
some more observations :

if i open NT and i am not connected, all charts look the same - all is ok

If you don't connect, all your data is historical data and there is no real-time data, so this is expected.

Reply With Quote





Last Updated on December 25, 2019


© 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