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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
581 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
337 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
554 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
552 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment