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

I dont compile a strategy and it prints me in Console

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

    I dont compile a strategy and it prints me in Console

    When I compile any Strategy, something writes in Console "hola" 2 times.

    I dont need to backtest that strategy. Just see the video. Is very strange!

    Free online storage and sharing with Screencast.com. 2 GB of storage and 2 GB of bandwidth per month for free. We won't compress, alter or take ownership of your content.


    Why this could be happenning?

    I know I had print("hola") Coded somewhere else but now I have deleted all strategies and only have 2 that hasent the code in it -_-.

    #2
    BelikeWater, anything in your UserDefinedClasses or even indicators that could be triggered to print that? Perhaps Windows search through your cs to see where it might stem from.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Hello bertrand

      Yes one of my cs. files had print("Hola"); inside Initialize() Method, didnt know it was executed while compiling another strategy.

      Well it has to do something with it, because I have deleted and nothing more happens.

      Curious to know the mechanics behind it, but I suppose is out of reach for now.

      Thank you

      Luis

      Comment


        #4
        The Initialize() could be generally called across all scripts (indicator or strategies).
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Waxavi, Today, 02:10 AM
        0 responses
        3 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by TradeForge, Today, 02:09 AM
        0 responses
        8 views
        0 likes
        Last Post TradeForge  
        Started by Waxavi, Today, 02:00 AM
        0 responses
        2 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by elirion, Today, 01:36 AM
        0 responses
        4 views
        0 likes
        Last Post elirion
        by elirion
         
        Started by gentlebenthebear, Today, 01:30 AM
        0 responses
        4 views
        0 likes
        Last Post gentlebenthebear  
        Working...
        X