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

Odd Behaviour

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

    Odd Behaviour

    I'm developing a script that requires MouseDown & MouseMove processing.

    on 60 minute chart both MouseDown & MouseMove work fine.

    on 240 minute chart MouseDown returns say High[99] ok but MouseMove High[99] returns High[98] (this is not consistent).

    I know this is complicated but is it something NT can take a look at or perhaps suggest other ways I can try and access bar data?

    #2
    Hello futurenets,

    Thank you for your post.

    While this is unsupported we can take a look. Can you provide more details on this matter? Such as the code that is returning these values?

    Comment


      #3
      ok thanks Patrick. attached isolates the problem but it's not consistent.

      Hold Alt key down and select a bar. Printed output to Output Window (MD=MouseDown, MM=MouseMove).

      Previously 60 minute chart ok but 240 minute is 1 bar out on MouseMove.

      PS. Code originates from dDrawABC (NT library)

      Let me know if you need anything else.
      Attached Files
      Last edited by futurenets; 06-22-2015, 03:25 AM.

      Comment


        #4
        Hello,

        I gave this a run but so far have been unable to see what you are.

        I just wanted to make sure I am doing the same as you are, I have a 240 minute chart and have the indicator applied.
        Holding alt and moving mouse results in the MM and clicking is the MD which I can see.

        These two values are lining up for me so long as I have the mouse inside the bounds of the bar, I have not seen these 1 apart yet.

        This potentially could be the COBC setting being used, can you tell me what instrument this is on and any other settings such as COBC or chart settings that may matter like DaysToLoad.

        I want to set this up as close to what you have to see if I can reproduce to know what is happening.

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment


          #5
          yes working ok on my chart now but not this morning.

          will try again tomorrow am (GMT).

          Comment


            #6
            submitted on

            Attached Files
            Last edited by futurenets; 06-22-2015, 10:45 AM.

            Comment


              #7
              Hello,

              If the thumbnail did not load, this is a known issue on the forum currently which is being looked into / addressed.
              JesseNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Kaledus, Today, 01:29 PM
              2 responses
              7 views
              0 likes
              Last Post Kaledus
              by Kaledus
               
              Started by frankthearm, Yesterday, 09:08 AM
              13 responses
              45 views
              0 likes
              Last Post frankthearm  
              Started by PaulMohn, Today, 12:36 PM
              2 responses
              16 views
              0 likes
              Last Post PaulMohn  
              Started by Conceptzx, 10-11-2022, 06:38 AM
              2 responses
              55 views
              0 likes
              Last Post PhillT
              by PhillT
               
              Started by yertle, Yesterday, 08:38 AM
              8 responses
              37 views
              0 likes
              Last Post ryjoga
              by ryjoga
               
              Working...
              X