![]() |
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
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Dec 2007
Posts: 365
Thanks: 36
Thanked 28 times in 24 posts
|
I need to check the current stop loss price (which was set using SetStopLoss) against a potential new stop price.
What statement is used to access the already set stop loss value? Thanks. |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
|
coolmoss, there would 2 ways to monitor this - either by tracking your own stop price in a variable and then using the variable to submit the SetStopLoss at the price level or you could monitor the SetStopLoss send order directly with the technique shown in the example below - http://www.ninjatrader.com/support/f...ead.php?t=5790
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Accessing MarketDepth | DionysusToast | General Programming | 11 | 09-09-2011 12:32 PM |
| Accessing TSSuperTrend Value | tshirtdeal | General Programming | 3 | 04-04-2011 10:14 AM |
| Accessing indicator last value. | freewind | General Programming | 1 | 02-20-2011 05:19 AM |
| accessing indicators | velocity | General Programming | 7 | 02-22-2009 11:17 PM |
| Accessing one chart from the other... | funk101 | Strategy Development | 1 | 10-10-2007 12:23 PM |