Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

About OHLC and OHL indicator alerts

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

    #31
    Hello ラリー,

    You are not plotting a value from OnBarUpdate. You can see an example of how to plot a value by reading the help guide documentation for AddPlot: There are multiple samples on that page of how to plot a value from OnBarUpdate.



    Comment


      #32
      Hello ラリー,

      There are 3 parts to a plot.

      1. Add the plot series object with AddPlot().
      2. Set the Value[0] for the plot on each bar in OnBarUpdate()
      3. Return a public Series<double> so this can be access from another script

      Below is a link to a forum post with details.
      I'm trying to expose my variables to the strategy builder so everyone can have better use of the WaveTrend indicator (it has a lot of code). Explain this to me like I am 5 because this isnt the first time I've tried to figure it out and hit a wall. What is Series? I know its like an array that stores bars. Why not just call it
      Chelsea B.NinjaTrader Customer Service

      Comment


        #33
        NinjaTrader_Jesse NinjaTrader_ChelseaB​​

        Thank you for your reply.

        I followed the link and added the plot in OnBarUpdate but the values are not showing as well.
        What was different?​
        Attached Files

        Comment


          #34
          Hello ラリー,

          Did you remove the indicator column and re add it to the analyzer after making that change? If not the new code won't be used. You need to re add the column after changing items in OnStateChange

          Comment


            #35
            Thank you for your reply.

            I did that but it doesn't show up as well.​

            Comment


              #36
              Hello ラリー,

              Have you tried using a chart to make sure the indicator works first? This may relate to the settings you used in the market analyzer for the bar settings. Try using a chart and make sure it plots then use the same settings for the data series when configuring the indicator in the market analyzer.

              Comment


                #37
                Thank you for your reply.

                I have applied it to the chart, but it seems that it shows Day,Minute for the chart, but it doesn't show in the market analyzer.
                Also, the indicator setting in the market analyzer is as attached.​
                Attached Files

                Comment


                  #38
                  Hello ラリー,

                  Are you selecting enough data in the market analyzer for the indicator to calculate?

                  Do you see other indicators like the SMA working if you use similar settings?

                  Comment


                    #39
                    Thank you for your reply.

                    Are you selecting enough data in the market analyzer for the indicator to calculate?
                    Thank you for your reply.

                    I set the time frame to 365 days and ran it again, but it is not displayed.

                    Do you see other indicators like the SMA working if you use similar settings?
                    ​In addition, SMA and RSI are displayed on charts and market analyzers with values and graphs.
                    Attached Files

                    Comment


                      #40
                      Hello ラリー,

                      In the most recent image you have a different script selected. You need to select the Indicator column and then the indicator that you created.

                      Comment


                        #41
                        Thank you for your reply.

                        Does that mean select SMA or RSI for Configured in the Columns property item?​

                        Comment


                          #42
                          Hello ラリー,

                          No you need to select the Indicator column and then the custom indicator that you made. If you need to use the SMA or RSI in your custom indicator that would be done in your code.

                          Comment


                            #43
                            Thank you for your reply.

                            i tried but am i correct?​https://www.screencast.com/t/dWzhnx8Hrcn

                            Comment


                              #44
                              Hello ラリー,

                              In the video you have not applied the custom indicator which contains your conditions, plots and alerts. You are manually applying system indicators and a custom column which reports ... The custom column can be removed completely because that is not how you select your indicator.

                              If you wanted to display a custom value in the analyzer and also trigger alerts you need to select the Indicator column and then the custom indicator that you made.

                              If you are having difficulty understanding the market analyzer indicator column I would suggest watching the video that covers using the market analyzer . https://ninjatrader.com/support/help...MarketAnalyzer

                              Comment


                                #45
                                Thank you for your reply.

                                I apologize for my lack of understanding.
                                I used the video as a reference, but does Jesse explain the image (attached)?​​
                                Attached Files

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                                0 responses
                                656 views
                                0 likes
                                Last Post Geovanny Suaza  
                                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                                0 responses
                                371 views
                                1 like
                                Last Post Geovanny Suaza  
                                Started by Mindset, 02-09-2026, 11:44 AM
                                0 responses
                                109 views
                                0 likes
                                Last Post Mindset
                                by Mindset
                                 
                                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                                0 responses
                                574 views
                                1 like
                                Last Post Geovanny Suaza  
                                Started by RFrosty, 01-28-2026, 06:49 PM
                                0 responses
                                579 views
                                1 like
                                Last Post RFrosty
                                by RFrosty
                                 
                                Working...
                                X