NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

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.

Reply
 
Thread Tools Display Modes
Old 08-15-2008, 08:24 AM   #1
TomTheTrader
Junior Member
 
Join Date: Jul 2008
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
Default parabolic sar stop

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
TomTheTrader is offline  
Reply With Quote
Old 08-15-2008, 08:40 AM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

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?
NinjaTrader_Ray is offline  
Reply With Quote
Old 08-15-2008, 09:04 AM   #3
TomTheTrader
Junior Member
 
Join Date: Jul 2008
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
Default user name

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" ....
TomTheTrader is offline  
Reply With Quote
Old 08-15-2008, 09:30 AM   #4
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

No problem at all. I will change it to the name you requested. Will be done in ten minutes.
NinjaTrader_Ray is offline  
Reply With Quote
Old 08-15-2008, 09:32 AM   #5
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

"TraderTom" is already in use, do you have another name you would like to use?
NinjaTrader_Ray is offline  
Reply With Quote
Old 08-15-2008, 10:00 AM   #6
TomTheTrader
Junior Member
 
Join Date: Jul 2008
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
Default round and round...

ok Ray...

I have emailed NT Support for resolution.
TomTheTrader is offline  
Reply With Quote
Old 08-15-2008, 11:08 AM   #7
TomTheTrader
Junior Member
 
Join Date: Jul 2008
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
Default ParabolicSAR stop

Quote:
Originally Posted by NinjaTrader_Ray View Post
Hi TraderTom,

Do you ONLY want a stop to be submitted on that condition? So until that condition occurs, there is no stop?
....

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.
TomTheTrader is offline  
Reply With Quote
Old 08-15-2008, 12:17 PM   #8
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

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
NinjaTrader_Ray is offline  
Reply With Quote
Old 08-15-2008, 12:35 PM   #9
TomTheTrader
Junior Member
 
Join Date: Jul 2008
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
Default stops and targets

Quote:
Originally Posted by NinjaTrader_Ray View Post


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?
TomTheTrader is offline  
Reply With Quote
Old 08-15-2008, 01:02 PM   #10
NinjaTrader_Ben
NinjaTrader Customer Service
 
NinjaTrader_Ben's Avatar
 
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
Default

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.
NinjaTrader_Ben is offline  
Reply With Quote
Old 08-15-2008, 01:42 PM   #11
TomTheTrader
Junior Member
 
Join Date: Jul 2008
Posts: 14
Thanks: 0
Thanked 0 times in 0 posts
Default excellent

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!!!
TomTheTrader is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 04:46 PM.