Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Right side margin not adhered to in custom indicator

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

    Right side margin not adhered to in custom indicator

    I have a custom indicator that draws up arrows and down arrows. I have set the right side margin in the properties dialog. However, the chart draws the arrows outside the margins. How do I correct that?

    Click image for larger version

Name:	2018-11-19_14-45-58.jpg
Views:	115
Size:	34.9 KB
ID:	1040347

    #2
    Hello chartish,
    Thanks for your post.

    We would need to see how the indicator is setting the coordinates for the arrows. Can you post that here or send it in to me?

    Are there any errors on the Logs tab of your Control Center?

    What version of NinjaTrader 8 are you using?

    If you right-click inside the chart>>Reload all historical data do you see the same?

    Josh G.NinjaTrader Customer Service

    Comment


      #3
      Draw.TriangleUp(this, "MyTriangleUp" + CurrentBar, false, 0, Low[0] - dDrawOffset, Brushes.Green, true);

      Comment


        #4
        chartish,

        Please write in to PlatformSupport(AT)NinjaTrader(DOT)com and reference this forum post with RE:JOSH in the subject line. Please attach your Log and Trace files to your email so that I may investigate this matter further. You may follow the steps below to attach those files.
        • Open your NinjaTrader folder under My Documents.
        • Right click on the 'log' and 'trace' folders and select Send To> Compressed (zipped) Folder.
        • Send the 2 compressed folders as attachments to this email.
        • Once complete, you can delete these compressed folders.


        Josh G.NinjaTrader Customer Service

        Comment


          #5
          I sent the logs, trace and indicator file to you.

          Comment


            #6
            chartish,

            This is not occurring on my end with the script you sent me. I also do not see anything suspicious inside your log and trace files.

            If you right-click inside the chart>>Reload all historical data do you see the same?

            Does this occur if you create a new chart? Without a chart template?

            Josh G.NinjaTrader Customer Service

            Comment


              #7
              Originally posted by NinjaTrader_JoshG View Post
              chartish,

              This is not occurring on my end with the script you sent me. I also do not see anything suspicious inside your log and trace files.

              If you right-click inside the chart>>Reload all historical data do you see the same?

              Does this occur if you create a new chart? Without a chart template?

              1. Reload Historical data - Same behavior
              2. New chart, not template - Same behavior.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by fitspressoburnfat, Today, 04:25 AM
              0 responses
              2 views
              0 likes
              Last Post fitspressoburnfat  
              Started by Skifree, Today, 03:41 AM
              1 response
              4 views
              0 likes
              Last Post Skifree
              by Skifree
               
              Started by usazencort, Today, 01:16 AM
              0 responses
              1 view
              0 likes
              Last Post usazencort  
              Started by kaywai, 09-01-2023, 08:44 PM
              5 responses
              603 views
              0 likes
              Last Post NinjaTrader_Jason  
              Started by xiinteractive, 04-09-2024, 08:08 AM
              6 responses
              23 views
              0 likes
              Last Post xiinteractive  
              Working...
              X