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

Enable all time settings in pivot indicator?

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

    Enable all time settings in pivot indicator?

    Right now only settings available for ninja (which seems to be the case on those I tried) are enabled which are day, week and month. Would it be hard to make it work in all time settings? I managed to download the indicator so I have it in a zip file. Or could someone here possibly enable all times settings on it?
    It's working on all time settings in tradingview for instance.

    #2
    Hello johntraderuser2,

    Thank you for your post and welcome to the NinjaTrader forum community!

    It is correct that the Pivots indicator that comes with NinjaTrader only has pivot range type options of daily, weekly, or monthly as described here:


    You may be able to find a publicly available pivots indicator with the desired settings on our NinjaTrader Ecosystem website:
    Here is a basic guideline of how to import NinjaScript add-ons in NinjaTrader 8:

    Note — To import NinjaScripts you will need the original .zip file.

    To Import:
    1. Download the NinjaScripts to your desktop, keep them in the compressed .zip file.
    2. From the Control Center window select the menu Tools > Import > NinjaScript Add-on...
    3. Select the downloaded .zip file
    4. NinjaTrader will then confirm if the import has been successful.

    Critical - Specifically for some NinjaScripts, it will prompt that you are running newer versions of @SMA, @EMA, etc. and ask if you want to replace, press 'No'

    Once installed, you may add the indicator to a chart by:
    • Right-click your chart > Indicators... > Select the Indicator from the 'Available' list on the left > Add > OK

    Here is a short video demonstration of the import process:
    Please let me know if I can be of further assistance.

    The 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 add-ons 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.
    Emily C.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Emily View Post
      Hello johntraderuser2,

      Thank you for your post and welcome to the NinjaTrader forum community!

      It is correct that the Pivots indicator that comes with NinjaTrader only has pivot range type options of daily, weekly, or monthly as described here:


      You may be able to find a publicly available pivots indicator with the desired settings on our NinjaTrader Ecosystem website:
      Here is a basic guideline of how to import NinjaScript add-ons in NinjaTrader 8:

      Note — To import NinjaScripts you will need the original .zip file.

      To Import:
      1. Download the NinjaScripts to your desktop, keep them in the compressed .zip file.
      2. From the Control Center window select the menu Tools > Import > NinjaScript Add-on...
      3. Select the downloaded .zip file
      4. NinjaTrader will then confirm if the import has been successful.

      Critical - Specifically for some NinjaScripts, it will prompt that you are running newer versions of @SMA, @EMA, etc. and ask if you want to replace, press 'No'

      Once installed, you may add the indicator to a chart by:
      • Right-click your chart > Indicators... > Select the Indicator from the 'Available' list on the left > Add > OK

      Here is a short video demonstration of the import process:
      Please let me know if I can be of further assistance.

      The 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 add-ons 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.
      Thanks for response. How can we modify the timesettings to enable other settings than the default ones?

      Comment


        #4
        Hello johntraderuser2,

        Thank you for your reply.

        The source code for the Pivots indicator is available in the NinjaScript Editor. You may create a copy of this script and edit it as desired to add logic for other pivot range types. To copy this script:
        • Go to Control Center > New > NinjaScript Editor
        • Double-click on the "Indicators" folder to expand the indicators
        • Double-click on Pivots to open the Pivots script
        • Right-click in the background of the window and select Save As
        • Give your new copy a name
        • Now your copied script will be open in a new NinjaScript Editor tab
        There is a property on the UI for PivotRangeType that is a selection of one of the PivotRange enum options. You could add additional options for different times that you'd like as pivot ranges and then add the logic needed for these different time selections. For another example of using an enum for a UI property selection, please see the following reference sample:


        Please let us know if we may be of further assistance.
        Emily C.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by DJ888, Yesterday, 10:57 PM
        0 responses
        6 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by MacDad, 02-25-2024, 11:48 PM
        7 responses
        158 views
        0 likes
        Last Post loganjarosz123  
        Started by Belfortbucks, Yesterday, 09:29 PM
        0 responses
        7 views
        0 likes
        Last Post Belfortbucks  
        Started by zstheorist, Yesterday, 07:52 PM
        0 responses
        7 views
        0 likes
        Last Post zstheorist  
        Started by pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        151 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Working...
        X