• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator Compiler Error

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

    #16
    Originally posted by outsource View Post
    As simple or as complex as it was,the indicator shoots audible alerts regardless of if i set it to true or false
    The code that you posted was a string property for a FileName. Strings cannot be true or false, so you are now talking about something else entirely. However, the comment would mean that your Alert/Sound call is not being properly filtered.

    At this time, your best course of action is to stop doing all the advanced c# that is not in NinjaTrader, and focus on how to correctly write the closed-garden Ninjascript. The NinjaTrader Help file is a complete tome on NinjaTrader, starting with how to set it up, all the way to writing mid-advanced scripts. If you fancy that you already know operations, (you probably do not: I have been using NinjaTrader for more than a decade, and I still find things in there that I did not know ), you can skip straight to the tutorials section, and work through all the examples.

    By the time you are done, you will know enough Ninjascript to be functional. After that, there will still be many things that you cannot do in Ninjascript conveniently, and you will have to jump out into the bigger world of c#, but you will find that you are also then much better equipped to understand the c# documentation and myriad examples available on the web and elsewhere.

    Comment


      #17
      I posted the code that was modified from the similar one,that,in turns, was modified from the original one.

      This one had compiler and, has an audible alert problem.The former had serialization proble,so i was not abler to save the template.Both were modified by supposedly advanced programmers.

      I`ll take your advice to start with the Ninja directly.Thank you!

      As a remark.I`ve been studying English and Spanish being of Russian origin all my life and still use dictionaries,at times.I believe,studying pogramming language has something in common.The life time span problem remains,though.It occasionally extends to 100 only.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Conall, Today, 06:11 AM
      0 responses
      3 views
      0 likes
      Last Post Conall
      by Conall
       
      Started by Vincere, Yesterday, 11:20 PM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Started by uday12, Yesterday, 10:07 PM
      1 response
      4 views
      0 likes
      Last Post bltdavid  
      Started by cnecorp, Today, 03:04 AM
      3 responses
      18 views
      0 likes
      Last Post cnecorp
      by cnecorp
       
      Started by bxl2019, Yesterday, 07:59 AM
      1 response
      24 views
      0 likes
      Last Post NinjaTrader_ChrisSch  
      Working...
      X