NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Charting

Charting Support for NinjaTrader Advanced Charting.

Reply
 
Thread Tools Display Modes
Old 10-10-2011, 10:33 AM   #1
ts_gordo
Member
 
Join Date: Mar 2007
Location: Coral Springs, Florida, USA
Posts: 56
Thanks: 1
Thanked 0 times in 0 posts
Send a message via Yahoo to ts_gordo
Default Strategy Leaves Trades Residue on Chart when Removed.

When I:

Open a chart. Add a strategy (e.g. SampleMACrossOver). Remove the strategy...

Several of the trades are not cleared from the chart (most are).

This doesn't seem correct.

I have attached a screen shot of this redidue.
Attached Images
File Type: jpg StrategyResidue.JPG (98.7 KB, 5 views)
ts_gordo is offline  
Reply With Quote
Old 10-10-2011, 10:43 AM   #2
NinjaTrader_WesleyS
NinjaTrader Customer Service
 
NinjaTrader_WesleyS's Avatar
 
Join Date: Jul 2011
Location: Denver, CO, USA
Posts: 26
Thanks: 2
Thanked 3 times in 3 posts
Default

Hello ts_gordo,

Thank you for your post.

This behavior is to be expected.

If you would like to remove the plotting of executions on your chart:

-Right click on your chart and select Data series.

-For "plot executions" in the right side parameters, select DoNotPlot
NinjaTrader_WesleyS is offline  
Reply With Quote
Old 10-10-2011, 11:00 AM   #3
ts_gordo
Member
 
Join Date: Mar 2007
Location: Coral Springs, Florida, USA
Posts: 56
Thanks: 1
Thanked 0 times in 0 posts
Send a message via Yahoo to ts_gordo
Default

Thank you for your speedy reply...

Let me restate the circimstance:

Open a chart. Add a strategy (e.g. SampleMACrossOver). Remove the strategy...

The operative action here being the last one: Remove the strategy...

once the strategy is removed one cannot : For "plot executions" in the right side parameters, select DoNotPlot

Again, I say: leaving a few odd ball executions scattered through out the charrt, does not seem correct.
ts_gordo is offline  
Reply With Quote
Old 10-10-2011, 11:40 AM   #4
NinjaTrader_WesleyS
NinjaTrader Customer Service
 
NinjaTrader_WesleyS's Avatar
 
Join Date: Jul 2011
Location: Denver, CO, USA
Posts: 26
Thanks: 2
Thanked 3 times in 3 posts
Default

Hello ts_gordo,

Can you please clarify what you mean by, "once the strategy is removed one cannot : For "plot executions" in the right side parameters, select DoNotPlot"?

Why can't you set this field to "DoNotPlot"?
NinjaTrader_WesleyS is offline  
Reply With Quote
Old 10-10-2011, 12:10 PM   #5
ts_gordo
Member
 
Join Date: Mar 2007
Location: Coral Springs, Florida, USA
Posts: 56
Thanks: 1
Thanked 0 times in 0 posts
Send a message via Yahoo to ts_gordo
Default

Sorry, my mistake... When I tried it earlier nothing happened. This time it did work.]

Of course, when I apply a new strategy, I have to go through the procedure in reverse... hardly a solution.

Look, I am trying to report what I think is a bug. If your not interested, just say so... I'll stop wasting my time!
ts_gordo is offline  
Reply With Quote
Old 10-10-2011, 01:30 PM   #6
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

This is Brett assisting for Wesley.

The executions that are left to display on the chart are the actual account executions.

Execution markers have two modes.

Mode 1 = Executions plotted from the database are the true live or Sim101 executions. These will display based on what account is selected in the chart trader panel.

Mode 2 = Historical executions for a strategy when a strategy is applied to a chart.

Therefor what you are seeing most likely is the actual live executions remaining on the chart. If this is the Sim101 account tradaes these can be cleared out by going to control center->tools->options->Simulator tab->Reset button.

Let me know if this is not whats going on we will investigate further.

Let me know if I can be of further assistance.
NinjaTrader_Brett is offline  
Reply With Quote
The following user says thank you to NinjaTrader_Brett for this post:
Old 10-10-2011, 03:40 PM   #7
ts_gordo
Member
 
Join Date: Mar 2007
Location: Coral Springs, Florida, USA
Posts: 56
Thanks: 1
Thanked 0 times in 0 posts
Send a message via Yahoo to ts_gordo
Default

Yes, that seems to be it. Now that I have done that reset, removing the strategy now never leaves any executions on the chart. Good!

I don't really understand just how I get what, if I have understood your comment at all, are mode 1 executions in the DB. I am a code writer I am never live... always sim101.

Are you saying that if I run some strategy in real-time and it makes some trades, they will go into the DB and show up on the chart when I remove any (other) strategy?

I gues I don't see the use... But I am sort of new at this, so maybe I will figure it out eventually...

Thanks for your help, immediate problem solved.

Thank you
ts_gordo 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
Disconnection leaves strategy in limbo village Automated Trading 18 08-22-2011 09:32 AM
Draw Objects in a strategy do not go away when strategy is removed snaphook Suggestions And Feedback 3 03-07-2011 08:22 AM
Bug Report - Strategy compiler leaves old errors. cnecorp Suggestions And Feedback 4 12-14-2010 01:20 PM
Chart object removed if older than 20 days?? Jack99 Charting 13 08-10-2010 01:15 PM
Strategy removed from chart ct Strategy Development 23 05-06-2009 09:49 AM


All times are GMT -6. The time now is 02:21 AM.