![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM 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
Join Date: Sep 2009
Posts: 562
Thanks: 40
Thanked 4 times in 4 posts
|
I've never seen this behaviour before. Take a look.
Quote:
Kay Wai |
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
Hi Kay, this would be expected if you set it dynamically in the OnBarUpdate() - this method is called for every bar.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2011
Posts: 10
Thanks: 0
Thanked 0 times in 0 posts
|
What is the difference between a strategy that is set to either Simulated False or Simulated True?
Thanks, Fibs. |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,794
Thanks: 160
Thanked 568 times in 559 posts
|
A simulated stop order is held locally on your computer. If you set this to true, the order will be simulated.
Setting the simulated bool to false will ensure the order is submitted to your broker Please see the following link for more information on simulated stop orders: http://www.ninjatrader.com/support/h...top_orders.htm
Matthew
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strategy Transition from Historical to Live - StopLoss Triggers at Close of Bar | dojidubbs | Strategy Development | 13 | 09-14-2011 09:30 AM |
| After StopLoss wait one bar to enter | gooph | Automated Trading | 3 | 12-04-2009 10:41 AM |
| Can't find the right instruction | epcompany | Miscellaneous Support | 5 | 08-07-2009 10:19 AM |
| Issuing simultaneous buy and sell orders | trader_rick | Automated Trading | 2 | 03-05-2009 11:17 AM |
| Absent Plot instruction | DaveS | General Programming | 3 | 11-16-2008 02:19 PM |