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

Is there an easy way to duplicate indicators?

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

    Is there an easy way to duplicate indicators?

    If i have a custom indicator and would like a variation of it. is there a way i can duplicate and make small changes or do i have to go through the whole process again?

    #2
    Hello JCrown,

    Thanks for your post and welcome to the NinjaTrader forums.

    I'm not certain what you mean by a variation of it so I will provide directions for creating a copy and editing the source code of the indicator.

    If you have the source code of the indicator then yes you can duplicate and make changes to the code.

    1) On the Ninjatrader8 control center go to New>Ninjascript Editor
    2) In the Ninjascript editor window on the right side will be the Ninjascript explorer, double left click on the "indicators" folder to open the folder.
    3) In the indicators folder double left click on the indicator you wish to copy/change (this will open the indicators code into the pane on the left.
    4) Once the code section is open, in the code section itself, right mouse click and select "save as" then provide a new name for the indicator and click OK.
    5) The code window will change to the newly named file. You can now make code changes.
    6) Once the changes are done, right mouse click again and this time select "Compile". If the code is successfully compiled you will hear a tone, your indicator is then ready to be added to a chart.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      When using the drawing objects to draw a triangle, how can I duplicate or clone it on the same chart?

      Comment


        #4
        Hello Joemotho,

        Thanks for your post.

        When you draw an object on the chart and want to make a copy of the object, left-click on the object to select it, then press the keyboard Ctrl and the C keys to copy the object and then Ctrl and v key to paste. The new object will be pasted a few pixels offset and will be selected so you can move it as you wish.
        Paul H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by RookieTrader, Today, 09:37 AM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by alifarahani, Today, 09:40 AM
        0 responses
        5 views
        0 likes
        Last Post alifarahani  
        Started by Gerik, Today, 09:40 AM
        0 responses
        4 views
        0 likes
        Last Post Gerik
        by Gerik
         
        Started by KennyK, 05-29-2017, 02:02 AM
        3 responses
        1,283 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by AttiM, 02-14-2024, 05:20 PM
        11 responses
        185 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X