Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

transparent

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

    transparent

    if the primary bar color is set as transparent, my indicator won't get refreshed unless I manually reload the ninjascript.

    my purpose is to see my indicator only, and hide the price bars.

    #2
    Hi solvmatic,

    This is not something I'm seeing here. What version of NinjaTrader are you using? Check with Help > About. Can you see the same thing when using built in indicator SMA, for example?
    Attached Files
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Type: Regular
      Machine ID: C36E6D1C93638EDC2D082206795004C4
      .NET/CLR Version: 2.0.50727.5448
      Expiration: 12/30/2099
      Licensed features: AutomatedTrading

      Comment


        #4
        this issue happens after I reinstalled NJ and started using 64bit.

        Comment


          #5
          Please see the attached screenshot, and indicate what version yours shows in the highlighted area.

          Please answer this question from my first reply:
          Can you see the same thing when using built in indicator SMA, for example?
          Attached Files
          Last edited by NinjaTrader_RyanM1; 12-01-2011, 12:13 PM.
          Ryan M.NinjaTrader Customer Service

          Comment


            #6
            Sorry, here is the version:

            Ninjatrader 64-bit 7.0.1000.7 (Live)

            Comment


              #7
              Thanks. It would be helpful if you answered the SMA question so we can determine if what you are seeing happens with any indicators or is specific to your custom script.
              Ryan M.NinjaTrader Customer Service

              Comment


                #8
                The built-in SMA indicator plot is updated but my script is not.

                do you need my code?

                Comment


                  #9
                  Originally posted by NinjaTrader_RyanM View Post
                  Please see the attached screenshot, and indicate what version yours shows in the highlighted area.

                  Please answer this question from my first reply:
                  Can you see the same thing when using built in indicator SMA, for example?
                  Are we really on version 7.0.1000.8, or is that still an internal build only?

                  Comment


                    #10
                    Yes, if you share the code I will take a look.

                    Koganam - Latest release is 7, sorry for any confusion.
                    Ryan M.NinjaTrader Customer Service

                    Comment


                      #11
                      Correction:

                      after debug, I find that when the primary chart bar color set to Transparent, the Time[0] and Time[1] return same value. Other information, CalculateOnBarClose = false;

                      t = t + (Time[
                      0].Subtract(Time[1]).TotalSeconds); //track time spent on this bar

                      Print(Time[0] +" "+Time[1]);



                      instead if use Time[1] and Time[2], works.
                      Last edited by solvmatic; 12-01-2011, 02:56 PM.

                      Comment


                        #12
                        I'm not seeing this here. Below are the last couple lines of real time updating and Time[0] is never the same as Time[1].

                        Print("Bar: " + CurrentBar + " " + Time[0] +" "+Time[1]);

                        Bar: 5503 12/1/2011 1:59:00 PM 12/1/2011 1:58:00 PM
                        Bar: 5504 12/1/2011 2:00:00 PM 12/1/2011 1:59:00 PM

                        Can you please send your workspace file and complete script to support 'at' ninjatrader 'dot' com so I can setup the same here.

                        You'll find the xml file for the workspace in:
                        Documents\Ninjatrader 7\Workspaces

                        Please use File > Utilties > Export NinjaScript to export, and then attach your script from:
                        Documents\NinjaTrader 7\bin\custom\ExportNinjaScript.

                        Please send as simple a script as possible that will allow us to see this here. Strip out anything proprietary or non-critical in reproducing.
                        Ryan M.NinjaTrader Customer Service

                        Comment


                          #13
                          thanks for the support,
                          Will do later if have time, for now I can live using Time[1] and Time[2].

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by cre8able, Today, 01:16 PM
                          2 responses
                          9 views
                          0 likes
                          Last Post cre8able  
                          Started by chbruno, 04-24-2024, 04:10 PM
                          3 responses
                          48 views
                          0 likes
                          Last Post NinjaTrader_Gaby  
                          Started by samish18, Today, 01:01 PM
                          1 response
                          6 views
                          0 likes
                          Last Post NinjaTrader_LuisH  
                          Started by WHICKED, Today, 12:56 PM
                          1 response
                          9 views
                          0 likes
                          Last Post NinjaTrader_Gaby  
                          Started by WHICKED, Today, 12:45 PM
                          1 response
                          11 views
                          0 likes
                          Last Post NinjaTrader_Gaby  
                          Working...
                          X