Do you put all indicators in one big project? Or is it possible to move indicators into subfolders inside the Indicator folder and still have Ninjatrader read them properly?
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Indicator Development: Version control setup?
Collapse
X
-
Indicator Development: Version control setup?
I'd like to use version control while developing indicators. Typically when I've used version control in other development work I have a folder for the project and the source control system (svn/subversion, git, mercurial) places a hidden folder in my project folder. My question is since all the indicators are in a single folder (C:\Users\username\Documents\NinjaTrader 7\bin\Custom\Indicator) how do you handle the configuration of your source control?
Do you put all indicators in one big project? Or is it possible to move indicators into subfolders inside the Indicator folder and still have Ninjatrader read them properly? -
The current supported method for this would be to either create copies of your script (right click it in the editor -> save as) or to manually save the file to an external location that you could then re-add if needed.
I will submit your request for version control features to development.
Please let me know if I can be of further assistance.LanceNinjaTrader Customer Service
-
Originally posted by overflowing View PostI'd like to use version control while developing indicators. Typically when I've used version control in other development work I have a folder for the project and the source control system (svn/subversion, git, mercurial) places a hidden folder in my project folder. My question is since all the indicators are in a single folder (C:\Users\username\Documents\NinjaTrader 7\bin\Custom\Indicator) how do you handle the configuration of your source control?
Do you put all indicators in one big project? Or is it possible to move indicators into subfolders inside the Indicator folder and still have Ninjatrader read them properly?
Comment
-
Your version control system should be completely separate from your NT installation. You check out files, and use them in NT. Check them back in if you either edit them, or decide that they have passed muster.
The only way I can see to work around this is to create a repository in the Ninjatrader Indicator folder and check in all indicators into a single repository. I guess I will try this. Hoping to hear from someone using version control and how they have it setup.
Copying files in and out of the Indicator folder is not a desirable solution because it's tedious.
Comment
-
Originally posted by overflowing View PostCorrect it is independent and I'm not asking for any kind of integration into Ninjatrader. My issue (or at least it seems to be an issue, hoping for guidance from someone who is using version control in their indicator/strategy development) is that if I want to have each indicator as it's own project/repository the expectation from version control software's point of view is that the indicator would be in it's own folder (This is true for SVN, git, and mercurial)
The only way I can see to work around this is to create a repository in the Ninjatrader Indicator folder and check in all indicators into a single repository. I guess I will try this. Hoping to hear from someone using version control and how they have it setup.
Copying files in and out of the Indicator folder is not a desirable solution because it's tedious.
If you want to use a different folder structure instead of mirroring that which NT uses, you are certainly free to do so, but you cannot expect the product to function with your special folder structure, so you are going to have to check in and check out files for use in the standard folder structure. I doubt that there is any way around that.Last edited by koganam; 04-17-2013, 08:38 PM.
Comment
-
I'll try just going with the single repository for the entire indicator folder. In some sense it will make things simpler. The downside is that the change history from all indicators will me intermingled but probably not that big of a deal. Will find out.
What is the purpose of the NinjaTrader.Custom.cs file?Last edited by overflowing; 04-17-2013, 08:38 PM.
Comment
-
Originally posted by overflowing View PostI'll try just going with the single repository for the entire indicator folder. In some sense it will make things simpler. The downside is that the change history from all indicators will me intermingled but probably not that big of a deal. Will find out.
What is the purpose of the NinjaTrader.Custom.cs file?
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by johnMoss, 03-04-2024, 01:53 PM
|
3 responses
46 views
0 likes
|
Last Post
by AndyM
Today, 06:13 PM
|
||
Started by algospoke, Today, 06:01 PM
|
0 responses
6 views
0 likes
|
Last Post
by algospoke
Today, 06:01 PM
|
||
Started by cre8able, Today, 05:53 PM
|
0 responses
8 views
0 likes
|
Last Post
by cre8able
Today, 05:53 PM
|
||
Started by Wessel, 03-23-2024, 02:37 PM
|
3 responses
23 views
0 likes
|
Last Post Today, 04:58 PM | ||
Started by martini, Yesterday, 04:45 PM
|
4 responses
32 views
0 likes
|
Last Post
by martini
Today, 04:48 PM
|
Comment