• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 Sum Indicator in Market Analyzer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • NinjaTrader_JessicaP
    replied
    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.

    Leave a comment:


  • eurostoxx trader
    started a topic NT8 Sum Indicator in 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);
    		}
    	}
    }

Latest Posts

Collapse

Topics Statistics Last Post
Started by jcbnoles, Today, 12:18 PM
0 responses
1 view
0 likes
Last Post jcbnoles  
Started by stafe, Today, 11:57 AM
1 response
2 views
0 likes
Last Post NinjaTrader_Jim  
Started by tvaughan4, Today, 11:01 AM
3 responses
9 views
0 likes
Last Post tvaughan4  
Started by Branpo, Today, 10:51 AM
3 responses
13 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by fourpeaks99, Today, 10:51 AM
2 responses
7 views
0 likes
Last Post fourpeaks99  
Working...
X