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

Toggle WPF Form in Indicator

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

    Toggle WPF Form in Indicator

    Hello Guys and Girls,

    i would like to ask if it is possible to show and hide a custom wpf form with a few form controls like radio buttons and a slider? Kind of a popup that should be opened and closed from within the indicator.

    Background is that i would like to set/edit some settings for a custom indicator object.

    thank you,
    mike

    #2
    Hello mk77ch,

    Thanks for opening the thread.

    You could show/hide controls with the Visibility property. Setting these properties can be done through another control if you wish. Some controls may need a custom template to modify the mouse over behavior, like highlighting a button that has been set to Visibility.Hidden.

    My colleague Chelsea has some examples on the forums for creating WPF controls on a chart and to create a window from an indicator. I'll provide a link below for the thread's reference and attach the NTWindow from an Indicator.

    WPF controls on a chart - http://ninjatrader.com/support/forum...327#post499327

    Attached is the example that can demonstrate creating an NTWindow from an indicator. Please the documentation on creating an AddOn Window and the AddOn Framework example from the AddOn Development Overview section of the help guide for more information on making an NTWindow.

    Creating an AddOn window - https://ninjatrader.com/support/help...don_window.htm

    AddOn Develoment Overview (AddOn Framework example herein.) - https://ninjatrader.com/support/help...t_overview.htm

    Please let us know if we can be of further assistance.
    Attached Files
    JimNinjaTrader Customer Service

    Comment


      #3
      thank you very much, one of these should do the trick ;-)

      cheers,
      mike

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by gentlebenthebear, Today, 01:30 AM
      3 responses
      14 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by PhillT, Today, 02:16 PM
      2 responses
      6 views
      0 likes
      Last Post PhillT
      by PhillT
       
      Started by Kaledus, Today, 01:29 PM
      3 responses
      10 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by frankthearm, Yesterday, 09:08 AM
      14 responses
      47 views
      0 likes
      Last Post NinjaTrader_Clayton  
      Started by PaulMohn, Today, 12:36 PM
      2 responses
      17 views
      0 likes
      Last Post PaulMohn  
      Working...
      X