![]() |
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 |
|
Junior Member
Join Date: Jul 2008
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
|
Hello,
I am trying to create an automated ninja script. One part of the system requires to set a stop based upon the price data cross over the parabolic sar. I do not see a way to make this happen using the script wizard. Any ideas, or would I need to add custom code after the fact? thanks in advance, TraderTom |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Hi TraderTom,
Would you so kind as to change your forum id to something else? We use "NinjaTrader_XXX" to identify staff member your current id is very close to our format. Do you ONLY want a stop to be submitted on that condition? So until that condition occurs, there is no stop?
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jul 2008
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
|
My apologies.
![]() Sure, if i saw a way to do it. There does not appear a way to change the login name in the forums? IF an admin needs to do it, simply use "TraderTom" .... |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
No problem at all. I will change it to the name you requested. Will be done in ten minutes.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
"TraderTom" is already in use, do you have another name you would like to use?
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Jul 2008
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
|
ok Ray...
I have emailed NT Support for resolution. |
|
|
|
|
|
#7 | |
|
Junior Member
Join Date: Jul 2008
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
|
Quote:
Yes, that is the condition that I want checked. When LAST PRICE crosses under PatabolicSAR, STOP. I may want to add to it later, but for now, I am just trying to build the basic strategy shell. I am looking in the "strategy action" section of the script wizard, and intuitively I am looking in the "trailing stop" section, if that is where I should be? Thank you for your time.
Last edited by TomTheTrader; 08-15-2008 at 11:11 AM.
|
|
|
|
|
|
|
#8 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
See if this points you in the right direction..
http://www.ninjatrader-support.com/H...mparisons.html http://www.ninjatrader-support.com/H...onditions.html
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#9 | |
|
Junior Member
Join Date: Jul 2008
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
|
Quote:
Yes, that is fine, but these are examples from the "condition builder" ... For stop order conditions, don't we need to be in the "stops and targets" section of the wizard? |
|
|
|
|
|
|
#10 |
|
NinjaTrader Customer Service
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
|
Hello,
It depends on what you mean by "stop" and how you want to do it. You can place an order with a stoploss or you can place a seperate stop market or stop limit to protect your order. Generally though you will want to build the crossover condition per the links Ray provided below then place an order. If you want that order to have a stoploss, target, or trailing stop you will enter this into the Stops and targets section. You tie the original order to the stops and targets with the Signal name.
Ben
NinjaTrader Customer Service |
|
|
|
|
|
#11 |
|
Junior Member
Join Date: Jul 2008
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks for the follow up Ben. I think I see that now in the conditions and actions, basically I set an "do the following" ... "order management" ... let me test, but I think this is what I was trying to find. Thanks guys!!!
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Parabolic SAR sync | latkinso | Charting | 1 | 07-08-2008 04:29 PM |
| parabolic SAR stop strategy | winja | Strategy Analyzer | 1 | 11-13-2007 02:39 AM |
| Order Entry Property: Use stop market for stop loss orders | higler | SuperDOM and other Order Entry Windows | 7 | 07-02-2007 09:06 AM |
| Parabolic SAR indicator (Download) Version 5 Only | NinjaTrader_Ray | Indicator Development | 4 | 08-04-2006 11:36 AM |
| Stop Loss Orders activated by number of trades past stop level | DoveforUsAll | Suggestions And Feedback | 1 | 02-08-2006 01:19 AM |