• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw a dot every 60 seconds

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

    #31
    Hmm that doesn't work either koganam, just draws one dot on the last bar on the chart, needs a new tagId everytime I'd say. I don't get this, the code from page 1 worked fine when I did it back then, now I have the same code and it's drawing dots on every bar even though it should be every 600 seconds(10 minutes). Any ideas?

    Comment


      #32
      Anyone? Can't be that hard, but it just doesn't want to work.

      I have tried giving the dots unique ID's, with "Dot" + CurrentBar, because it was only drawing a dot on the last bar of the chart but that doesn't work either, still no more dots, when it's supposed to be 600 seconds apart. Driving me insane.

      Comment


        #33
        Here is my code. This should work? I'm just getting a dot on the close of every bar, chart is a 1 minute chart. I want dots every X minutes/X seconds.
        Attached Files
        Last edited by Jumper; 10-16-2014, 11:44 PM.

        Comment


          #34
          Jumper, I would expect that since your condition is hit every bar since you have terminated your if statement with a semicolon ;
          BertrandNinjaTrader Customer Service

          Comment


            #35
            Oh god, I KNEW it would be something that stupid/simple, no wonder I couldn't figure it out, sorry about that, such a stupid error. Cheers!

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Captain_Qwark, Today, 10:55 AM
            2 responses
            11 views
            0 likes
            Last Post Captain_Qwark  
            Started by kmpc1, Today, 11:03 AM
            1 response
            10 views
            0 likes
            Last Post NinjaTrader_PatrickG  
            Started by jransom, Today, 09:08 AM
            1 response
            16 views
            0 likes
            Last Post NinjaTrader_Kate  
            Started by mtamaku, Today, 09:19 AM
            0 responses
            20 views
            0 likes
            Last Post mtamaku
            by mtamaku
             
            Started by traderMNQ, Today, 09:00 AM
            4 responses
            19 views
            0 likes
            Last Post traderMNQ  
            Working...
            X