Multicharts firing orders when market is closed - MultiCharts | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > MultiCharts

Multicharts firing orders when market is closed
Started:March 14th, 2012 (05:59 PM) by guppy Views / Replies:902 / 1
Last Reply:March 15th, 2012 (03:29 AM) Attachments:0

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

Multicharts firing orders when market is closed

Old March 14th, 2012, 05:59 PM   #1 (permalink)
Elite Member
Los Angeles, CA
Futures Experience: Advanced
Platform: Tradestation
Broker/Data: Tradestation
Favorite Futures: ES,HG,GC,YM,Nq,RB,NG
Posts: 52 since Aug 2011
Thanks: 11 given, 8 received

Multicharts firing orders when market is closed

I have a modified example code below for multicharts which works fine for me but is a probelm for the exchanges which i need to resolve. When market is open and my conidion is met then it will get me into a position and at the same time put a stoploss and targetprofit. Once the market closes my setstoploss and setprofittarget keep firing to the exchange and gets rejected over and over (500 times or more) until the market reopens and then it will put my stoploss and targetprofit which is correct and fine by me. However the exchanges dont like me to keep sending in the setstoploss and target profit orders over and over since its getting rejected during the market close time. How would i adjust the code so it wont do that but it will do it once the market is open so my intial position isnt exposed?

inputspp(500), lll(500);

if marketposition = 0 and h>h[1] then
buy 1 contracts next bar at h stop;

if marketposition = 0 and l<l[1] then
sellshort 1 contracts next bar at l stop;


Reply With Quote

Old March 15th, 2012, 03:29 AM   #2 (permalink)
Site Administrator
Manta, Ecuador
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
Big Mike's Avatar
Posts: 45,432 since Jun 2009
Thanks: 28,836 given, 79,556 received

Go to QuoteManager and make sure you have the correct session defined for the instrument, and it will not do that.


Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > MultiCharts > Multicharts firing orders when market is closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

An Afternoon with FIO trader bobwest

Elite only

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
Market orders vs limit Twiddle Traders Hideout 4 February 9th, 2012 09:54 PM
multicharts/easylanguage/pending automation orders guppy EasyLanguage Programming 7 January 31st, 2012 08:14 AM
Market If Touched orders for NT 7? vinceb NinjaTrader 2 June 13th, 2011 09:34 PM
South Korea Military Begins Firing Drill off West Coast Quick Summary News and Current Events 0 December 20th, 2010 01:30 AM
Strategy market orders zeller4 NinjaTrader Programming 5 August 27th, 2009 12:11 AM

All times are GMT -4. The time now is 09:27 AM.

Copyright © 2016 by 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.
no new posts

Page generated 2016-10-22 in 0.06 seconds with 23 queries on phoenix via your IP