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

Please help me to fix this indicator script

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

    Please help me to fix this indicator script

    The attached script is for drawing the Camarilla pivot lines which I developed based on the script for Ninja provided indicator "Pivots". It doesn't work and I couldn't find anything wrong with it. Please help me to fix it. Thank you.
    Attached Files

    #2
    Unfortunately we cannot provide individual coding support. You will need to debug your code. Please check out this tip: http://www.ninjatrader-support.com/v...ead.php?t=3418
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by intrader View Post
      The attached script is for drawing the Camarilla pivot lines which I developed based on the script for Ninja provided indicator "Pivots". It doesn't work and I couldn't find anything wrong with it. Please help me to fix it. Thank you.
      Check in your "#region Variables" section this Line
      private SolidBrush[] brushes

      you need to add 4 more brushes. Hope that help

      Regards

      Comment


        #4
        Originally posted by PrTester View Post
        Check in your "#region Variables" section this Line
        private SolidBrush[] brushes

        you need to add 4 more brushes. Hope that help

        Regards
        Yes, it did help and worked! Thank you very much PrTester! I appreciate you
        going through the code and pin pointing the problem.

        Comment


          #5
          Originally posted by intrader View Post
          Yes, it did help and worked! Thank you very much PrTester! I appreciate you
          going through the code and pin pointing the problem.
          hi,can you share your working Camarilla indicator?thanks

          Comment


            #6
            Here it is!
            Attached Files

            Comment


              #7
              Does this still work for anybody?

              I just imported it and it doesn't seem to plot.

              Comment


                #8
                Bump...

                Does this work for anybody?

                Comment


                  #9
                  Based on the previous comments, the indicator most likely will need some updates.
                  Josh P.NinjaTrader Customer Service

                  Comment


                    #10
                    Ok hopefully someone will get a chance to look at it.

                    I'm mostly interested as I believe this is the type of pivot point calculations used by Peter Bain's system (forex mentor).

                    Comment


                      #11
                      Have you tried intrader's version?
                      Josh P.NinjaTrader Customer Service

                      Comment


                        #12
                        Yes, nothing plotted.

                        Comment


                          #13
                          If you feel inclined maybe you could try your own hand at it? I suggest you check the Control Center logs to look for any errors.
                          Josh P.NinjaTrader Customer Service

                          Comment


                            #14
                            Originally posted by Josh View Post
                            If you feel inclined maybe you could try your own hand at it? I suggest you check the Control Center logs to look for any errors.
                            Thanks for your suggestion. I'll add it to the list of future considerations....

                            I'm still on hour 1 of 'Teach Yourself Visual C# in 24 hours", but I'll give it a shot!

                            Comment


                              #15
                              did you got the indicator to work properly?

                              on this thread they also had the same issue


                              if you have an updated version, i would welcome it if you can share it here

                              Originally posted by Elliott Wave View Post
                              Thanks for your suggestion. I'll add it to the list of future considerations....

                              I'm still on hour 1 of 'Teach Yourself Visual C# in 24 hours", but I'll give it a shot!

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by bortz, 11-06-2023, 08:04 AM
                              47 responses
                              1,609 views
                              0 likes
                              Last Post aligator  
                              Started by jaybedreamin, Today, 05:56 PM
                              0 responses
                              9 views
                              0 likes
                              Last Post jaybedreamin  
                              Started by DJ888, 04-16-2024, 06:09 PM
                              6 responses
                              19 views
                              0 likes
                              Last Post DJ888
                              by DJ888
                               
                              Started by Jon17, Today, 04:33 PM
                              0 responses
                              6 views
                              0 likes
                              Last Post Jon17
                              by Jon17
                               
                              Started by Javierw.ok, Today, 04:12 PM
                              0 responses
                              16 views
                              0 likes
                              Last Post Javierw.ok  
                              Working...
                              X