![]() |
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 |
|
Senior Member
|
I enter my order with this line:
Code:
Order = EnterLongLimit(3,EntryPrice,"Long"); Code:
SetStopLoss("Long",CalculationMode.Price,StopLong,false);
I take 2 contracts "off the table" with this line: Code:
ExitLong(2,"GrabLong","Long"); |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
|
Hello,
It sounds like you are scaling out. If so, you will need to do it this way: http://www.ninjatrader-support2.com/...ead.php?t=3751
Ben
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
|
THx, Ben! I finally have my Beta and so far it looks golden!
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pulling Data | miketpcc2 | General Programming | 2 | 01-02-2010 12:30 AM |
| Chart Data QM 12-09 ZenFIre not Updating Properly | mjuviler | Version 7 Beta General Questions & Bug Reports | 7 | 10-26-2009 08:42 AM |
| Chart not updating properly | rally7 | Miscellaneous Support | 7 | 09-14-2007 07:42 AM |
| Charts not updating properly after starting Ninja | MarlinTrader | Charting | 1 | 06-04-2007 07:25 AM |
| Bond contracts not updating | Brightstar | Charting | 2 | 06-05-2006 02:26 AM |