Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Alerts on multiple instruments

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

  • NinjaTrader_Jim
    replied
    Hello explorer101,

    The Dispatcher would be needed in State.Historical because this state is not processed by the UI thread and we will need to Dispatch to the UI thread for any UI related work.

    The Dispatcher in ChartControl_ContextMenuOpening would not be needed since the method is already subscribed to the ChartControl.ContextMenuOpening Event Handler. It is already being fired from the UI thread.

    Let us know if you have any additional questions.

    Leave a comment:


  • explorer101
    replied
    Hello, i was looking at the sample code RightClickChartAdded above.

    Is there any reason why ChartControl.Dispatcher.InvokeAsync(new Action(() => is used in the opening and not the closing of context menu?

    I have something i have been using but notice on occassion the closing function of context menu is not being called

    thanks

    Leave a comment:


  • NinjaTrader_AlanP
    replied
    Hello ulisesguerrero,

    This may be possible however would not be supported.

    Please let us know if you need further assistance.

    Leave a comment:


  • ulisesguerrero
    replied
    Hello Alan,

    Thank you. Excelent, working steady now! Do you know if its possible to move the item to the top of the list, or alongside the Buy and Sell Stops?

    Regards
    Ulises

    Leave a comment:


  • NinjaTrader_AlanP
    replied
    Hello Ulises,

    I moved the logic out of on render and it should work consistently.

    Please let us know if you need further assistance.
    Attached Files

    Leave a comment:


  • ulisesguerrero
    replied
    Hello Alan,

    Thank you for the example. Unfortunately, it doesn't work 50% of the time, sometimes it appears, sometimes it doesn't, specially won't appear after sequential right clicks. I'll try to see if I can find the reason.

    Regards,
    Ulises

    Leave a comment:


  • brucerobinson
    replied
    The ticket ID is: SFT-3557
    Please add my vote.

    Leave a comment:


  • NinjaTrader_AlanP
    replied
    Hello Ulises,

    I modified the script and accomplished this using OnRender. See Attached.

    Please let us know if you need further assistance.

    Attached Files

    Leave a comment:


  • ulisesguerrero
    replied
    Hello Chelsea,

    Thank you. Nice example. I was thinking of adding it on the main menu (after right click) rather than the indicator menu. Do you have an example for this? The example only works if I click on the particular indicator, SMA or EMA, but I want to add the item to the menu on any right click as long as it is within the chart area.

    Thanks
    Ulises

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello ulisesguerrero ,

    It is possible to use undocumented code to add to the context menu of a chart from an indicator.

    Below is a link to a sample script that does this.

    Leave a comment:


  • ulisesguerrero
    replied
    Hello,

    Thank you. Is it possible to add custom right-click menu items? A custom button wouldn't work well, because it would not be aware of the price the alert needs to be set to.

    That's the easiest way I know, to simply right-click on the chart at a certain price (horizontal line) and enable alert.

    Regards
    Ulises

    Leave a comment:


  • NinjaTrader_Jim
    replied
    Hello ulisesguerrero,

    The current ways to assign alerts are the easiest it can get unless changes are made to the NinjaTrader platform.

    I have submitted a feature request on your behalf in order to right click on a chart or Market Analyzer cell to more easily apply an alert at a given price level.

    The ticket ID is: SFT-3557

    We collect interest in feature requests before determining if the feature should be implemented. For that reason we cannot offer an ETA or promise of fulfillment. Upon implementation, the number for the ticket ID can be publicly found in the Release Notes page of the help guide. I will provide a link below.

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

    Please let us know if there is anything else we can do to help.

    Leave a comment:


  • ulisesguerrero
    replied
    Hello,

    I tried using the market analyzer, right click and Alerts, and then I can enable alert for a single instrument and a specific price. Seems to work, but it is a very cumbersome process to add one alert. Is there a faster way of creating the alert within Market Analyzer?

    Ideally just right click a chart on a certain price, set alert.

    Thanks
    Ulises

    Leave a comment:


  • NinjaTrader_Jim
    replied
    Hello ulisesguerrero,

    Another suggestion may be to leave a chart open that has the alerts applied and to use another chart window for your regular viewing.

    If there is anything else we can do to help, please let us know.

    Leave a comment:


  • ulisesguerrero
    replied
    Thank you.

    I monitor/trade more than 30+ instruments, it would be way too complex to have a tab for each one of them. Any other alternative?

    Regards
    Ulises

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by DayTradingDEMON, Today, 09:28 AM
3 responses
19 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by Stanfillirenfro, Today, 07:23 AM
9 responses
23 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by George21, Today, 10:07 AM
0 responses
8 views
0 likes
Last Post George21  
Started by navyguy06, Today, 09:28 AM
1 response
7 views
0 likes
Last Post NinjaTrader_Gaby  
Started by cmtjoancolmenero, Yesterday, 03:58 PM
8 responses
34 views
0 likes
Last Post NinjaTrader_ChelseaB  
Working...
X