Announcement

Collapse
No announcement yet.

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?

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          161 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Started by CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          309 views
          0 likes
          Last Post CaptainJack  
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          245 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          349 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          179 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Working...
          X