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

indicator not updating

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

    #16
    Try these. For now, just throw KeoShLg onto the chart by itself.
    Attached Files
    Josh P.NinjaTrader Customer Service

    Comment


      #17
      still no improvements.
      it draws a lot a false arrows. I need to reload frequently in order to remove bad arrows.

      Any idea about when you will be able to overcome this bug ?

      Comment


        #18
        kuroro13,

        The original problem you stated was that it was not plotting. The issue was conflicting CalculateOnBarClose settings. Without those lines your indicator plots as expected and you no longer have issues with the bug. If you are getting false arrows this is simply due to your indicator logic and you will need to make adjustments as needed.

        Announcements will be made when appropriate for the fix.
        Josh P.NinjaTrader Customer Service

        Comment


          #19
          I just want my indicator to plot arrows at the close of the bar when my conditions are met.
          And that is exactly what I've coded so far (correct me if I'm wrong).
          That's why I need the CalculateOnBarClose to be set on true on my Keoshlg.
          But when I do that, it stills plot arrows in the middle of the construction of the bar.
          To overcome this problem i've set the CalculateOnBarClose to true on my 2 other indicator that are used for my Keoshlg.
          But when I do that, arrows won't be plotted automatically unless I reload manually my ninjascript.

          So now I'm lost.

          I didn't know that "drawing arrows when my moving averages are crossing and my Keobullbear is <0 (or>0) AT THE CLOSE OF THE BAR" , which is a simple idea , would be so difficult to implement.

          Comment


            #20
            If you want to plot on bar close then set that indicator to CalculateOnBarClose. Do not set anything for the other indicators. Your KeoShLg will call the other indicators when need be. It works as advertised on my end with the .zip I attached earlier.
            Josh P.NinjaTrader Customer Service

            Comment


              #21
              ok i will try this. Thank you for your help

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by trilliantrader, 04-18-2024, 08:16 AM
              5 responses
              22 views
              0 likes
              Last Post trilliantrader  
              Started by Davidtowleii, Today, 12:15 AM
              0 responses
              3 views
              0 likes
              Last Post Davidtowleii  
              Started by guillembm, Yesterday, 11:25 AM
              2 responses
              9 views
              0 likes
              Last Post guillembm  
              Started by junkone, 04-21-2024, 07:17 AM
              9 responses
              68 views
              0 likes
              Last Post jeronymite  
              Started by mgco4you, Yesterday, 09:46 PM
              1 response
              12 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Working...
              X