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!
See more
See less

Partner 728x90

Collapse

Custom market analyzer column alert

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

    #16
    Hello JAtrades,

    Thank you for the replies.

    Can you provide an image of one of the conditions you made in the alert panel? I would like to make sure I have this setup the same on my end for testing.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #17

      Comment


        #18
        here is the column

        Comment


          #19
          so the column will change to "1" and turn green and an alert "inside2min" should hit alert log.
          Last edited by JAtrades; 09-05-2019, 11:49 AM.

          Comment


            #20
            Hello JAtrades,

            Thank you for the reply.

            I will need to test the condition you provided further, once I have more details I will reply back with further information.

            I look forward to being of further assistance.
            JesseNinjaTrader Customer Service

            Comment


              #21
              Hello JAtrades,

              I just wanted to provide an update, I was able to see some instances where the alert is not being triggered with the settings you pictured. I am currently reviewing this further to see what can be done about that. Once I have more details I will post here again.

              I look forward to being of further assistance.
              JesseNinjaTrader Customer Service

              Comment


                #22
                Hi Jesse,

                Thanks a bunch for checking it out. So nothing obvious about the column code being a problem? you can see it might not make sense (I haven't figured out how to do the basics yet). I tried several different things in my code (still some commented out) that didn't work.

                Comment


                  #23
                  I was wondering if maybe I had an obvious error in the code - I'm watching it now to see if it stops when any symbol has it's next inside bar...

                  Comment


                    #24
                    and yes - that might be it...it only alerts to the first inside bar, so my code isn't "resetting"(even though the column switches from "1" to "0")- I haven't figured out what needs to be in the code for that - I tried some things that didn't work.

                    Comment


                      #25
                      What code could I add to my column to get it to reset after the bar closes?

                      Comment


                        #26
                        Hello JAtrades,

                        At this point it is nothing obvious from the provided code, I still need to research this further so please have patience while this is in review. Once I have details or an update I will reply back at that time.

                        I look forward to being of further assistance.
                        JesseNinjaTrader Customer Service

                        Comment


                          #27
                          Hey Jesse,
                          I stuck this code in there and it seems to work now:

                          if (IsFirstTickOfBar || Calculate == Calculate.OnBarClose)
                          {

                          IsInsideBar = false;
                          CurrentValue = 0;
                          }

                          Comment


                            #28
                            Hello JAtrades,

                            I just wanted to provide a quick update. The original situation you had described is not working as I would expect in my tests so I have passed this to development for further review. They have provided a tracking id for the issue of: 14010.


                            I look forward to being of further assistance.
                            Last edited by NinjaTrader_Jesse; 09-11-2019, 07:06 AM.
                            JesseNinjaTrader Customer Service

                            Comment

                            Latest Posts

                            Collapse

                            Topics Statistics Last Post
                            Started by judysamnt7, 03-13-2023, 09:11 AM
                            4 responses
                            56 views
                            0 likes
                            Last Post DynamicTest  
                            Started by ScottWalsh, Today, 06:52 PM
                            4 responses
                            35 views
                            0 likes
                            Last Post ScottWalsh  
                            Started by olisav57, Today, 07:39 PM
                            0 responses
                            7 views
                            0 likes
                            Last Post olisav57  
                            Started by trilliantrader, Today, 03:01 PM
                            2 responses
                            19 views
                            0 likes
                            Last Post helpwanted  
                            Started by cre8able, Today, 07:24 PM
                            0 responses
                            8 views
                            0 likes
                            Last Post cre8able  
                            Working...
                            X