Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
3rd Party Bar Type Changes
Collapse
X
-
Is this for NT7 or NT8?
What do you mean by 'eliminate' ?
I presume you mean you wish to uninstall one or more custom bar types.
OK, well, do you remember how you first installed it?
Installation of a new BarTypes is done in one of several ways, so you'll need
to remove it correctly, which depends how it was first installed ...
Many commercial vendors have instructions on how to uninstall their products,
perhaps even offering an 'uninstall' utility. Is this a commercial product you
wish to uninstall? If so, I suggest you follow the vendor's steps to uninstall
their product.
Otherwise,
If you installed a "zip" file via Import then you would remove it via,
File -> Utilities -> Remove NinjaScript Assembly
Finally,
If you installed via source code, you need to remove the file from
the "NinjaTrader 7/bin/Custom/Type" folder and recompile.
In either case, you should then exit and restart NinjaTrader.
Also before you remove it, you should make sure all charts in all workspaces
no longer use the BarType you're about to remove.
Oh, and make a backup before you do any of this -- just in case.
-
Hi, srbdoc thanks for your question.
Edit:
My original response is for NinjaTrader 8, where custom bar types are supported. Unfortunately, they were never supported in NinjaTrader 7. In NinjaTrader 7, bars types are held in the Documents\NinjaTrader 7\bin\Custom\Type folder. You can remove it from there if you want the custom bar types uninstalled.
Those who make their own bar type must cast an integer to the BarsPeriodType. There are already 14 default bar types, so developers need to use numbers 15 to Int.MaxValue. Most developers use a high number to stay far away from the 14 default bar types (in case NinjaTrader adds more bartypes later.)
In a BarsType script you will see the definition like so :
BarsPeriod = new BarsPeriod { BarsPeriodType = (BarsPeriodType)123456, BarsPeriodTypeName = "MyCustomBars", Value = 1 };
So to change the slot they use, edit the number. 123456 in this example.
Please let me know if I can assist any further.Last edited by NinjaTrader_ChrisL; 07-22-2020, 02:52 PM.Chris L.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by geddyisodin, Today, 05:20 AM
|
5 responses
32 views
0 likes
|
Last Post Today, 11:39 AM | ||
Started by bmartz, Today, 09:30 AM
|
2 responses
12 views
0 likes
|
Last Post
by bltdavid
Today, 11:24 AM
|
||
Started by f.saeidi, Today, 11:02 AM
|
1 response
4 views
0 likes
|
Last Post Today, 11:08 AM | ||
Started by geotrades1, Today, 10:02 AM
|
4 responses
12 views
0 likes
|
Last Post
by geotrades1
Today, 11:08 AM
|
||
Started by rajendrasubedi2023, Today, 09:50 AM
|
3 responses
16 views
0 likes
|
Last Post Today, 10:57 AM |
Comment