![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Feb 2008
Posts: 12
Thanks: 0
Thanked 0 times in 0 posts
|
I want to program simple strategy,
for example Close[0]=1, i need to have long order if the price goes below 0.75 and short order if the price go above 1.25 (for the next bar) I would enter EnterLongLimit(1, 0.75) EnterShortLimit(1, 1.25) Because NT unable to handle these orders alltogether is there another way to achieve the same functionality?
Last edited by mike8943; 07-17-2008 at 08:22 AM.
|
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Two separate strategies or simulate your own orders where if the price == 0.75 call EnterLong().
Ray
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with a simple strategy | John833 | Strategy Analyzer | 13 | 06-30-2008 01:05 PM |
| Simple Strategy question | yoramva | Strategy Development | 5 | 04-03-2008 07:25 AM |
| simple automated strategy | fxyorky | General Programming | 2 | 01-23-2008 09:01 AM |
| Simple Strategy | Oli | Automated Trading | 2 | 03-05-2007 11:42 PM |
| Simple profit/stop strategy | Steveinvest | Miscellaneous Support | 1 | 12-30-2005 02:50 AM |