![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jan 2006
Location: Chicago, Illinois, USA
Posts: 126
Thanks: 0
Thanked 1 time in 1 post
|
Hi,
I am using AtmStrategyCreate() to enter with a strategy previously created in the DOM. I then manage in the DOM. Is it possible to know in my program the current stoploss location even if it's moved? Would I do it like this? if ((atmStrategyId.Length > 0) && (GetAtmStrategyPositionQuantity(atmStrategyId) != 0)) { string[,] orders = GetAtmStrategyStopTargetOrderStatus("STOP2",atmStr ategyId); Print("Current Stop is " + orders[0, 0].ToString()); } I'm trying to do it like that and I keep getting "0" instead of the stop location. Thanks, Folls |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| "Add Target" or "Split Target" in dynamic Super DOM | Wataizo | SuperDOM and other Order Entry Windows | 5 | 01-16-2008 01:53 PM |
| 2 instances of strategy when clicking "apply" and "okay" | dtf139 | Historical NinjaTrader 6.5 Beta Threads | 2 | 01-07-2008 11:25 PM |
| Line "names" in Indicator Box change to "Line" after modification | higler | Charting | 3 | 05-02-2007 06:05 AM |
| Multiple Simultaneous Trades at "Exit on Close" With Setting "1 Entry Per Direction&q | KBJ | Strategy Analyzer | 1 | 04-27-2007 05:34 AM |
| Control center "strategies" tab, "Positions tab, and "Market Analyzer" not | funk101 | Strategy Development | 6 | 04-10-2007 03:44 AM |