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 > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 08-16-2011, 06:20 AM   #1
Mindset
Senior Member
 
Join Date: Mar 2008
Location: UK West Sussex
Posts: 665
Thanks: 9
Thanked 9 times in 7 posts
Default Using oif to change stop limit order

I have attached a pic which I hope explains the issue I am coming up against.

My change order is 5855 stop and limit - but the actual order in the Orders tab shows 5854 limit 5855 stop.
It appears that only the stop is changing and not the limit?
I get no compile errors and the orders are submitted?

Attached Images
File Type: jpg error 1.jpg (355.0 KB, 15 views)
Mindset is offline  
Reply With Quote
Old 08-16-2011, 06:34 AM   #2
Mindset
Senior Member
 
Join Date: Mar 2008
Location: UK West Sussex
Posts: 665
Thanks: 9
Thanked 9 times in 7 posts
Default My error

My error.
I had the right no of parameters in the wrong order.
Mindset is offline  
Reply With Quote
Old 08-16-2011, 06:36 AM   #3
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,414
Thanks: 252
Thanked 977 times in 960 posts
Default

ok, thanks for reporting back and glad you were able to resolve it.
NinjaTrader_Bertrand 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
How do I change the stop-loss order into a stop-loss-limit order? op684 ATM Strategies (Discretionary Trading) 10 01-23-2011 03:02 AM
Stop order with Improved Limit Price (Simulated Stop Order) screwed on $EURUSD chart Arpad Version 7 Beta General Questions & Bug Reports 1 10-22-2010 12:44 PM
can you change limit order price of pending order? ct Strategy Development 1 10-29-2009 03:58 AM
change default stop limit Futures_Shark ATM Strategies (Discretionary Trading) 3 04-14-2008 07:24 AM
Change existing limit order ydnic123 Strategy Development 3 02-17-2008 10:28 PM


All times are GMT -6. The time now is 09:17 AM.