Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Using custom C# classes problem
Collapse
X
-
but NT supports and encourages custom indicators, right?
there must be some tutorial or information on how to make custom indicators using external code
i know there must be some policy at NT which limits scope of questions...but it seems you know the answers and it has actually taken more posts and more time to discourage me than to provide me with an answer
Comment
-
clam61,
I do not know the answer and this is indeed outside the scope of what we can support. We support custom indicators and strategies within the context of NinjaScript. When you try to extend the concept to external DLLs and other things you are going into a completely different realm. Since NinjaTrader is C#, you are able to achieve these functionalities, but we unfortunately cannot provide much guidance. We have already provided you all the information we can.Josh P.NinjaTrader Customer Service
Comment
-
http://www.ninjatrader-support.com/H...tml?Overview45 Please also see the samples available in that section of the Help Guide.Josh P.NinjaTrader Customer Service
Comment
-
-
All,
I thought I would add to this post to hopefully help others.
Firstly, very disappointed in NT (NinjaTrader) support here. I would have hoped for better support to the development community who are one of NT’s greatest resources.
Secondly, just been playing with this for a little while. I’ve finally managed to get this to work by deploying the DLL in (Vista) - $user\Documents\NinjaTrader 6.5\bin\Custom. Please note though, a restart was required. I don’t know if it is just NT that requires a restart, or your machine. I got lucky and restarted my machine for another reason.
As a reference I did some research on the GAC referred here in previous posts – see here: http://msdn.microsoft.com/en-us/library/ex0ss12c(VS.80).aspx
If you have to go down the GAC route and your running Visa watch out for the strong name – I suspect this is some sort of security requirement for .Net or Vista. Perhaps someone with more expertise might be willing to comment.
Kind regards,
Dan
Comment
-
Dan,
Please understand that there is no way we can support all aspects of C#. You are working with advanced programming concepts and this is outside the scope of what we can offer support for. We can only offer assistance on NinjaScript methods and properties. Thank you for understanding.Josh P.NinjaTrader Customer Service
Comment
-
my custom assemblies have to sit in the
C:\program files\ninjatrader6.5\bin
directory
One exemption is a custom assembly that is first called only in OnBarUpdate(). This can be in c:\users\Andreas\Documents\NinjaTrader\bin\Custom
The other assemblies get called earlier, e.g. Initialize() or earlier again in some Property setter or getter.
Probably for this reason they have to sit in the NT bin installation directory.
Would appreciate an update of NT as this behaviour is easily to improve
Best regards
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
596 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
343 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
556 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
554 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment