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

CPR indicator

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

    #31
    I was mistaken that this script allows for Week or Month. It would be nice if you could choose Intraday, daily, weekly, or Monthly.

    Comment


      #32
      Originally posted by hir04068 View Post

      I have interchanged the formula and its working perfect now.
      thanks a ton for all the help you have provided.

      if anyone wants CRP indicator then I hope this will help. I am posting the final indicator and template I use for the intraday chart.
      Thanks for CPR indicator. I am using it for a few days and found that CPR and R1, R2 levels are correct. But R3 and S3 levels are not correct. I tried code in excel with HLC values and found R3 ans S3 values are incorrect.
      Can somebody help to address the issue?

      Thanks and regards,
      Vijay Mane.

      Comment


        #33
        Hello coolvijaymane,

        I am seeing in the script on line 209 - 210 of hir04068's script:
        Code:
        s3 = pp - 2 * (currentHigh - currentLow);
        r3 = pp + 2 * (currentHigh - currentLow);
        Would you like to replace the formula with something else?
        Chelsea B.NinjaTrader Customer Service

        Comment


          #34
          Yes!

          R3 = R1 + (High - Low)
          S3 = S1 - (High - Low)

          These are original levels in pivot boss book.

          Thanks and regards,

          Vijay Mane.

          Comment


            #35
            Hello Vijay,

            You could make these customizations to a copy.

            s3 = r1 - (currentHigh - currentLow);
            r3 = r2 + (currentHigh - currentLow);
            Chelsea B.NinjaTrader Customer Service

            Comment


              #36
              I do not know how to do it. Can you please help me to do it? Pl help with some instructions etc so that I can try.

              Or is there any alternative option?

              Thanks and regards,

              Vijay Mane.

              Comment


                #37
                Can you please help letting me know the original script and how to convert script into zip that can be imported in NT8.
                This will solve issue.

                Thanks and regards,

                Vijay Mane

                Comment


                  #38
                  Hello Vijay,

                  Below is a link to a forum post with helpful resources on getting started with C# and NinjaScript.
                  https://ninjatrader.com/support/foru...pts#post786040

                  Please watch the 'NinjaScript Editor 401' training video linked in the post.

                  You would be replacing lines 209 - 210 with the modified code and then compile and re-run the script.

                  You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services.

                  You can search our extensive library of NinjaScript consultants through the link below. Simply enter a consultant name or search by using our filter categories. Once you have identified your consultants of choice, please visit each consultant's site for more information or contact them directly to learn more!

                  https://ninjatraderecosystem.com/sea...mming-services

                  Educators - https://ninjatraderecosystem.com/sea...ures=education

                  You can locate the contact information for the consultants on their direct websites for any additional questions you may have. Since these consultants are third party services for NinjaTrader all pricing and support information will need to be obtained through the consultant.

                  This NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The companies and services listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.​

                  To export a NinjaTrader 8 NinjaScript so this can be shared and imported by the recipient do the following:
                  1. Click Tools -> Export -> NinjaScript Add-on...
                  2. Click the 'add' link -> check the box(es) for the script(s) and reference(s) you want to include
                  3. Click the 'Export' button
                  4. Enter a unique name for the file in the value for 'File name:'
                  5. Choose a save location -> click Save
                  6. Click OK to clear the export location message
                  By default your exported file will be in the following location:
                  • (My) Documents/NinjaTrader 8/bin/Custom/ExportNinjaScript/<export_file_name.zip>
                  Below is a link to the help guide on Exporting NinjaScripts.
                  http://ninjatrader.com/support/helpG...-us/export.htm

                  The NTSvePivots provided by hir04068​ is a NinjaTrader 8 script. This was not exported properly using the steps above and only a .cs file was provided. Our support generally recommend​s requesting the developer to provide an export so this can be imported into NinjaTrader through Tools -> Import NinjaScript.

                  However, you could also place the file in Documents\NinjaTrader 8\bin\Custom\Strategy and then compile.
                  Chelsea B.NinjaTrader Customer Service

                  Comment


                    #39
                    Thank you so much Chelsea.

                    Done necessary changes in code and it worked perfectly fine.

                    Regards,

                    Vijay.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by rocketman7, Today, 02:12 AM
                    2 responses
                    16 views
                    0 likes
                    Last Post rocketman7  
                    Started by briansaul, Today, 05:31 AM
                    1 response
                    12 views
                    0 likes
                    Last Post NinjaTrader_Jesse  
                    Started by PaulMohn, Today, 03:49 AM
                    1 response
                    12 views
                    0 likes
                    Last Post NinjaTrader_BrandonH  
                    Started by frslvr, 04-11-2024, 07:26 AM
                    6 responses
                    106 views
                    1 like
                    Last Post NinjaTrader_BrandonH  
                    Started by trilliantrader, 04-18-2024, 08:16 AM
                    6 responses
                    26 views
                    0 likes
                    Last Post trilliantrader  
                    Working...
                    X