NexusFi: Find Your Edge


Home Menu

 





NT7 Q. is it possible to remove a bar type like


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one XxBrianxX with 3 posts (0 thanks)
    2. looks_two trendisyourfriend with 3 posts (1 thanks)
    3. looks_3 RJay with 2 posts (0 thanks)
    4. looks_4 tarantino with 2 posts (4 thanks)
      Best Posters
    1. looks_one tarantino with 2 thanks per post
    2. looks_two Daytrader999 with 2 thanks per post
    3. looks_3 SatchFan with 1 thanks per post
    4. looks_4 trendisyourfriend with 0.3 thanks per post
    1. trending_up 7,175 views
    2. thumb_up 8 thanks given
    3. group 6 followers
    1. forum 13 posts
    2. attach_file 0 attachments




 
Search this Thread

NT7 Q. is it possible to remove a bar type like

  #1 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,171
Thanks Received: 6,018

I have installed NT7 this week and trying different things. I have installed four bar types in this order:

WickedRenkoBarsType_NT7.zip
BetterRenkoBarsTypeV1.zip (and his brother BetterBrickStyleV2.zip)
SbSRenko_NT7.zip
NoGapRangeBars_NT7.zip

Presently, i see all of them but the NoGapRangeBars_NT7.zip which is the one i am most interested. It is invisible. Is it possible that some conflicts exist between them ? What would be the best approach to solve this problem ? Is it better to completly uninstall NT7 and begin all over again or can i remove a bar type from my setup ? For example, say i'd like to remove WickedRenkoBarsType what should i remove exactly ? Are Windows registry entries affected when we install a new bar type ?

Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
Deepmoney LLM
Elite Quantitative GenAI/LLM
ZombieSqueeze
Platforms and Indicators
Are there any eval firms that allow you to sink to your …
Traders Hideout
 

  #3 (permalink)
tarantino
Willowbrook, IL
 
Posts: 32 since Sep 2010
Thanks Given: 71
Thanks Received: 39



trendisyourfriend View Post
I have installed NT7 this week and trying different things. I have installed four bar types in this order:

WickedRenkoBarsType_NT7.zip
BetterRenkoBarsTypeV1.zip (and his brother BetterBrickStyleV2.zip)
SbSRenko_NT7.zip
NoGapRangeBars_NT7.zip

Presently, i see all of them but the NoGapRangeBars_NT7.zip which is the one i am most interested. It is invisible. Is it possible that some conflicts exist between them ? What would be the best approach to solve this problem ? Is it better to completly uninstall NT7 and begin all over again or can i remove a bar type from my setup ? For example, say i'd like to remove WickedRenkoBarsType what should i remove exactly ? Are Windows registry entries affected when we install a new bar type ?

Windows registry is not affected.

All bars are constructed passing some kind of periodtype to base class constructor.

There are 15 PeriodTypes available for custom bar types.
Final0 thru Final4 and Custom0 thru Custom9

You have to make sure that there are no duplicate PeriodTypes in your custom bartypes.

Open your custom bar type file in any text editor and look for a constructor such as:

public SbSRenkoBarsType() : base(PeriodType.Custom6)
{
}

make sure that all custom bars are using different periodTypes in base();

Then recompile any indicator and restart NT. You should be fine.

To remove a bar type - remove that file and rcompile and restart.
 

Reply With Quote
  #4 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,171
Thanks Received: 6,018

Thanks Tarantino,

Here is what i found in the set of indicators mentioned in the first post:

***NoGapRangeBars.cs
public NoGapRangeBarsType() : base(PeriodType.Final2) {}

*** WickedRenkoBarsType.cs
public WickedRenkoBarsType() : base(PeriodType.Final2) {}

Now that i found the culprit. What ID should i use to avoid any further conflicts with future install. I can't believe Ninja left this thing to the end user to figure out.

Started this thread Reply With Quote
  #5 (permalink)
tarantino
Willowbrook, IL
 
Posts: 32 since Sep 2010
Thanks Given: 71
Thanks Received: 39


trendisyourfriend View Post
Thanks Tarantino,

I can't believe Ninja left this thing to the end user to figure out.

I am afraid this is the case...

Reply With Quote
  #6 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,171
Thanks Received: 6,018


tarantino View Post
I am afraid this is the case...

Well don't worry, i have cured the problem. Thanks again.

Started this thread Reply With Quote
  #7 (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


trendisyourfriend View Post
Thanks Tarantino,

Here is what i found in the set of indicators mentioned in the first post:

***NoGapRangeBars.cs
public NoGapRangeBarsType() : base(PeriodType.Final2) {}

*** WickedRenkoBarsType.cs
public WickedRenkoBarsType() : base(PeriodType.Final2) {}

Now that i found the culprit. What ID should i use to avoid any further conflicts with future install. I can't believe Ninja left this thing to the end user to figure out.

trendisyourfriend,

NoGapRange was posted here the first week that this forum was started. WickedRenko is a more recent addition.

Sadly, that contributor used the same PeriodType.

Because WickedRenko always loads first, NoGapRange always gets the short end of the stick.

As the creator of NoGapRange, I guess I'll have to update my program to remove the conflict.

RJay

Reply With Quote
  #8 (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

I changed RangeNoGap chart Period.Type to resolve conflict.

RangeNoGap's new id is Custom2.

Updated zip file with new id has been uploaded to futures.io (formerly BMT) 's Misc version 7download area.

Went fishing for every custom bar type in NT7 I could find.

I found a second conflict. Authors need to resolve!!!!

Here's the results.

----------------------------------------------------------
WickedRenko Period.Type = Final 2

KaseBars Period.Type = Final 3

PriceChange Period.Type = Final 3

MedianRenko Period.Type = Custom 0

RangeNoGap Period.Type = Custom 2

BetterRenko Period.Type = Custom 4

SBSRenko Period.Type = Custom 6

---------------------------------------------------------

Reply With Quote
  #9 (permalink)
 
XxBrianxX's Avatar
 XxBrianxX 
Ocean City, New Jersey/United States
 
Experience: Advanced
Platform: NT8
Broker: NiNjA
Trading: Options
Posts: 84 since Sep 2013
Thanks Given: 37
Thanks Received: 52


tarantino View Post
Windows registry is not affected.

All bars are constructed passing some kind of periodtype to base class constructor.

There are 15 PeriodTypes available for custom bar types.
Final0 thru Final4 and Custom0 thru Custom9

You have to make sure that there are no duplicate PeriodTypes in your custom bartypes.

Open your custom bar type file in any text editor and look for a constructor such as:

public SbSRenkoBarsType() : base(PeriodType.Custom6)
{
}

make sure that all custom bars are using different periodTypes in base();

Then recompile any indicator and restart NT. You should be fine.

To remove a bar type - remove that file and rcompile and restart.
 


Where is the custom file located? or do you mean the script? I have the same issue going on too many bar types need to be able to manage them add/delete etc...

Follow me on Twitter Reply With Quote
  #10 (permalink)
 
Daytrader999's Avatar
 Daytrader999 
Ilsede, Germany
Site Moderator
 
Experience: Advanced
Platform: NinjaTrader 8
Broker: Rithmic / CQG / Ninja Trader Brokerage
Trading: NQ
Posts: 1,525 since Sep 2011
Thanks Given: 2,067
Thanks Received: 2,316



XxBrianxX View Post
Where is the custom file located? or do you mean the script? I have the same issue going on too many bar types need to be able to manage them add/delete etc...

Usually you can find this folder here:

C:\Users\...\Documents\NinjaTrader 7\bin\Custom\Type

Hope this helps.

"If you don't design your own life plan, chances are you'll fall into someone else's plan. And guess what they have planned for you? Not much." - Jim Rohn
Reply With Quote
Thanked by:





Last Updated on March 12, 2016


© 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