• 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

    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);
    		}
    	}
    }

    #2
    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.
    Jessica P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Sh00tHerMcGavin, Today, 07:39 PM
    0 responses
    3 views
    0 likes
    Last Post Sh00tHerMcGavin  
    Started by Mberg, Today, 05:13 PM
    0 responses
    1 view
    0 likes
    Last Post Mberg
    by Mberg
     
    Started by Barry Milan, Today, 01:33 PM
    2 responses
    10 views
    0 likes
    Last Post marcus2300  
    Started by NW Trader, Today, 03:42 PM
    2 responses
    8 views
    0 likes
    Last Post NW Trader  
    Started by ralett, Today, 01:42 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Working...
    X