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

loading browser window in AddOn

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

    loading browser window in AddOn

    Any chance we could get a sample AddOn along these lines; it probably has broad utility

    Would like to be able to load a browser window that includes symbol link.

    Something like this for example:
    http://m.nasdaq.com/symbol/aapl



    This seems to cover a lot of what might be needed:
    http://www.wpf-tutorial.com/misc-con...owser-control/

    #2
    Hello drmartell,

    Thank you for the post.

    We have a full addon sample that you could append a WebBrowser control to if you wanted to test this out.

    You could likely use the XAML syntax in the tutorial you provided in combination with the existing example to see this.

    The standard WebBrowser control would only need the following xaml:
    Code:
     <WebBrowser ></WebBrowser>
    The WebBrowser control in WPF does have problems with Transparent windows which NinjaTrader uses, so this can come up also. You can find explanations of this concept by searching google for "WPF transparent windows and web browser control" To resolve this you may instead need to use a Window instead of an NTWindow so Or specify that the window does not have transparency.

    You can find our addon example and addon visual studio project here: https://ninjatrader.com/support/helpGuides/nt8/addon_development_overview.htm

    As there is no use for a web browser in NinjaTrader currently you would likely need to explore using the control in the platform and curb any issues you locate along the way with debugging.

    I look forward to being of further assistance.
    Last edited by NinjaTrader_Jesse; 09-26-2023, 10:21 AM.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Hello, The link to the example of a browser window addon is missing. Do you have an updated link or example?

      Comment


        #4
        Hello iamjaime89,

        There was no link to a sample with a browser window, the link is to an addon sample which has a NinjaTrader styled WPF window. As mentioned in the post above the WPF web browser control has problems with transparency being used in windows which NinjaTrader uses so you would have to explore using that control on your own and fix any issues that may arise while using it.

        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by hurleydood, 09-12-2019, 10:45 AM
        14 responses
        1,093 views
        0 likes
        Last Post Board game geek  
        Started by cre8able, Yesterday, 04:16 PM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by cre8able, Yesterday, 04:22 PM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by stafe, 04-15-2024, 08:34 PM
        5 responses
        28 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by StrongLikeBull, Yesterday, 04:05 PM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X