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

Newbie coding help query; Range Bar query

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

    #61
    Try deleting the new file you created via

    Tools > Edit NinjaScript > Select the file and press the "Delete" button

    If its successful, all is clean.
    RayNinjaTrader Customer Service

    Comment


      #62
      Originally posted by NinjaTrader_Ray View Post
      Try deleting the new file you created via

      Tools > Edit NinjaScript > Select the file and press the "Delete" button

      If its successful, all is clean.
      Thanks, Ray. I was unable to log on this morning and so did a restore. Now all is well, including the new indicator and the copy I made (with alterations) that wouldn't compile because of some mysterious problem with Jurik Indicators which I have never touched.

      Because it doesn't update properly live in terms of color-changing, I cannot use it and so that is the end of this little escapade into Ninja programming! At least for me!

      Comment


        #63
        Not sure if this would be the correct placement of this thread, but seen the question asked before in here. I am new to your products.I'm trying to make an indicator to change the color of a single bar when I get a long/short signal. Anyone know how I can go about doing that?

        This is how it currently looks like:

        if (long signal)
        {
        BarColor = Color.Gold;
        }


        else if (short signal)
        {
        BarColor = Color.Silver;
        }
        Last edited by NinjaTrader_Bertrand; 03-06-2015, 03:21 AM. Reason: removed URLs

        Comment


          #64
          bobbell, that looks basically correct to me - what would long and short signal be? Bools you have set / exposed for getting the signal state?
          BertrandNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by WHICKED, Today, 12:45 PM
          2 responses
          18 views
          0 likes
          Last Post WHICKED
          by WHICKED
           
          Started by GussJ, 03-04-2020, 03:11 PM
          15 responses
          3,276 views
          0 likes
          Last Post xiinteractive  
          Started by Tim-c, Today, 02:10 PM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by Taddypole, Today, 02:47 PM
          0 responses
          3 views
          0 likes
          Last Post Taddypole  
          Started by chbruno, 04-24-2024, 04:10 PM
          4 responses
          51 views
          0 likes
          Last Post chbruno
          by chbruno
           
          Working...
          X