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 CarlTrading, 03-31-2026, 09:41 PM
          1 response
          83 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          45 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          65 views
          2 likes
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          68 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          57 views
          0 likes
          Last Post CarlTrading  
          Working...
          X