NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Educational Resources > Reference Samples

Reference Samples Official NinjaScript reference code samples

Reply
 
Thread Tools Display Modes
Old 09-06-2007, 12:56 PM   #1
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default Strategy: Using multiple entry/exit signals simultaneously

Sometimes you want to trade an instrument with several different possible entry conditions. To keep track of which trade used which conditions can become cumbersome if done on paper.

The attached reference sample demonstrates the following key concepts:
  • Adding user definable indicators to the strategy for display on the chart
  • Setting the manner in which NinjaTrader handles entry orders
  • Using unique identifiers for entry and exit orders
Important methods and properties used include:* Entry handling properties can be either programmatically set or set through the Strategy dialog window

Other methods and properties of interest include:Import instructions:
  1. Download the file contained in this thread to your PC desktop
  2. From the Control Center window, select the menu File > Utilities > Import NinjaScript
  3. Select the downloaded file
Attached Files
File Type: zip SampleMultipleEntryExitSignals.zip (5.0 KB, 1999 views)
Last edited by NinjaTrader_Josh; 09-24-2007 at 09:00 PM.
NinjaTrader_Josh is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Simultaneous Trades at "Exit on Close" With Setting "1 Entry Per Direction&q KBJ Strategy Analyzer 1 04-27-2007 05:34 AM
Exceeded entry signals...error message funk101 Strategy Development 3 04-06-2007 04:49 AM
Where's the horizontal pending, entry and exit lines? Antraman Charting 4 01-12-2007 02:26 AM
order entry/exit Vin Miscellaneous Support 1 06-29-2005 12:10 AM
Blocking Multiple Order Signals underground Automated Trading 8 03-22-2005 06:29 AM


All times are GMT -6. The time now is 06:41 PM.