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

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.

            JesseNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by pibrew, Today, 06:37 AM
            0 responses
            0 views
            0 likes
            Last Post pibrew
            by pibrew
             
            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  
            Working...
            X