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 hurleydood, 09-12-2019, 10:45 AM
          14 responses
          1,096 views
          0 likes
          Last Post Board game geek  
          Started by cre8able, Yesterday, 04:16 PM
          1 response
          16 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by cre8able, Yesterday, 04:22 PM
          1 response
          14 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by stafe, 04-15-2024, 08:34 PM
          5 responses
          28 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by StrongLikeBull, Yesterday, 04:05 PM
          1 response
          12 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Working...
          X