• 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 Dan_D_Trader, Today, 03:49 PM
              0 responses
              4 views
              0 likes
              Last Post Dan_D_Trader  
              Started by JohnAymin, Today, 02:38 PM
              1 response
              6 views
              0 likes
              Last Post NinjaTrader_Tyler  
              Started by Rmos22, Today, 02:20 PM
              2 responses
              23 views
              0 likes
              Last Post Rmos22
              by Rmos22
               
              Started by sawtooth500, Today, 12:59 PM
              1 response
              9 views
              0 likes
              Last Post NinjaTrader_Spencer  
              Started by Steve L, Yesterday, 09:36 PM
              1 response
              24 views
              0 likes
              Last Post NinjaTrader_Kate  
              Working...
              X