Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Help with arrows

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

    Help with arrows

    I created a MA cross strategy. When I click on the strategy the price goes to the top and scrunches up into a narrow line. How do I alleviate this? Thanx.

    #2
    Hello,

    Something you are plotting on the chart is not scaled the same as the price. Look at your plot values.
    DenNinjaTrader Customer Service

    Comment


      #3
      Ben how do I go about scaling them the same or correctly?

      Comment


        #4
        js1257, not sure I follow - do you draw arrows within the strategy? If yes, please check into the Y Axis value set.

        BertrandNinjaTrader Customer Service

        Comment


          #5
          Thank you for your reply. I did make it so that it does paint arrows on the chart. In playing with the Y axis it did fix one thing in that it does not paint the arrows on the bar but now places them above or below the price bar. However the same study on a different instrument still paints the arrows on the price bar. How do I correct this?

          Comment


            #6
            Please post a screenshot of how you have set this up for the strategy, if you reference TickSize it will for sure be different for various symbols.
            BertrandNinjaTrader Customer Service

            Comment


              #7
              I referenced price.

              Comment


                #8
                So did you just use price as Y axis value or price in combo with an offset based on TickSize like demonstrated here? - http://www.ninjatrader-support.com/H...gOnAChart.html
                BertrandNinjaTrader Customer Service

                Comment


                  #9
                  I will make the same study with a different name and play with it. Then I will let you know. Thanx.

                  Comment


                    #10
                    Thanks for your article and it's really a nice one. I did make it so that it does paint arrows on the chart. In playing with the Y axis it did fix one thing in that it does not paint the arrows on the bar but now places them above or below the price bar. However the same study on a different instrument still paints the arrows on the price bar. How do I correct this?

                    Comment


                      #11
                      You may need to code the TickSize multiplier as an input to make it usable on different instruments, so you can adjust on the fly as needed....
                      BertrandNinjaTrader Customer Service

                      Comment


                        #12
                        Bertrand how do you do this? Thanx

                        Comment


                          #13
                          You take a look at the attached sample, showing the concept for the long side of things....
                          Attached Files
                          BertrandNinjaTrader Customer Service

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by tkaboris, Today, 08:01 AM
                          0 responses
                          1 view
                          0 likes
                          Last Post tkaboris  
                          Started by BarzTrading, Today, 07:25 AM
                          1 response
                          10 views
                          1 like
                          Last Post NinjaTrader_Clayton  
                          Started by EB Worx, 04-04-2023, 02:34 AM
                          7 responses
                          161 views
                          0 likes
                          Last Post VFI26
                          by VFI26
                           
                          Started by Mizzouman1, Today, 07:35 AM
                          1 response
                          9 views
                          0 likes
                          Last Post NinjaTrader_Gaby  
                          Started by Radano, 06-10-2021, 01:40 AM
                          20 responses
                          616 views
                          0 likes
                          Last Post NinjaTrader_BrandonH  
                          Working...
                          X