NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 05-07-2008, 06:29 AM   #1
paradise
Junior Member
 
Join Date: May 2008
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
Default Strategy Behavior

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
paradise is offline  
Reply With Quote
Old 05-07-2008, 07:05 AM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

1) Cancel/Replace
2) Strategy position, more information - http://www.ninjatrader-support.com/v...ead.php?t=4033
3) No
NinjaTrader_Ray 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
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


All times are GMT -6. The time now is 08:11 AM.