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

Help me please with drawings properties

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

    Help me please with drawings properties

    I have a simple code that pulls levels from spreadsheet and draws a horizontal line or a region. Can someone tell me how these drawing properties work. How do I set isGlobal property to true. Even if I enter any possible setting that those functions may want it doesn't take them in and instead shows an overload error (the properties aren't currently set to true in the screenshot as I am just trying to figure this out, ignore the isGlobal parameter in the screenshot as well. I was just trying everything that came to my mind). I am really new to all this. Can someone show me a line that would satisfy all of those properties, so I can understand how this works? Thanks for all help in advance.

    Click image for larger version  Name:	image.png Views:	0 Size:	14.4 KB ID:	1307678
    Click image for larger version  Name:	image.png Views:	0 Size:	75.4 KB ID:	1307679​​
    Last edited by Matt Skinner; 06-18-2024, 09:49 AM.

    #2
    Oh my days, nevermind. I get it. isGlobal can only be used if you use this specific syntax.
    Click image for larger version

Name:	image.png
Views:	12
Size:	3.6 KB
ID:	1307684
    That means that I have to create a template instead of having power over the parameters. Sub-ideal.​

    Comment


      #3
      Hello Matt Skinner,

      Thank you for your post.

      You do not need to create or specify a template. As mentioned in the Help Guide screenshot you've posted, "empty string could be used to just use the UI default visuals instead".

      Please let us know if you have any further questions.
      Gaby V.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by MatthewLesko, 05-21-2021, 09:37 PM
      4 responses
      164 views
      0 likes
      Last Post Mahmad1323  
      Started by samish18, Today, 03:02 PM
      3 responses
      15 views
      0 likes
      Last Post bltdavid  
      Started by Jakub, Today, 11:06 AM
      1 response
      16 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by samish18, Today, 03:50 AM
      10 responses
      19 views
      0 likes
      Last Post samish18  
      Started by Mestor, 06-03-2018, 10:09 AM
      16 responses
      2,872 views
      0 likes
      Last Post myaha1000  
      Working...
      X