Also, is there a command like the "go to reference" in Visual Studio for Ninja script editor? I.e so I can right click on an indicator and go to the declarations.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How are indicators references
Collapse
X
-
How are indicators references
I am trying to understand how indicators like SMA or EMA are referenced. Do they exist in a certain namespace or DLL or is the ability to access these indicators a result of "ninja editor" wizardry? I am building some projects in Visual Studio and am unable to access the indicator/series like SMA or EMA.
Also, is there a command like the "go to reference" in Visual Studio for Ninja script editor? I.e so I can right click on an indicator and go to the declarations.Tags: None
-
Check out the #region section for declarations
#region Using declarations
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Xml.Serialization;
using NinjaTrader.Cbi;
using NinjaTrader.Data;
using NinjaTrader.Indicator;
using NinjaTrader.Gui.Chart;
using NinjaTrader.Strategy;
#endregion
-
Yes but the indicators SMA/EMA etc aren't to be found there. This is some sort of magic.. trickery they are using, I believe.
They are somehow pulling in all the indicators into the Indicator namespace but they aren't generally accessible...
I am trying to access these from Visual Studio. Importing those namespaces does not import the indicators. There may be a DLL that I can import. I'm not sure of the soundness of this though.
I am guessing this DLL gets rebuilt custom for each users machine during the indicator build process.
Originally posted by sledge View PostCheck out the #region section for declarations
#region Using declarations
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Xml.Serialization;
using NinjaTrader.Cbi;
using NinjaTrader.Data;
using NinjaTrader.Indicator;
using NinjaTrader.Gui.Chart;
using NinjaTrader.Strategy;
#endregionLast edited by light65536; 07-22-2012, 06:17 PM.
Comment
-
You might search on debugging in Visual Studio...
This thread, they are building dll's in VS to use in NT.. I don't think they are calling any functions in NT.. but you could check it out
Originally posted by light65536 View PostYes but the indicators SMA/EMA etc aren't to be found there. This is some sort of magic.. trickery they are using, I believe.
They are somehow pulling in all the indicators into the Indicator namespace but they aren't generally accessible...
I am trying to access these from Visual Studio. Importing those namespaces does not import the indicators. There may be a DLL that I can import. I'm not sure of the soundness of this though.
I am guessing this DLL gets rebuilt custom for each users machine during the indicator build process.
Comment
-
I found the post
looks like you can in debug mode,
Originally posted by light65536 View PostYes but the indicators SMA/EMA etc aren't to be found there. This is some sort of magic.. trickery they are using, I believe.
They are somehow pulling in all the indicators into the Indicator namespace but they aren't generally accessible...
I am trying to access these from Visual Studio. Importing those namespaces does not import the indicators. There may be a DLL that I can import. I'm not sure of the soundness of this though.
I am guessing this DLL gets rebuilt custom for each users machine during the indicator build process.
Comment
-
You need to add the correct references to the correct dlls.Originally posted by light65536 View PostYes but the indicators SMA/EMA etc aren't to be found there. This is some sort of magic.. trickery they are using, I believe.
They are somehow pulling in all the indicators into the Indicator namespace but they aren't generally accessible...
I am trying to access these from Visual Studio. Importing those namespaces does not import the indicators. There may be a DLL that I can import. I'm not sure of the soundness of this though.
I am guessing this DLL gets rebuilt custom for each users machine during the indicator build process.
ref: http://www.ninjatrader.com/support/f...ad.php?t=18313Last edited by koganam; 07-23-2012, 05:57 AM.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
81 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
42 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
64 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
66 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
54 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment