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 File Sharing > NinjaScript File Sharing Discussion

NinjaScript File Sharing Discussion Discussion for shared NinjaScript files.

Reply
 
Thread Tools Display Modes
Old 04-12-2012, 07:32 AM   #1
NickF
Member
 
Join Date: Sep 2009
Posts: 63
Thanks: 1
Thanked 0 times in 0 posts
Default Executions Stop showing on Chart when strategy is in place

Hello Guys,

I setup a strategy to monitor divergence between Delta and prices (price closes up up delta is negative and vice versa) but when the strategy is on the chart, my trades (SIM and LIVE) are not being plotted on the chart, even with "Plot Executions" set as MarkersOnly. Any ideas how I can fix that?

Thank you.
NickF is offline  
Reply With Quote
Old 04-12-2012, 07:53 AM   #2
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,783
Thanks: 160
Thanked 566 times in 557 posts
Default

Hello,

Does it display your historical executions, or is it not showing any markers for any trades at all?

Do these executions appear as soon as you turn off the strategy? Do they appear from a new chart without the executions?
NinjaTrader_Matthew is offline  
Reply With Quote
Old 04-12-2012, 08:12 AM   #3
NickF
Member
 
Join Date: Sep 2009
Posts: 63
Thanks: 1
Thanked 0 times in 0 posts
Default

While the strategy is on it does not show any markers for any trades at all both current and historical. As soon as I remove the strategy, the markers plot normally, both current and historical.

Thanks,

Nick
NickF is offline  
Reply With Quote
Old 04-12-2012, 08:22 AM   #4
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,783
Thanks: 160
Thanked 566 times in 557 posts
Default

Hello,

Are you using ATM Strategy methods for your executions? Or are you using Managed orders?

As a test, can you enable the SampleMACrossOvers strategy on this same chart and see if these executions are displayed.
NinjaTrader_Matthew is offline  
Reply With Quote
Old 04-12-2012, 08:43 AM   #5
NickF
Member
 
Join Date: Sep 2009
Posts: 63
Thanks: 1
Thanked 0 times in 0 posts
Default

When I add the SampleSMACrossOver strategy (by it self - no other strategy in place), the markers also disappear. I am using a ATM Strategy - 1 contract 8 tick stop and target.
Sounds like we might be getting somewhere
I'll try again restarting the software to see if its a bug.
Thank you again.
NickF is offline  
Reply With Quote
Old 04-12-2012, 08:48 AM   #6
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,783
Thanks: 160
Thanked 566 times in 557 posts
Default

Nick,

If restarting does not have an effect, can you please email your current workspace file so I can test further?

To save a copy of your workspace, please go to File--> Workspace--> Save "Workspace As..." and

Save this workspace with the name "Support".

You will find your workspace under (My) Documents\NinjaTrader 7\workspaces\Support.xml

Please attach this workspace XML document to an email to support[at]ninjatrader[dot]com and a reference to this thread and I can look into this further.
NinjaTrader_Matthew is offline  
Reply With Quote
Old 04-12-2012, 10:23 AM   #7
NickF
Member
 
Join Date: Sep 2009
Posts: 63
Thanks: 1
Thanked 0 times in 0 posts
Default

I have just now emailed the workspace to support. please let me know if you have any questions. When I restarted NT7 it did not solve the problem.
Thanks
Nick
NickF is offline  
Reply With Quote
Old 04-12-2012, 10:35 AM   #8
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,783
Thanks: 160
Thanked 566 times in 557 posts
Default

Thanks Nick - I have received and will test ASAP.
NinjaTrader_Matthew is offline  
Reply With Quote
Old 04-12-2012, 10:39 AM   #9
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,783
Thanks: 160
Thanked 566 times in 557 posts
Default

Hello,

When enabling the SampleMACrossOvers strategy, I do see the the historical strategy executions on the chart.

Can you please confirm you do not see the same as the attached on your end?

Please note that when a strategy is enabled, it will only show executions from that particular strategy and the account it is running from. Any manually placed trades, or executions from another strategy/account will not displayed.

You should see that particular strategies executions on the chart as I have attached.
Attached Images
File Type: png sample.PNG (116.4 KB, 9 views)
NinjaTrader_Matthew is offline  
Reply With Quote
Old 04-12-2012, 10:56 AM   #10
NickF
Member
 
Join Date: Sep 2009
Posts: 63
Thanks: 1
Thanked 0 times in 0 posts
Default

Aha! Yes the trades I am speaking about are manually placed trades and not the trades of the strategy. See, I want to have a strategy in place but also at the same time take other trades as well and be able to see what's going on with them. Does it make sense? Otherwise it is hard to know what's going on when I print out the charts. Anyway we can be able to see the manually placed trades as well?

Thank you.
Nick
NickF is offline  
Reply With Quote
Old 04-12-2012, 11:04 AM   #11
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,783
Thanks: 160
Thanked 566 times in 557 posts
Default

Hello Nick,

It is not currently possible to prevent confusion between manual order and strategy orders.

If you would like to see both at the same time, you would need to open a separate chart, one for manual orders and the other for the strategy.
NinjaTrader_Matthew is offline  
Reply With Quote
Old 04-14-2012, 12:12 AM   #12
NickF
Member
 
Join Date: Sep 2009
Posts: 63
Thanks: 1
Thanked 0 times in 0 posts
Default

I'll try using a couple charts to get around this issue. Is it possible as an alternative to make this int an indicator instead so that it would not cause this problem? So using the condition on my strategy to draw arrow up when delta is down but price is up an indicator instead?
Maybe this would be a solution.

thanks
Nick
NickF is offline  
Reply With Quote
Old 04-16-2012, 07:11 AM   #13
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,783
Thanks: 160
Thanked 566 times in 557 posts
Default

Nick,

I'm not sure I'm follow your workaround. Do you intend to dynamically switch between the indicator class and strategy class..?

Which "int" would you like used as an indicator?
NinjaTrader_Matthew 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
Stop and reverse order to place on chart? pedroprada@bellsouth.net Charting 1 10-15-2010 03:31 AM
How to place a stop order market without atm strategy snowtrader ATM Strategies (Discretionary Trading) 2 09-28-2010 07:35 AM
Cannot place stop/profit target through ATM strategy lolwut ATM Strategies (Discretionary Trading) 6 01-19-2010 09:56 PM
Strategy execution showing in log and executions tab but not in strategy tab kassaindia Automated Trading 5 11-17-2009 11:43 AM
Chart Trader entry showing 0.00 and target or stop showing blank Edward Kunafi SuperDOM and other Order Entry Windows 5 06-30-2009 11:20 AM


All times are GMT -6. The time now is 05:24 PM.