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
NT8 Sum Indicator in Market Analyzer
Collapse
X
-
Hello eurostoxx trader,
I was able to confirm that there is a bug in NT8 Beta 10, which I believe was affecting your results. This has been fixed in Beta 11. Once Beta 11 is released, please let us know if this behavior persists by following the same procedure I will outline below for testing.
The following procedure gives me different results in a chart and in the market analyzer in NT8 Beta 10
Chart :
Select the ES 06-16 instrument
Set up the chart for 1 minute data
Add a SUM indicator
Period : 14
Input series : an SMA indicator
Period : 14
Input series : Close
Market Analyzer
Add an ES 06-16 instrument
Add an indicator column with the SUM indicator
Period : 14
Input series : SMA
Period : 14
Input series : Close
Price based on : Last
Type : Minute
Value : 1
Price based on : Last
Type : Minute
Value : 1
Just using the Close as the input series in both places, on the other hand, gave me the same values for each.
In my test using Beta 11, both scenarios gave me the same values in a chart and the market analyzer.
-
NT8 Sum Indicator in Market Analyzer
I have been using the sum indicator to call a custom built indicator (prints a 1 for every time a condition is met) and it works fine on a single security in a chart window
however when I use the SUM indicator in the Market Analyzer (MA) window, it only calls the sum of the Close, as far as I can tell, not the SUM of my indicator, for which I set the properties to.
Does it have something to do with the SUM indicator properties for the MA columns? Can I change something here (or make a SUM_new indicator ) so that it works. I tried re jigging my custom indicator to sum up all the times the condition occured but I need to add another data series and my code is all bonkers
Code:namespace NinjaTrader.NinjaScript.MarketAnalyzerColumns { public partial class MarketAnalyzerColumn : MarketAnalyzerColumnBase { public Indicators.FiftyTwoWeek FiftyTwoWeek(bool use52Week, int altBarNunmber) { return indicator.FiftyTwoWeek(Input, use52Week, altBarNunmber); } public Indicators.FiftyTwoWeek FiftyTwoWeek(ISeries<double> input , bool use52Week, int altBarNunmber) { return indicator.FiftyTwoWeek(input, use52Week, altBarNunmber); } } }
Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Pattontje, Yesterday, 02:10 PM
|
2 responses
15 views
0 likes
|
Last Post
by Pattontje
Yesterday, 11:49 PM
|
||
Started by flybuzz, 04-21-2024, 04:07 PM
|
17 responses
229 views
0 likes
|
Last Post
by TradingLoss
Yesterday, 11:45 PM
|
||
Started by agclub, 04-21-2024, 08:57 PM
|
3 responses
17 views
0 likes
|
Last Post
by TradingLoss
Yesterday, 11:42 PM
|
||
Started by TradingLoss, 04-21-2024, 04:32 PM
|
4 responses
44 views
2 likes
|
Last Post
by TradingLoss
Yesterday, 11:40 PM
|
||
Started by cre8able, 04-17-2024, 04:16 PM
|
6 responses
56 views
0 likes
|
Last Post
by cre8able
Yesterday, 09:20 PM
|
Leave a comment: