Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Drawing ToolBar Indicator stoped working after NT8 Update

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

    Drawing ToolBar Indicator stoped working after NT8 Update

    Hi, I was hoping someone could tell me why this attached drawing indicator stopped working. It was written by sim22. It worked fine till NT8 had an update . Any help would be much appreciated.
    Thanks Woody.
    Attached Files

    #2
    Hi Woody,

    There have been many code breaking changes since NinjaTrader 8 was in Beta 11.

    Have you contacted Sim22 to ask if there is an updated version for the official release of NinjaTrader 8?

    The actual script include a dll so this is something you would want to contact the original author for assistance with.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks Chelsea.
      I found another drawing indicator that I could use to replace the last one.

      Question, would it be possible to use the icons that are stored in my Ninjatrader 8 bin directory. I have attached a screenshot of the code.
      Any help would be appreciated.
      Thanks Woody.

      Comment


        #4
        One more time!
        Attached Files

        Comment


          #5
          Hello woodyfox,

          Just to confirm, you are trying to use an .ico file as the image for the button?

          From my understanding yes this is possible with WPF buttons by adding an image to the button's content.

          Below are links to 3rd party sites that have more information.

          I want to create buttons with images and text inside. For example, i would use different images and text for buttons like 'Browse folders' and 'Import'. One of the options would be to use a templat...


          In WPF: <Button Width="24" Height="24" > <Image Source="pack://application:,,,/res/x.png" VerticalAlignment="Center"/> </Button> How can I mimic this in C#? I can't find any
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Hi Chelsea,
            So, I would have to know how to program this with all new code. I was hoping the content line in the attached .png could simply be changed to were my icon is located. I'm not a programmer by any means LOL !
            Wishful thinking on my part?

            Comment


              #7
              Hello woodyfox,

              It would be different but not much different. The drawing object images in NinjaTrader are a custom font with special characters. But you can use an image instead.

              Create an image object variable with the path of your image.

              Set the Content property of the button to the variable.
              Chelsea B.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by jeronymite, 04-12-2024, 04:26 PM
              2 responses
              29 views
              0 likes
              Last Post NinjaTrader_BrandonH  
              Started by Mindset, 05-06-2023, 09:03 PM
              10 responses
              265 views
              0 likes
              Last Post NinjaTrader_BrandonH  
              Started by michi08, 10-05-2018, 09:31 AM
              5 responses
              743 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by The_Sec, Today, 02:29 PM
              0 responses
              4 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by tsantospinto, 04-12-2024, 07:04 PM
              4 responses
              63 views
              0 likes
              Last Post aligator  
              Working...
              X