![]() |
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: May 2008
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
|
Hi,
Thanks in advance for your help. 1) If a SetStopLoss(fromEntrySignal,ClacMode.Price, ,simulated=false) is submitted in OnBarUpdate for the opening of a position, and then a new SetStopLoss with a new Price (for the same entry signal) is submitted in OnBarUpdate, is this done as a Cancel/Replace, or are there now two stop market orders working at the broker? 2) Does Position.MarketPosition reference the strategy position, or the account position at the broker? Same question for EntriesPerTrade. I am looking for a way for the strategy to check the "account position". 3)Can the Account Size at the broker be accessed from the strategy? Thanks again, paradise |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
1) Cancel/Replace
2) Strategy position, more information - http://www.ninjatrader-support.com/v...ead.php?t=4033 3) No
Ray
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NT 6.5 vs 6.0 - Multi Time Frame Behavior | kgillis23 | General Programming | 8 | 03-27-2008 05:19 PM |
| Inconsistent behavior for drawing parameters | astrolobe | General Programming | 1 | 03-18-2008 10:42 PM |
| Weird Chase Behavior | pdawg | Strategy Development | 5 | 08-09-2007 08:41 AM |
| Strange Strategy behavior | scjohn | Strategy Development | 1 | 07-24-2007 11:35 AM |
| Bizzar behavior | kgillis23 | Miscellaneous Support | 1 | 06-14-2007 03:10 PM |