![]() |
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
|
|||||||
| Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Feb 2007
Location: , ,
Posts: 83
Thanks: 0
Thanked 0 times in 0 posts
|
I want a Strategy that uses only profit targets no stops.
Bascially my ATI scripts in eSignal submit all the buy/sell order and handle bailing out. But I would like something internal to NT that puts in profit target orders (I would like to pass a Strategy name as parm with orders). Something realy simple like: Sell half position at 1 point profit Sell remainder position at 2 point profit I thought I could use the "wizard" to come up with something but it is proving more difficult than simply adding code to my scripts! Any suggestions or even better sample Ninja scripts would be appreciated... |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Did you try just adding SetProfitTarget()?
Ray
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Feb 2007
Location: , ,
Posts: 83
Thanks: 0
Thanked 0 times in 0 posts
|
Is that an eSignal DLL function?
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|