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

Custom drawing tool - Use in Ninjascript

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

    Custom drawing tool - Use in Ninjascript

    Hi - I built a custom drawing tool. Works fine. I tried to use it in another script, but that does not seem as easy as it sounds. Can you point me to the documentation or comment on what needs (in general) to be done in a drawing tool to enable third-party script to create drawing objects with it? Thanks.

    #2
    Hello pjsmith,

    Thank you for your inquiry.

    While we don't have any supported documentation to offer for adding NinjaScript methods to a custom drawing tool, there is a drawing tool script that is publicly available on our NinjaTrader Ecosystem website that has added NinjaScript overloads:
    • https://ninjatraderecosystem.com/use...-drawing-tool/
      • Per the update on 10/08/2019, NinjaScript overloads were added. There is a region for the overloads starting at line 649 of the script that you could refer to as an example of how this could be done in your own script.
    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

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by rbeckmann05, Yesterday, 06:48 PM
    1 response
    12 views
    0 likes
    Last Post bltdavid  
    Started by llanqui, Today, 03:53 AM
    0 responses
    6 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    10 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    15 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    11 views
    0 likes
    Last Post carnitron  
    Working...
    X