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

Unable to start external process

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

  • trader_rick
    replied
    Problem solved.

    My mistake. Stepped through the debugger and found the path wasn't being executed because I'd wired up the wrong menu items to the called methods.

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello trader_rick ,

    This is something outside of the realm of what NinjaTrader supports, I would not be able to assist.

    However, this thread will remain open for any community members that would like to assist.

    You can also contact one of our professional NinjaScript Consultants who would be eager to create or modify this script at your request or assist you with your script. Please let me know if you would like our business development follow up with you with a list of professional NinjaScript Consultants who would be happy to create this script or any others at your request.

    Leave a comment:


  • trader_rick
    started a topic Unable to start external process

    Unable to start external process

    Hi guys,

    I'm written a NinjaScript indicator which successfully grabs the price corresponding to a mouse click on a chart and then enters menu items in the context menu allowing me to buy or sell with a click.

    The indicator is for historical discretionary trading only so intends to make use of NT's add execution manually functionality. I hope to call a hot key manager to basically automate all the tedious data entry using my indicator.

    However, I am stuck at the point of being able to call an external program. I'm using;

    Code:
    System.Diagnostics.Process.Start( "notepad.exe" );
    For some reason, nothing happens.
    The indicator itself works fine and I can open up a message box in the line following the above.
    There are no visible error messages, including in the log.
    If I run the above line as a simple standalone C# program, it works fine.

    Any pointers would be much appreciated.

    thanks

Latest Posts

Collapse

Topics Statistics Last Post
Started by frslvr, Today, 09:38 AM
1 response
4 views
0 likes
Last Post NinjaTrader_BrandonH  
Started by guitarcombs, Today, 09:21 AM
1 response
5 views
0 likes
Last Post NinjaTrader_PatrickG  
Started by Kawasaki, 03-18-2021, 08:48 PM
6 responses
2,206 views
0 likes
Last Post aytacasan  
Started by joostb, Today, 04:40 AM
1 response
19 views
0 likes
Last Post NinjaTrader_Jesse  
Started by timmbbo, Today, 08:51 AM
1 response
10 views
0 likes
Last Post NinjaTrader_Zachary  
Working...
X