Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stock sorter

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

    Stock sorter

    I am using the Market Analyzer as a stock sorter. (No charts).

    I want to show a 12 day daily indicator in a column. I seem to be able to only access back 6 daily bars. ?

    I am using DTN IQ Feed, column is set daily, type = day, Value = 1, # bars look back 50

    MA settings, # bars back 50, session template US Equities RTH

    #2
    Hi occam,

    Thank you for your post.

    To view a 12 day bar indicator you will want to modify the Indicator Column Data Series to have a value of 12 versus the 1 that you specified.

    Your other Indicator settings should be fine in terms of gathering expected data.
    Ryan O.NinjaTrader Customer Service

    Comment


      #3
      Hmmmm ....
      That seems to make no difference. I still only see five days. I know this can be done. What am I missing?

      Comment


        #4
        Hi occam,

        Can you please attach your Market Analyzer template to this thread. Your template can be found in the My Documents-->NinjaTrader7-->Templates-->Market Analyzer.

        Additionally, can you please clarify the precise indicator your adding, and if you want the period calculator to be one bar that represents 12 days worth of data.
        Ryan O.NinjaTrader Customer Service

        Comment


          #5
          - <NinjaTrader>
          <Version>7.0.0.22</Version>

          <AlertsEnabled>True</AlertsEnabled>

          <AlwaysOnTop>False</AlwaysOnTop>

          <AutoSortEnabled>False</AutoSortEnabled>

          <AutoSortSeconds>30</AutoSortSeconds>

          <BackColor>n:White</BackColor>

          <BarsBack>50</BarsBack>

          <Font>Microsoft Sans Serif:8.25:False:False:False:False</Font>

          <ForeColor>n:Black</ForeColor>

          <GridLineColor>n:Silver</GridLineColor>

          <LabelAlignment>Left</LabelAlignment>

          <LabelBackColor>n:White</LabelBackColor>

          <LabelForeColor>n:Black</LabelForeColor>

          <HighLightBackColor>n:Yellow</HighLightBackColor>

          <HighLightForeColor>n:Black</HighLightForeColor>

          <HighLightSeconds>1</HighLightSeconds>

          <RowFilterEnabled>False</RowFilterEnabled>

          <SessionData><Use instrument settings></SessionData>

          <TotalRowBackColor>n:WhiteSmoke</TotalRowBackColor>

          <TotalRowEnabled>False</TotalRowEnabled>

          - <Instruments>
          - <Row>
          <Column>MSFT Default</Column>

          </Row>


          - <Row>
          <Column>BLANK</Column>

          </Row>


          - <Row>
          <Column>BLANK</Column>

          </Row>


          - <Row>
          <Column>BLANK</Column>

          </Row>


          - <Row>
          <Column>BLANK</Column>

          </Row>


          - <Row>
          <Column>BLANK</Column>

          </Row>


          - <Row>
          <Column>BLANK</Column>

          </Row>


          - <Row>
          <Column>BLANK</Column>

          </Row>


          - <Row>
          <Column>BLANK</Column>

          </Row>


          </Instruments>


          <Labels />

          - <Columns>
          - <Column0>
          <ClassName>NinjaTrader.MarketAnalyzer.Instrument </ClassName>

          <Width>213</Width>

          - <Column>
          - <Instrument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
          <AlertConditions />

          <AltBarColorSerialize>n:Red</AltBarColorSerialize>

          <BackColorSerialize>x:0</BackColorSerialize>

          <BarColorSerialize>n:Lime</BarColorSerialize>

          <BarGraphGrowthType>Center</BarGraphGrowthType>

          <BarGraphGrowthMaxValue>1000</BarGraphGrowthMaxValue>

          <BarGraphReferenceValue>0</BarGraphReferenceValue>

          <CalculateOnBarClose>false</CalculateOnBarClose>

          <CalculateOnBarCloseConfigurable>true</CalculateOnBarCloseConfigurable>

          <CellConditions />

          <ColumnType>Regular</ColumnType>

          <DataSeriesConfigurable>false</DataSeriesConfigurable>

          <DataTypeSerializable>string</DataTypeSerializable>

          <FilterConditions />

          <ForeColorSerialize>x:0</ForeColorSerialize>

          <FormatDecimals>2</FormatDecimals>

          <MaximumBarsLookBack>TwoHundredFiftySix</MaximumBarsLookBack>

          <Name>Instrument</Name>

          - <Period>
          <BasePeriodType>Minute</BasePeriodType>

          <BasePeriodValue>1</BasePeriodValue>

          <Id>Minute</Id>

          <MarketDataType>Last</MarketDataType>

          <PointAndFigurePriceType>Close</PointAndFigurePriceType>

          <ReversalType>Tick</ReversalType>

          <Value>1</Value>

          <Value2>1</Value2>

          </Period>


          <PriceType>Close</PriceType>

          <RequiresBars>true</RequiresBars>

          <ShowInTotalRow>false</ShowInTotalRow>

          </Instrument>


          </Column>


          </Column0>


          - <Column1>
          <ClassName>NinjaTrader.MarketAnalyzer.LastPrice</ClassName>

          <Width>213</Width>

          - <Column>
          - <LastPrice xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
          <AlertConditions />

          <AltBarColorSerialize>n:Red</AltBarColorSerialize>

          <BackColorSerialize>x:0</BackColorSerialize>

          <BarColorSerialize>n:Lime</BarColorSerialize>

          <BarGraphGrowthType>Center</BarGraphGrowthType>

          <BarGraphGrowthMaxValue>1000</BarGraphGrowthMaxValue>

          <BarGraphReferenceValue>0</BarGraphReferenceValue>

          <CalculateOnBarClose>false</CalculateOnBarClose>

          <CalculateOnBarCloseConfigurable>true</CalculateOnBarCloseConfigurable>

          <CellConditions />

          <ColumnType>Regular</ColumnType>

          <DataSeriesConfigurable>false</DataSeriesConfigurable>

          <DataTypeSerializable>double</DataTypeSerializable>

          <FilterConditions />

          <ForeColorSerialize>x:0</ForeColorSerialize>

          <FormatDecimals>2</FormatDecimals>

          <MaximumBarsLookBack>TwoHundredFiftySix</MaximumBarsLookBack>

          <Name>LastPrice</Name>

          - <Period>
          <BasePeriodType>Minute</BasePeriodType>

          <BasePeriodValue>1</BasePeriodValue>

          <Id>Minute</Id>

          <MarketDataType>Last</MarketDataType>

          <PointAndFigurePriceType>Close</PointAndFigurePriceType>

          <ReversalType>Tick</ReversalType>

          <Value>1</Value>

          <Value2>1</Value2>

          </Period>


          <PriceType>Close</PriceType>

          <RequiresBars>true</RequiresBars>

          <ShowInTotalRow>false</ShowInTotalRow>

          </LastPrice>


          </Column>


          </Column1>


          - <Column2>

          Comment


            #6
            - <Column2>
            <ClassName>NinjaTrader.MarketAnalyzer.Opening</ClassName>

            <Width>213</Width>

            - <Column>
            - <Opening xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <AlertConditions />

            <AltBarColorSerialize>n:Red</AltBarColorSerialize>

            <BackColorSerialize>x:0</BackColorSerialize>

            <BarColorSerialize>n:Lime</BarColorSerialize>

            <BarGraphGrowthType>Center</BarGraphGrowthType>

            <BarGraphGrowthMaxValue>1000</BarGraphGrowthMaxValue>

            <BarGraphReferenceValue>0</BarGraphReferenceValue>

            <CalculateOnBarClose>false</CalculateOnBarClose>

            <CalculateOnBarCloseConfigurable>true</CalculateOnBarCloseConfigurable>

            <CellConditions />

            <ColumnType>Regular</ColumnType>

            <DataSeriesConfigurable>false</DataSeriesConfigurable>

            <DataTypeSerializable>double</DataTypeSerializable>

            <FilterConditions />

            <ForeColorSerialize>x:0</ForeColorSerialize>

            <FormatDecimals>2</FormatDecimals>

            <MaximumBarsLookBack>TwoHundredFiftySix</MaximumBarsLookBack>

            <Name>Opening</Name>

            - <Period>
            <BasePeriodType>Minute</BasePeriodType>

            <BasePeriodValue>1</BasePeriodValue>

            <Id>Minute</Id>

            <MarketDataType>Last</MarketDataType>

            <PointAndFigurePriceType>Close</PointAndFigurePriceType>

            <ReversalType>Tick</ReversalType>

            <Value>1</Value>

            <Value2>1</Value2>

            </Period>


            <PriceType>Close</PriceType>

            <RequiresBars>true</RequiresBars>

            <ShowInTotalRow>false</ShowInTotalRow>

            </Opening>


            </Column>


            </Column2>


            - <Column3>
            <ClassName>NinjaTrader.MarketAnalyzer.IndicatorCol umn</ClassName>

            <Width>215</Width>

            - <Column>
            - <IndicatorColumn xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <AlertConditions />

            <AltBarColorSerialize>n:Red</AltBarColorSerialize>

            <BackColorSerialize>x:0</BackColorSerialize>

            <BarColorSerialize>n:Lime</BarColorSerialize>

            <BarGraphGrowthType>Center</BarGraphGrowthType>

            <BarGraphGrowthMaxValue>1000</BarGraphGrowthMaxValue>

            <BarGraphReferenceValue>0</BarGraphReferenceValue>

            <CalculateOnBarClose>false</CalculateOnBarClose>

            <CalculateOnBarCloseConfigurable>true</CalculateOnBarCloseConfigurable>

            <CellConditions />

            <ColumnType>Regular</ColumnType>

            <DataSeriesConfigurable>true</DataSeriesConfigurable>

            <DataTypeSerializable>double</DataTypeSerializable>

            <FilterConditions />

            <ForeColorSerialize>x:0</ForeColorSerialize>

            <FormatDecimals>2</FormatDecimals>

            <MaximumBarsLookBack>TwoHundredFiftySix</MaximumBarsLookBack>

            <Name>A001</Name>

            - <Period>
            <BasePeriodType>Minute</BasePeriodType>

            <BasePeriodValue>1</BasePeriodValue>

            <Id>Day</Id>

            <MarketDataType>Last</MarketDataType>

            <PointAndFigurePriceType>Close</PointAndFigurePriceType>

            <ReversalType>Tick</ReversalType>

            <Value>10</Value>

            <Value2>1</Value2>

            </Period>


            <PriceType>Close</PriceType>

            <RequiresBars>true</RequiresBars>

            <ShowInTotalRow>false</ShowInTotalRow>

            <BarsBack>50</BarsBack>

            <DataSeriesName>A</DataSeriesName>

            </IndicatorColumn>


            </Column>


            <IndicatorClassName>NinjaTrader.Indicator.A001</IndicatorClassName>

            - <IndicatorInput>
            <PriceType>Close</PriceType>

            </IndicatorInput>


            <IndicatorColumnName>A001</IndicatorColumnName>

            <IndicatorDataSeriesName>A</IndicatorDataSeriesName>

            - <Indicator>
            - <A001 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <AllowRemovalOfDrawObjects>false</AllowRemovalOfDrawObjects>

            <AutoScale>true</AutoScale>

            - <BarsPeriods>
            - <Period>
            <BasePeriodType>Minute</BasePeriodType>

            <BasePeriodValue>1</BasePeriodValue>

            <Id>Day</Id>

            <MarketDataType>Last</MarketDataType>

            <PointAndFigurePriceType>Close</PointAndFigurePriceType>

            <ReversalType>Tick</ReversalType>

            <Value>10</Value>

            <Value2>1</Value2>

            </Period>


            </BarsPeriods>


            <CalculateOnBarClose>false</CalculateOnBarClose>

            <DisableScaleBuffer>false</DisableScaleBuffer>

            <Displacement>0</Displacement>

            <DisplayInDataBox>true</DisplayInDataBox>

            <DrawOnPricePanel>true</DrawOnPricePanel>

            <ForceMaximumBarsLookBack256>false</ForceMaximumBarsLookBack256>

            <HorizontalGridLines>true</HorizontalGridLines>

            <InstrumentsSerializable />

            <Lines />

            <LinesConfigurable>true</LinesConfigurable>

            <MaximumBarsLookBack>TwoHundredFiftySix</MaximumBarsLookBack>

            <Name>A001</Name>

            <Overlay>false</Overlay>

            <PaintPriceMarkers>true</PaintPriceMarkers>

            <Panel>0</Panel>

            <PanelUI>1</PanelUI>

            - <Plots>
            - <Plot>
            <Max>1.7976931348623157E+308</Max>

            <Min>-1.7976931348623157E+308</Min>

            <Name>A</Name>

            - <PenSerializable>
            <Color>n:Orange</Color>

            <DashStyle>Solid</DashStyle>

            <Width>1</Width>

            </PenSerializable>


            <PlotStyle>Line</PlotStyle>

            </Plot>


            </Plots>


            <PlotsConfigurable>true</PlotsConfigurable>

            <ScaleJustification>Right</ScaleJustification>

            <SelectedSeries>0</SelectedSeries>

            <SessionBreakLines>true</SessionBreakLines>

            <VerticalGridLines>true</VerticalGridLines>

            <ZOrder>0</ZOrder>

            </A001>


            </Indicator>


            </Column3>


            </Columns>


            </NinjaTrader>

            Comment


              #7
              Currently in the Market Analyzer Opening for MSFT is 0.

              Comment


                #8
                Hi occam,

                Unfortunately, the Market Analyzer templates did not come through. Can you please send an email to support[at]ninjatrader[dot]com and attach the files to that email.

                Please specify this forum thread, and put ATTN Ryan O in the subject. With that information I will be able to further test this issue.
                Ryan O.NinjaTrader Customer Service

                Comment


                  #9
                  Hi,

                  Made some progress since. New question, I am running a daily indicator, how do I get the current session open? Open[0] gives me yesterday's open.

                  Comment


                    #10
                    Hi occam,


                    Can you please try adding the Opening column, and then right clicking and selecting Properties and setting your Market Analyzer template to the Regular Trading Hours template for the stocks in your list. This would be the US Equities RTH template.
                    Ryan O.NinjaTrader Customer Service

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by NullPointStrategies, Today, 05:17 AM
                    0 responses
                    52 views
                    0 likes
                    Last Post NullPointStrategies  
                    Started by argusthome, 03-08-2026, 10:06 AM
                    0 responses
                    130 views
                    0 likes
                    Last Post argusthome  
                    Started by NabilKhattabi, 03-06-2026, 11:18 AM
                    0 responses
                    70 views
                    0 likes
                    Last Post NabilKhattabi  
                    Started by Deep42, 03-06-2026, 12:28 AM
                    0 responses
                    44 views
                    0 likes
                    Last Post Deep42
                    by Deep42
                     
                    Started by TheRealMorford, 03-05-2026, 06:15 PM
                    0 responses
                    48 views
                    0 likes
                    Last Post TheRealMorford  
                    Working...
                    X