• 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

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:	1
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?

    JoshNinjaTrader 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.


        JoshNinjaTrader 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?

            JoshNinjaTrader 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 Tenfold, Yesterday, 11:38 PM
              6 responses
              33 views
              0 likes
              Last Post Tenfold
              by Tenfold
               
              Started by Seneca, Today, 10:50 AM
              2 responses
              21 views
              0 likes
              Last Post Seneca
              by Seneca
               
              Started by antrux, Today, 09:47 AM
              3 responses
              12 views
              0 likes
              Last Post NinjaTrader_Jim  
              Started by wtfalfred, Today, 06:04 AM
              1 response
              12 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by guillembm, Today, 09:02 AM
              1 response
              15 views
              0 likes
              Last Post NinjaTrader_SergeyS  
              Working...
              X