Forum: NinjaTrader
June 27th, 2009, 08:21 PM
|
Replies: 11
Views: 6,879
You're welcome. I place it at the very top of...
You're welcome. I place it at the very top of OnBarUpdate as a standard first thing it always checks for. Also, keep in mind that it doesn't actually stop the strategy, but only prevents it from...
|
Forum: NinjaTrader
June 27th, 2009, 07:42 PM
|
Replies: 11
Views: 6,879
Strategy max profit/max loss code
Good idea zeller. Here's some code I came up with from various samples to give me some peace of mind if you were to run your strategies unattended. (in case I ever have a strategy that makes...
|