Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Printing Multiple Fixed Text using Strategy Builder

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

    Printing Multiple Fixed Text using Strategy Builder

    Hello,

    I am building a Strategy that prints signals (objects) above the bars and a summary "Fixed Text" stating how many signals have been found. Until here, everything is good.

    Now, I need to print a second Fixed Text, below the first one, that states what signal types have been found (RSI, Stochastics, MACD....).

    My question: How to print multiple Fixed Texts, one below the other? I tried to add "\n" to break the line, but it didn't work.

    Thank you

    #2
    Amirovsky You could try Environment.NewLine, a string, which is, in fact, equivalent to "\r\n" on non-Unix platforms.

    Thanks.
    Multi-Dimensional Managed Trading
    jeronymite
    NinjaTrader Ecosystem Vendor - Mizpah Software

    Comment


      #3
      Hello Jeronymite,

      Thank you for your swift feedback.

      I believe you mean to code it in the Script Editor, however, I am using Strategy Builder to create this strategy.

      Thanks

      Comment


        #4
        Thanks, Amirovsky I should have seen that. I don't use the Strategy Builder, so I'm not familiar with its approach, but if you have been able to specify "\n" before, try using "\r\n" instead and see what happens. That should have the same effect as Environment.NewLine, which may or may not be effective.

        Thanks.
        Multi-Dimensional Managed Trading
        jeronymite
        NinjaTrader Ecosystem Vendor - Mizpah Software

        Comment


          #5
          Hello,

          Using "\r\n" in strategy builder is not allowed.

          Who can answer my request please from the support team?

          Thank you

          Comment


            #6
            Hello Amirovsky,

            From the builder you won't be able to do that, you would have to manually code the file to be able to use new lines in the text. You can only place one fixed text per location otherwise.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            43 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            21 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            30 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            50 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            40 views
            0 likes
            Last Post CarlTrading  
            Working...
            X