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 Belfortbucks, Today, 09:29 PM
          0 responses
          6 views
          0 likes
          Last Post Belfortbucks  
          Started by zstheorist, Today, 07:52 PM
          0 responses
          7 views
          0 likes
          Last Post zstheorist  
          Started by pmachiraju, 11-01-2023, 04:46 AM
          8 responses
          151 views
          0 likes
          Last Post rehmans
          by rehmans
           
          Started by mattbsea, Today, 05:44 PM
          0 responses
          6 views
          0 likes
          Last Post mattbsea  
          Started by RideMe, 04-07-2024, 04:54 PM
          6 responses
          33 views
          0 likes
          Last Post RideMe
          by RideMe
           
          Working...
          X