Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi Line String Input Parameter

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

    Multi Line String Input Parameter

    Hi !
    Im looking for a way to have a text input parameter where the user can enter multiple lines... something like when we edit the text content on a drawing object ( see picture ).
    Is that possible ?
    Is there an available typeconverter for that ? ( to be used on an indicator or strategy... not an addon )

    Thanks !
    Pablo
    pmaglio
    NinjaTrader Ecosystem Vendor - The Indicator Store

    #2
    Hello Pablo,

    Thank you for your post.

    Please see the Text DrawingTools source code in a NinjaScript Editor window to see how the public string property would be set up for multi-line editing. The public string property could be found on lines 125-138 of the Text DrawingTools source code. To view the source code, open a New > NinjaScript Editor window, double-click the DrawingTools folder to open it, select Text within the DrawingTools folder to see the source code in the Editor window.

    Let us know if we may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Hi Brandon,

      Yes, I saw that.... but it doesn't seems to work in an indicator... ?
      I mean, it works just as the standard text input, no way to add a row ; pressing enter or shift enter just closes the dialog.

      Pablo
      pmaglio
      NinjaTrader Ecosystem Vendor - The Indicator Store

      Comment


        #4
        Hello pmaglio,

        At this time the multi line editor does not work in other contexts. The Shift + enter that is required to make a new line cannot be used from within the indicator/strategy dialog. The drawing objects dialog has logic which allows modifier keys to be used. You can still use that property to paste multi line content it just cannot be typed in.


        Please let me know if I may be of further assistance.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        581 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        338 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        554 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        552 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X