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 ZeroKuhl, Today, 04:31 PM
            0 responses
            7 views
            0 likes
            Last Post ZeroKuhl  
            Started by Vulgoth_t_Destroyer, 05-09-2022, 04:45 PM
            54 responses
            5,336 views
            0 likes
            Last Post Gaterz
            by Gaterz
             
            Started by ETFVoyageur, 05-07-2024, 07:05 PM
            11 responses
            73 views
            0 likes
            Last Post -=Edge=-  
            Started by _Zero_, 04-10-2020, 03:21 PM
            145 responses
            7,899 views
            6 likes
            Last Post johng2
            by johng2
             
            Started by TheTradingMantis, 01-19-2023, 02:05 AM
            43 responses
            917 views
            0 likes
            Last Post jmagaia
            by jmagaia
             
            Working...
            X