PDA

View Full Version : Basic Automated Trade Tutorial - Strategy


tonyh
03-09-2010, 01:06 PM
Hello:

I am looking for a simple tutorial combining the basic functions, processes, and principles for executing a trade automatically. I have built numerous indicators and strategies and would now like to automatically execute trades. The help sections show functions and what each variable accomplishes. However, there is nothing that provides a template to accomplish an automated trade.

Thanks.

Tony

NinjaTrader_Josh
03-09-2010, 01:22 PM
Tony,

Please see some of these tutorials here for creating some basic auto trading strategies: http://www.ninjatrader-support.com/HelpGuideV6/helpguide.html?Overview34

You can go through the Strategy Wizard and press View Code to see what kind of code the wizard generates. Or you can go through the aspects of the tutorials relating to custom programming.

tonyh
03-10-2010, 07:00 AM
Hello Josh:

I am familiar with these help section areas. I don't use the Strategy Wizard, but program my own code. My question, once again, is how does one setup the overall structure for automated trading? How do you know if there are no trades...or trades currently ongoing? Updating stops/limit orders? Surely there are functions and variables that only relate to automated trading. Perhaps there is a list of ALL variables used in NT related to automated trading. I don't expect any programming help, but feel we need to know how the system should work. Thanks.

Tony

NinjaTrader_Bertrand
03-10-2010, 07:25 AM
Tony, for an overview over auto trading related NinjaScript methods and concepts please press F1 and go to the NinjaScript section in the help guide, from there locate the NinjaScript Language Reference. Now review the 'Custom Strategy Methods and Properties' section.