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 snag

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

    Indicator snag

    Hi all , good morning . I've attached an indicator that doesnt work in real time , it should paint the bars according to my variables but wont do that unless I refresh my chart .

    I put the variables together as a strategy in the wizard first , copied and pasted the strategy into a new indicator in the wizard next and produced this indicator .

    What should I do to get it to paint the bars according to the variables in real time , thanks in advance for the help .
    Attached Files

    #2
    Do you see any errors in the log tab when you apply it?

    Please export it with the ZeroLagStochs included, otherwise it does not compile here, thanks
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Heres the log , I dont see an error . I sent the Zero lag stochastic .
      Attached Files

      Comment


        #4
        Thanks - this is due to your ZeroLagStochs CalculateOnBarClose setting, just remove this line and set this only in the calling (Mom21) indicator. You can just import the ZLS file I attached, then recompile all files and your custom Mom21 indicator, then recheck on realtime data.
        Attached Files
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Thanks Bertrand , I'll do that and let you know if I have any problems .

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by algospoke, 04-17-2024, 06:40 PM
          3 responses
          26 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by bmartz, 03-12-2024, 06:12 AM
          3 responses
          28 views
          0 likes
          Last Post NinjaTrader_Zachary  
          Started by Aviram Y, Today, 05:29 AM
          2 responses
          9 views
          0 likes
          Last Post Aviram Y  
          Started by gentlebenthebear, Today, 01:30 AM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by cls71, Today, 04:45 AM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X