NexusFi: Find Your Edge


Home Menu

 





Auto Trading Strategy - Exit On Close Price error


Discussion in NinjaTrader

Updated
    1. trending_up 2,427 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:	235
Size:	288.4 KB
ID:	100251  
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Iran Ceasefire Surges to 19.5% on US 15-Point Plan -- 82 …
Prediction Markets & Event Contracts
Penalties in Budapest, Peace Deadline in Tehran: Arsenal …
Prediction Markets & Event Contracts
Trump Truth Social Fires Hormuz From 10% to 59% -- Arsen …
Prediction Markets & Event Contracts
Topstep Acquires The Futures Desk -- Prop Firm Consolida …
Funded Trading Evaluation Firms
Tradeify 3.0 Overhauls Futures Prop Firm Model -- One-Ti …
Funded Trading Evaluation Firms
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 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