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 rbeckmann05, Today, 02:35 PM
              0 responses
              0 views
              0 likes
              Last Post rbeckmann05  
              Started by rbeckmann05, Today, 02:33 PM
              0 responses
              0 views
              0 likes
              Last Post rbeckmann05  
              Started by ETFVoyageur, Today, 02:08 AM
              6 responses
              38 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by MrForgetful, Today, 01:28 AM
              2 responses
              19 views
              0 likes
              Last Post MrForgetful  
              Started by ETFVoyageur, Yesterday, 06:05 PM
              4 responses
              32 views
              0 likes
              Last Post ETFVoyageur  
              Working...
              X