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

PriceMarker as DrawingTool

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

    PriceMarker as DrawingTool

    Hi, it would be very desirable if there was a PriceMarker as a DrawingTool, which could be used for example as a price marker of a line. I have unfortunately found nothing that helps me and if not already available, please create a new feature request, thank you.

    Click image for larger version

Name:	Screenshot_4.jpg
Views:	222
Size:	4.8 KB
ID:	1208818
    sidlercom80
    NinjaTrader Ecosystem Vendor - Sidi Trading

    #2
    Hello sidlercom80,

    Thank you for your post.

    You could take a look at the pivots indicator, which uses custom plotting in OnRender as well and adds plots for the Price Markers as well. Essentially this is the only way to get the Price Markers in NinjaScript. That being said, I've added a vote for you to an existing feature request for a PriceMarker drawing tool. This request is being tracked under the number SFT-1228.

    As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted in the Release Notes page of the Help Guide.

    Release Notes — https://ninjatrader.com/support/help...ease_notes.htm

    Please let us know if we may be of further assistance to you.

    Please let me know if you have any questions.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      Hi Kate, I can't use Series because I want to use dynamically created objects, e.g. lines generated by runtime. Thank you for adding!
      You said there is an existing feature request. I can't find anything under that number (SFT-1228). Can you tell me the link where this was created, thanks?
      Last edited by sidlercom80; 07-18-2022, 11:08 AM.
      sidlercom80
      NinjaTrader Ecosystem Vendor - Sidi Trading

      Comment


        #4
        Hello sidlercom80,

        Thank you for your reply.

        Looks like it originated with this forum thread:



        Please let us know if we may be of further assistance to you.
        Kate W.NinjaTrader Customer Service

        Comment


          #5
          Hi Kate, thank you for your effort! The original thread started on 15.11.2016. That is only 6 YEARS ago. When this is implemented, I will be 150 years old
          sidlercom80
          NinjaTrader Ecosystem Vendor - Sidi Trading

          Comment


            #6
            sidlercom80 The example provided in that thread by NinjaTrader_PatrickH (this file: https://ninjatrader.com/support/foru...etch?id=886414) allows specifying any value you like at runtime. The Series is purely a vehicle for the values -- you can override, as per that example. Does that work for you?

            Thanks.
            Multi-Dimensional Managed Trading
            jeronymite
            NinjaTrader Ecosystem Vendor - Mizpah Software

            Comment


              #7
              jeronymite , as I already wrote in post #3, I can't use series because I don't know how many objects I need. There will be objects added at runtime, so your suggestion unfortunately not a solution, thanks anyway.
              sidlercom80
              NinjaTrader Ecosystem Vendor - Sidi Trading

              Comment


                #8
                sidlercom80 There's nearly always a way. Try the attached. You'll need to set the Panel to "Same as input series". It's still using Series, but "under the covers". It has the overhead of the maximum number of lines you want always being there, even if not visible, but you can set the values of the lines to whatever you want, and show/hide the lines whenever you want. See if that helps.

                Thanks.
                Attached Files
                Last edited by jeronymite; 07-19-2022, 03:50 AM.
                Multi-Dimensional Managed Trading
                jeronymite
                NinjaTrader Ecosystem Vendor - Mizpah Software

                Comment


                  #9
                  jeronymite yes I will probably have to do this as you described until sometime maybe NT implements a drawingtool marker. Thanks for your explanation, I really appreciate it!
                  sidlercom80
                  NinjaTrader Ecosystem Vendor - Sidi Trading

                  Comment


                    #10
                    jeronymite unfortunately, your suggestion doesn't work either, because I only need the marker without the line. If I set the line to transparent, the marker also becomes transparent.
                    sidlercom80
                    NinjaTrader Ecosystem Vendor - Sidi Trading

                    Comment


                      #11
                      Understood, sidlercom80 . You'll see here that what you want is exactly what I requested "some significant time ago".

                      Thanks.
                      Multi-Dimensional Managed Trading
                      jeronymite
                      NinjaTrader Ecosystem Vendor - Mizpah Software

                      Comment


                        #12
                        sidlercom80 Well, the word "impossible" often means "not yet known or discovered" ... so in that spirit, try this "variation on a theme".

                        Thanks.

                        Attached Files
                        Multi-Dimensional Managed Trading
                        jeronymite
                        NinjaTrader Ecosystem Vendor - Mizpah Software

                        Comment


                          #13
                          jeronymite this looks interesting! I will gladly take a closer look, thank you.

                          This method is certainly not very efficient with many plots, do you have experience with many plots (100 and more) ?
                          Last edited by sidlercom80; 07-20-2022, 07:12 AM.
                          sidlercom80
                          NinjaTrader Ecosystem Vendor - Sidi Trading

                          Comment


                            #14
                            sidlercom80 Lack of efficiency in this approach is inevitable, as mentioned for the prior iteration using lines. To avoid that, I expect one really needs to implement a Drawing Tool or some such. But for relatively small numbers of maximum markers, it would work "acceptably well", if not as well as one would want of a native capability in the platform.

                            Thanks.
                            Multi-Dimensional Managed Trading
                            jeronymite
                            NinjaTrader Ecosystem Vendor - Mizpah Software

                            Comment

                            Latest Posts

                            Collapse

                            Topics Statistics Last Post
                            Started by andrewtrades, Today, 04:57 PM
                            1 response
                            8 views
                            0 likes
                            Last Post NinjaTrader_Manfred  
                            Started by chbruno, Today, 04:10 PM
                            0 responses
                            6 views
                            0 likes
                            Last Post chbruno
                            by chbruno
                             
                            Started by josh18955, 03-25-2023, 11:16 AM
                            6 responses
                            436 views
                            0 likes
                            Last Post Delerium  
                            Started by FAQtrader, Today, 03:35 PM
                            0 responses
                            7 views
                            0 likes
                            Last Post FAQtrader  
                            Started by rocketman7, Today, 09:41 AM
                            5 responses
                            19 views
                            0 likes
                            Last Post NinjaTrader_Jesse  
                            Working...
                            X