Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

strategy trade mediated by user click YES or NOT ?

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

    strategy trade mediated by user click YES or NOT ?

    hello, is it possible in NinjaScript that when a Strategy is going to open a trade, an Alert window is opened to allow manual confirmation of the opening of the trade or not, by the trader?

    Does NinjaTrader allow a Strategy to interact with an user click YES or NOT, before opening a trade?
    or every trade generated by the Strategy can not be mediated by the acceptance of a human operator?

    I would like that when the strategy is going to open a trade, an alert-confirm-window appears, as shown in this image: is it possible in NinjaScript?


    #2
    Hello,

    Thank you for the question.

    This is not something that would be supported.

    NinjaScript strategies are meant to have no user interaction and will submit orders without any notification so this is going against what was already put in place.

    There is a unsupported method to create a a message box using C#, but this would stop the script completely until you click the button so this could cause unexpected errors or problems logically if you leave it un attended.

    Here is some general information on this: http://www.dotnetperls.com/messagebox-show

    Unfortunately because this is unsupported I would be unable to provider further help on this specifically but this would be a way to do what you are asking.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by futtrader, 04-21-2024, 01:50 AM
    6 responses
    57 views
    0 likes
    Last Post futtrader  
    Started by sgordet, Today, 11:48 AM
    0 responses
    1 view
    0 likes
    Last Post sgordet
    by sgordet
     
    Started by Trader146, Today, 11:41 AM
    0 responses
    2 views
    0 likes
    Last Post Trader146  
    Started by jpapa, 04-23-2024, 07:22 AM
    2 responses
    17 views
    0 likes
    Last Post rene69851  
    Started by funk10101, Today, 11:35 AM
    0 responses
    1 view
    0 likes
    Last Post funk10101  
    Working...
    X