Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Take existing Indicator and ADD a function to it

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

    #16
    Hello trdninstyle, thanks for your reply, and also thank you s.kinra for helping out.

    The file I originally shared should be placed within Documents\NinjaTrader 8\bin\Custom\Indicators, replacing the existing file. NinjaScript is a deep subject and can take a while to learn. Please read through this post from our colleague for a general guide through our documentation:

    https://ninjatrader.com/support/foru...sample-scripts

    Please let me know if I can assist any further.

    Comment


      #17
      Hi Chris,

      We made some good progress. I just had to delete a couple of indicators I was experimenting with and I did get your file downloaded and onto my charts. Looks darn good but I'll have to change the language from 'Closes' to 'openings' in order to get the line to change over to opposite color when 2 bars are completely beyond Pp line

      I did a screenshot so u can see what I mean.
      Attached Files
      Last edited by trdninstyle; 12-14-2020, 11:15 AM.

      Comment


        #18
        I 'saved as' the original NTSvePIVOTS Indicator. Renamed it NTMyPivots and when I Compiled the copy these two error messages came up on the original?

        It's telling me that the namespace already contains a definition for NTSve HLC Calculation and Pivot Range ?

        What do I do to resolve that so I can compile the copy? And to make some changes.
        Attached Files
        Last edited by trdninstyle; 12-15-2020, 12:47 PM.

        Comment


          #19
          Hello trdninstyle, thanks for your reply.

          The original script already defines these enums. You will need to change the name of

          Code:
          public enum NTSveHLCCalculationMode //line 590
          and

          Code:
          public enum NTSvePivotRange //line 598
          And also reflect that change wherever these two properties are used in the script.

          Please let me know if I can assist any further.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          625 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          359 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          105 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          562 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          567 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X