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 CarlTrading, 03-31-2026, 09:41 PM
          1 response
          156 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          90 views
          1 like
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          143 views
          2 likes
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          130 views
          1 like
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          107 views
          0 likes
          Last Post CarlTrading  
          Working...
          X