Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Stop Problem
Collapse
X
-
Stop Problem
I have an automated strategy trading Soybeans (ZS) for the first time this morning. It entered a long trade at 1404 on the contract and was supposed to set a 1% stop (not simulated). A stop was entered of the number 14 (which is 1% of 1404). The stop entered should have been 1390.50. Please help.Tags: None
-
Hello jrtrader,
Thanks for your post.
May I have an export of this strategy to test?
To export your script do the following:- Click File -> Utilities -> Export NinjaScript
- Enter a unique name for the file in the value for 'File name:'
- Select the strategy from the objects list on the left -> click the right facing arrow ">" to add the strategy to the export
- Click the 'Export' button -> click 'yes' to add any referenced indicators to the export -> click OK to clear the export location message
By default your exported file will be in the following location:
(My) Documents/NinjaTrader 7/bin/Custom/ExportNinjaScript/<export_file_name.zip>
Below is a link to the help guide on Exporting NinjaScripts.
If you would like to keep the code private for this strategy you may email the exported script to support[at]ninjatrader[dot]com with Attn: Chelsea written in the body of the email along with a link to this forum thread.
I look forward to receiving the script.Chelsea B.NinjaTrader Customer Service
-
Hello jrtrader,
NinjaTrader uses a master instrument that will have settings and mapping for both providers. This means that the point size will be the same between the providers and any orders placed should be calculated via the point size and submitted at an actual price. Because of this, I do not think the issue will be the differences in data, unless you are getting two very different prices from each provider.
At this point, I'm not entirely sure what may be causing the issue, however, I will be sure to test this with both Interactive Brokers and IQFeed separately to see if there are any differences in data, or with the script.Chelsea B.NinjaTrader Customer Service
Comment
-
Hello jrtrader,
Thank you for letting me know the instrument and broker you are using.
We have identified an issue that affects some IB accounts and not others where execution confirmations on ZC, ZS, ZW instruments are sent with a misformatted decimal.
We have been in contact with Interactive Brokers development and are currently working with Interactive Brokers to fix the issue.
Right now there is not a workaround for this but a fix is being developed.Chelsea B.NinjaTrader Customer Service
Comment
-
Hello reflam,
Currently, we are awaiting changes on the TWS platform before moving forward.
When I have received a note from our developers letting us know this has been corrected I will updated this thread with that notice.
I cannot say how long this change may take.Chelsea B.NinjaTrader Customer Service
Comment
-
Hi,
My problem is quite different and perhaps you can help me...
I use an automated system and when the system decide to enter in the market...the price is 1/10 the real price...
For instance if the price is 1275..it takes the 12,75 price and it buys or sells with a market order...but it uses the Take Profit and Stop Loss using this Price (12,75)...so, as soon as it enters to market, it is out...and disables the strategy because some parametres are negatives...
I use tws and a ninjatrader real account...
Sorry my english!...
And thanks again
Comment
-
Hello reflam,
Are you placing the manual orders to Interactive Brokers from NinjaTrader (from a NinjaTrader Chart Trader or SuperDOM) or are you doing this directly in TWS?
May I have a toy of your strategy that is able to reproduce this issue? (A toy has all code that is not directly related to the issue removed).
You can post this to this thread, or if you would like to keep your code private, you can send this to me at support[at]ninjatrader[dot]com with Attn:Chelsea #911397 in the body of the email.
I look forward to your reply.Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Mestor, 03-10-2023, 01:50 AM
|
11 responses
304 views
0 likes
|
Last Post
by z.franck
Today, 02:29 AM
|
||
Started by Padan, Today, 02:02 AM
|
0 responses
6 views
0 likes
|
Last Post
by Padan
Today, 02:02 AM
|
||
Started by bukowa, 11-09-2023, 06:07 PM
|
20 responses
407 views
0 likes
|
Last Post
by Adfra
Today, 01:36 AM
|
||
Started by yertle, Yesterday, 05:49 PM
|
2 responses
11 views
0 likes
|
Last Post
by yertle
Today, 12:12 AM
|
||
Started by kaywai, Today, 12:06 AM
|
0 responses
10 views
0 likes
|
Last Post
by kaywai
Today, 12:06 AM
|
Comment