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

Indicator Starts at 7:00 am and ends at 2:15pm

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

    Indicator Starts at 7:00 am and ends at 2:15pm

    I have written an indicator based on the indicator (volprofile) to display a line of Peak Volume Price.

    My code says to start at 6:00 am and finish at 2:15 pm (MT) but every day it starts at 7:00 am and ends at 2:15 pm.

    Maybe someone can shed some light on what I'm doing wrong?

    I have included my file.

    Just so you know the indicator's StartTime is 060000 and the EndTime is 141500

    Thanks for the help.
    Attached Files

    #2
    Hello Shoedad,

    Thank you for your post.

    The indicator is working correctly on my end. Please advise what instrument you are loading this indicator on and what the Session Template is set to (right click in your chart > Data Series > Session Template).

    I look forward to your response.

    Comment


      #3
      ES 03-13

      Data Series Data:
      Load data based on Days
      Days to load 2
      End date 2/6/2013
      Session template CME US Index Futures ETH

      Comment


        #4
        Hello Shoedad,

        Thank you for your response.

        Please change the Session Template to Default 24/7 and advise if the plot still begins at 7 AM or doe sit change to 6 AM.

        I look forward to your response.

        Comment


          #5
          It still starts at 7:00 am

          However, if I put it at 8:00 am it starts at 8:00 am but won't start prior to 7:00 am
          Attached Files
          Last edited by shoedad; 02-06-2013, 05:00 PM.

          Comment


            #6
            shoedad, I tried on my end here as well and see not issues with various times even on the default ES ETH sessions we provide. Which OS / .NET framework are you using on this PC? If you check in Windows Update, are there any items outstanding?
            BertrandNinjaTrader Customer Service

            Comment


              #7
              I will check when I get to my office machine. One thing that I did when copying indicators from one machine to the other was grab a few of them and exported them together. I then went in and modified this particular indicator before I realized that they were all kind of packaged together. I removed that package and exported the indicators one at a time and modified it again.

              Is there any way that remnants of that first package is causing issues? I do remember changing code during that time to start at a specific time.

              Comment


                #8
                I left my indicator and NinjaTrader running all night....this morning it started at 6:00 am....Crazy!!! It must be ok then.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by r68cervera, Today, 05:29 AM
                0 responses
                2 views
                0 likes
                Last Post r68cervera  
                Started by geddyisodin, Today, 05:20 AM
                0 responses
                3 views
                0 likes
                Last Post geddyisodin  
                Started by JonesJoker, 04-22-2024, 12:23 PM
                6 responses
                35 views
                0 likes
                Last Post JonesJoker  
                Started by GussJ, 03-04-2020, 03:11 PM
                12 responses
                3,239 views
                0 likes
                Last Post Leafcutter  
                Started by AveryFlynn, Today, 04:57 AM
                0 responses
                6 views
                0 likes
                Last Post AveryFlynn  
                Working...
                X