![]() |
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
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jul 2009
Location: San Feliciano - Perugia- Italy
Posts: 150
Thanks: 0
Thanked 2 times in 2 posts
|
Hello, I wanted to know if you have example codes that use the MAE or MFE or ETD, to define stops.
Thanks. Roberto |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
|
Hello,
Thank you for your note. We do not have any examples for this specifically. However what you would need to do is access this value and then use any calculation you need to formulate at what price you want the stop loss placed then use this as the stop price. http://www.ninjatrader-support.com/H...luesClass.html Then use this to modify the stop loss price: http://www.ninjatrader.com/support/f...ead.php?t=3222 Here is all our reference samples as well that are posted to the forum: http://www.ninjatrader.com/support/f...ead.php?t=3220 Let me know if I can be of further assistance.
Brett
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MAE, MFE, ETD not working | bigtee | Version 7 Beta General Questions & Bug Reports | 3 | 09-03-2010 02:11 PM |
| MAE, MFE, ETD showing NaN in Account Performance for IB | keeda | Miscellaneous Support | 3 | 07-21-2010 07:53 AM |
| Average MAE, MFE, ETD = $NaN | Eoghan O Sullivan | Miscellaneous Support | 3 | 03-02-2010 08:10 AM |
| MAE, MFE and ETD missing in latest version? | alanack | Miscellaneous Support | 11 | 01-05-2010 08:21 AM |
| AVerage MAE, MFE, ETD | gg80108 | Market Analyzer | 1 | 12-13-2008 12:39 AM |