• 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

How to draw an up arrow

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

    How to draw an up arrow

    I have a statement and have created action to draw up arrow but its not working OR i do not see the drawing (which could be no at the proper axis or something

    https://gyazo.com/e296181b96a70ec6bd625ef5392c8083

    Thanks for any help

    #2
    Hello DTSSTS,

    Thanks for your post.

    In your example screenshot the Y value (or price level) is at 0, so your arrow would be at the price level of 0, this is the default behavior of the strategy builder when you do not provide where you want to place the arrow vertically on the chart. The 0 for "bars ago is the "when" in time the arrow is placed and 0 would be the bar that is being processed when your conditions to draw the arrow are true.

    Also, when draw objects use the same tag name, you will only see the latest arrow and this is the default behavior in the strategy builder to minimize the draw objects. If you would like to see all the historical occurrences of the arrow, you would need to make your draw object tag name unique per instance of drawing the object.

    Here is a short video that addresses how to use price to place the draw objects as well as how to create unique tag names per occurrence: https://Paul-ninjaTrader.tinytake.co...A4M184NTkwOTg3
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      what i was trying to do was to plot a drawing in the price area or just below. So what would be an approapiate Y setting as prices vary etc
      Also i was wanting to draw where the Slope was > 0.12 of a MA as to research an appropreite setting for use in a strat

      Comment


        #4
        Hello DTSSTS,

        Thanks for your reply.

        In the video I provided I showed using either High or Low price. These are typically used because when you scroll your chart left or right and the price scale is on autoscale the arrows will usually be visible. You can also use any indicator that provides a plot.

        Regarding slope, I've attached an example where if the slope of a 20 period SMA is > 0.12, for each bar where that is true, to draw a blue dot on the 20 period moving average.

        Click image for larger version

Name:	DTSSTS-1.PNG
Views:	1
Size:	96.8 KB
ID:	1046068
        Paul H.NinjaTrader Customer Service

        Comment


          #5
          if the attachment is the image show in the post, i see it but i CANNOT read the input window is too small. I do not see an attachment or link to open a image file to view larger

          Comment


            #6
            i got it open now thanks

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by tonynt, Today, 02:18 PM
            1 response
            3 views
            0 likes
            Last Post NinjaTrader_JoshG  
            Started by denalek2419, Today, 01:46 PM
            2 responses
            9 views
            0 likes
            Last Post denalek2419  
            Started by REI140205, Today, 12:58 PM
            1 response
            8 views
            0 likes
            Last Post NinjaTrader_Jim  
            Started by Aditrade, Today, 12:33 PM
            1 response
            3 views
            0 likes
            Last Post NinjaTrader_Kate  
            Started by music_p13, Today, 12:22 PM
            2 responses
            10 views
            0 likes
            Last Post music_p13  
            Working...
            X