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 Jonafare, 12-06-2012, 03:48 PM
            5 responses
            3,986 views
            0 likes
            Last Post rene69851  
            Started by Fitspressorest, Today, 01:38 PM
            0 responses
            2 views
            0 likes
            Last Post Fitspressorest  
            Started by Jonker, Today, 01:19 PM
            0 responses
            2 views
            0 likes
            Last Post Jonker
            by Jonker
             
            Started by futtrader, Today, 01:16 PM
            0 responses
            8 views
            0 likes
            Last Post futtrader  
            Started by Segwin, 05-07-2018, 02:15 PM
            14 responses
            1,792 views
            0 likes
            Last Post aligator  
            Working...
            X