NexusFi: Find Your Edge


Home Menu

 





Auto Trading Strategy - Exit On Close Price error


Discussion in NinjaTrader

Updated
    1. trending_up 2,506 views
    2. thumb_up 1 thanks given
    3. group 1 followers
    1. forum 3 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
 TheGaryGuy 
Bellevue, WA/USA
 
Experience: Advanced
Platform: NinjaTrader, TOS, TDAmeri
Broker: ThinkOrSwim, TastyWorks.com, TDAmeritrade, Interactive Brokers (soon)
Trading: Index and Stock options, Stocks (seldom), Nadex (just starting), Forex
Posts: 36 since Oct 2012
Thanks Given: 50
Thanks Received: 28

Today while running a auto trading strategy in SIM there was a major price problem at the "Exit on close".
Settings: 1 range chart, 6 various SMAs, no other indicators.

The strategy went long at 11:23:17 and the chart shows an exit at 11:29:53 AM PST (but the trade log shows an
exit at 2:14:31 PM PST)

A couple questions:
1. Why does the exit price show at 94.00 instead of the closing price at the time of the "exit on close"?
2. Why does the exit time on the chart not match the Exit time on the Trade log?
3. I know I can exit my trades at a specific time to avoid "Exit on Close" but how can I be sure this
never happens in realtime trading?

Thanks for any help or links to information about this.

Gary


Attached Thumbnails
Click image for larger version

Name:	AutoTradingExitOnCloseProblem.jpg
Views:	253
Size:	288.4 KB
ID:	100251  
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Fabrication or Framework? Irans Denied MOU Explains the …
Prediction Markets & Event Contracts
Sundays Verdict: Lebanon Locked at 99.85% as Iran June 7 …
Prediction Markets & Event Contracts
Saylors 41-Month HODL Breaks: Strategy Sells 32 BTC as $ …
Prediction Markets & Event Contracts
Day 96 Missiles Hit Kuwait and Bahrain: June 15 Peace at …
Prediction Markets & Event Contracts
Czechia Live at 52.5% as England Rides 4-2 Wave to Co-Fa …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
10 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #3 (permalink)
 
lemons's Avatar
 lemons 
Tallinn, Estonia
 
Experience: Beginner
Platform: SC
Trading: NAS100
Posts: 958 since Nov 2010


try run it on CL 03-13
CL 02-13 is not active contract


Reply With Quote
  #4 (permalink)
 TheGaryGuy 
Bellevue, WA/USA
 
Experience: Advanced
Platform: NinjaTrader, TOS, TDAmeri
Broker: ThinkOrSwim, TastyWorks.com, TDAmeritrade, Interactive Brokers (soon)
Trading: Index and Stock options, Stocks (seldom), Nadex (just starting), Forex
Posts: 36 since Oct 2012
Thanks Given: 50
Thanks Received: 28


lemons View Post
try run it on CL 03-13
CL 02-13 is not active contract

Excellent point.

I wonder why it had data all day?
CL 02-13 was supposed to expire on 1/19/2013.

Thanks for the rapid response!


Started this thread Reply With Quote




Last Updated on January 23, 2013


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts