Monitoring multicharts SA is running - EasyLanguage Programming | futures io social day trading
futures io futures trading


Monitoring multicharts SA is running
Updated: Views / Replies:1,567 / 6
Created: by nikke Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • 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.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Monitoring multicharts SA is running

  #1 (permalink)
Trading Apprentice
grandiose
 
Futures Experience: Intermediate
Platform: Multicharts
 
Posts: 34 since Aug 2010
Thanks: 5 given, 6 received

Monitoring multicharts SA is running

Hi,

Thought to ask what you guys use to monitor that your multicharts strategies are running and have not hung up or switched themselves off?


I trade on MC and TWS. TWS I can easily monitor from a physically different location that the the TWS port is available and TWS consequently has not crashed. But I have found it quite difficult to monitor that the automated strategies are still running in Multicharts.

I can monitor MC's text-logfiles that it has not lost connection to TWS(if I find a windows-program for that) but I would really like to monitor that the SA is still running.

How have you guys managed to solve this?

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (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: 46,238 since Jun 2009
Thanks: 29,350 given, 83,218 received


File -> New -> Order/Position Tracker, the log tab there, etc.

Mike

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.
6)
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
 
  #4 (permalink)
Trading Apprentice
grandiose
 
Futures Experience: Intermediate
Platform: Multicharts
 
Posts: 34 since Aug 2010
Thanks: 5 given, 6 received


Big Mike View Post
File -> New -> Order/Position Tracker, the log tab there, etc.

Mike

Thanks, I am looking for something automated.

I usually leave my strategies running for a week and check in on them a couple of times a day. The less the better
So I need to set up some KISS type of alarm if there is something wrong. The most frequent problems have been:
1. TWS crashed, this is monitored now using monit from another location.
2. MC strategies turned off, this is not monitored yet.

Reply With Quote
 
  #5 (permalink)
 Vendor: tradingcode.net 
The Netherlands
 
Futures Experience: None
Platform: MultiCharts, TradingView
Favorite Futures: ...
 
Jura's Avatar
 
Posts: 774 since Apr 2010
Thanks: 2,347 given, 661 received


nikke View Post
1. TWS crashed, this is monitored now using monit from another location.
2. MC strategies turned off, this is not monitored yet.

Checking for automated strategies that are on or off can be done with GetAppInfo(aiStrategyAuto) which will give an value of 1 if automated trading execution is on, else a 0. With the RecalcLastBarAfter keyword, you can force a script to check this every x seconds.


nikke View Post
I can monitor MC's text-logfiles that it has not lost connection to TWS(if I find a windows-program for that)

Try SnakeTail, one of the best programs for monitoring large text files, and also let you highlight specific words.


nikke View Post
I would really like to monitor that the SA is still running.

How you should/can monitor that, depends on why the strategies are turned off. For example, if this is caused by a connection loss for x seconds which turns the automated trading of, the GetAppInfo() will reflect that. However, if the strategy stops because MC has crashed, then that won't work. And if the strategy stops because your computer has freezed, well then nothing in terms of giving an alert works.

What you can do to, is print every x minutes to an log (perhaps on a network drive or something like a DropBox folder) the current time and something like "still running". Then you can monitor this text file, and if that log don't update after x-minutes, MultiCharts hangs or your pc has crashed.


Big Mike View Post
File -> New -> Order/Position Tracker, the log tab there, etc.

True, but as I today noticed, you can't see there if (and why) a data feed has stopped updating (Btw Nikke, you also may want to program something for that).

Regards,

Reply With Quote
The following 4 users say Thank You to Jura for this post:
 
  #6 (permalink)
Trading Apprentice
grandiose
 
Futures Experience: Intermediate
Platform: Multicharts
 
Posts: 34 since Aug 2010
Thanks: 5 given, 6 received

If the PC or tws crashes it is caught by the tws port-availability-monitoring from another location. This also catches network connection loss regardless of what causes it.

Thank you Jura a lot for the good tips, I think it gave me enough ideas to also get a working solution to monitor the most important other scenarios.

Reply With Quote
The following user says Thank You to nikke for this post:
 
  #7 (permalink)
Trading Apprentice
grandiose
 
Futures Experience: Intermediate
Platform: Multicharts
 
Posts: 34 since Aug 2010
Thanks: 5 given, 6 received

Hi!

Just writing it up here so maybe others can use similar solution.

After some research I am settling for a solution like this:

1. Strategies write to a textfile when they are running.
2. These textfiles are available over lighttpd
3. Monit from another physical location checks that these textfiles are constantly updated.

This seems to be the most simple solution that can catch some different scenarios that can go wrong (eg. strategy turned off, MC crash), and I can use tools I know.

-N

Reply With Quote
The following 3 users say Thank You to nikke for this post:

Reply



futures io > > > > > Monitoring multicharts SA is running

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
MultiCharts Webinar: Peter Campbell - Systematic Trading with MultiCharts MultiCharts MultiCharts 25 August 31st, 2015 09:32 PM
Anyone running Ubuntu? Big Mike Tech Support 82 October 24th, 2013 08:45 PM
Bernanke: Dodd-Frank Implementation: Monitoring Systemic Risk and Promoting Financial kbit News and Current Events 0 May 12th, 2011 10:44 PM
Input's while in running an EA pmm2 MetaQuotes MetaTrader MQL Programming 1 March 13th, 2011 05:11 PM
AA vs SA. Which method do I use? rca420 EasyLanguage Programming 3 October 29th, 2010 06:39 PM


All times are GMT -4. The time now is 06:43 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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 2017-12-12 in 0.10 seconds with 19 queries on phoenix via your IP 54.145.51.250