Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Scrunches up my data or no diamonds

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

    Scrunches up my data or no diamonds

    Hi, I created a strategy based on the crossover of the PPO (PPO over the Smoothed line). I'm not wanting to do automated order entry but just have diamonds plot o the chart long or short.

    The problem is that if don't have autoscale on in the "do this" part of the strategy, nothing shows up. If I do have it on, the data scrunches up and can't be read and the diamonds plot on the bottom of the chart. This might be a scaling problem related to the fact of trading Euro Futures (6E) and the 4 decimal points to the right.

    Anyway here are screenshots:

    no auto scale

    World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


    auto scale

    World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.


    Is there a settting I need to change... or some other issue? Thanks for yoiur help!


    Drmax

    #2
    drmax,

    The issue is because the values you are setting your diamonds to draw on is too far from the price range being currently displayed. With auto scale off, the objects are outside the visible range. With auto scale on, since it is so far away, it tries to draw it and you get all the white space inbetween the bars and the objects.

    Resolution is to draw the objects within the price range of the bars. You could do something like Close[0] + 5 * TickSize or something like that. Just offset the object a few ticks from one of the OHLC values of the bars.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      "Resolution is to draw the objects within the price range of the bars. You could do something like Close[0] + 5 * TickSize or something like that. Just offset the object a few ticks from one of the OHLC values of the bars."

      Excellent, but where within the Wizard do I go to make that modification? I don't see that option available as a modifiable variable on the object itself. And I can't make the changes on the strategy once inserted within the chart, right?

      I appreciate the help.

      Drmax

      Comment


        #4
        You need to make changes and add a new instance of the strategy.
        You make the changes where you added the DrawDiamond. There is a parameter field for value.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          I don't see any parameter field for value

          World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.

          Comment


            #6
            It is the Y field.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              so I can use like "MyInput0" like here?
              World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.

              Comment


                #8
                You should not do it like that. Instead you should select the Y field, press the ... button and select the list item of Close from the price category and then use the Offset type to ticks and offset value to something like 5.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  ok, got it! Thanks for your help, patience and persistence!

                  DrMax

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                  0 responses
                  656 views
                  0 likes
                  Last Post Geovanny Suaza  
                  Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                  0 responses
                  370 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by Mindset, 02-09-2026, 11:44 AM
                  0 responses
                  109 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                  0 responses
                  574 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by RFrosty, 01-28-2026, 06:49 PM
                  0 responses
                  577 views
                  1 like
                  Last Post RFrosty
                  by RFrosty
                   
                  Working...
                  X