Help with Strategy Dev in MC - MultiCharts | futures io social day trading
futures io futures trading

Help with Strategy Dev in MC
Updated: Views / Replies:2,565 / 13
Created: by Zhorny Attachments:1

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 100,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

Thread Tools Search this Thread

Help with Strategy Dev in MC

  #11 (permalink)
Elite Member
Newcastle, Australia
Futures Experience: Intermediate
Platform: Multicharts 8 - Full Version
Broker/Data: IB
Favorite Futures: SPI,FTSE100, 6E, 6A
Posts: 285 since Oct 2010
Thanks: 108 given, 178 received

Also, the Close is updated on every tick, so on a 5min chart this code code be processed 100's of times.
You need to look at the bar status to determine the actual close time of the 5min bar.


Reply With Quote
The following user says Thank You to NW27 for this post:
  #12 (permalink)
Elite Member
Futures Experience: Master
Platform: NinjaTrader
Favorite Futures: FX
Posts: 10 since Oct 2012
Thanks: 0 given, 0 received

Thanks for the advice. Appreciate it.
As I mentioned before, I'm extremely new at this so how would I seperate buy orders on different bars?

Let's use buy only for this example: if the first bar's close is greater than the previous bar's close (Close[0]>Close[1]) then buy. Then if the next bar's close follows the same rule (Close[0]>Close[1]) buy again and so on until (Close[0]<Close[1]).

To stop buying 1000s on each bar I've limited the quantity amount:

inputs: Quantity( 1 );

condition1 = Close[0] > Close[1];
condition2 = Close[0] < Close[1];

if condition1 then buy ( "BTO" ) 1 Quantity this bar on Close;

if condition2 then
sell ( "STC" ) this bar on close;

Last edited by Zhorny; November 2nd, 2012 at 04:50 AM.
Reply With Quote
  #13 (permalink)
Elite Member
Newcastle, Australia
Futures Experience: Intermediate
Platform: Multicharts 8 - Full Version
Broker/Data: IB
Favorite Futures: SPI,FTSE100, 6E, 6A
Posts: 285 since Oct 2010
Thanks: 108 given, 178 received

Zhorny View Post

To stop buying 1000s on each bar I've limited the quantity amount:

A few things you must understand:
1. Everyone time a tick comes in your code is processed.
2. The close price is the price of the last tick. Not the close of the 5min bar.
3. To find the tick that corresponds to the close of the 5min bar, you must look at the bar status.
4. Because each tick has it's own close price that may be > than the prior bar close, this is how you end up owning lots of contracts but purchased one at a time as per your buy line of code.


Reply With Quote
  #14 (permalink)
Elite Member
Ann Arbor, Michigan USA
Futures Experience: Advanced
Platform: TradeStation, Biocomp
Favorite Futures: TF
Posts: 19 since Aug 2010
Thanks: 61 given, 21 received

I use both Multicharts and TradeStation, and I find that most strategies written for TradeStation work with little or no modification on both platforms.

I have been learning how to program strategies in Easylanguage for almost 8 years, and am partly expert, partly just a beginner. There are many new programs still unwritten in Easylanguage, just as there are many novels and other valuable writings still unwritten in English.

While it might seem obvious to try this, perhaps you have not yet tried running some tutorial example programs for TradeStation in Multicharts. A good way to import these is to copy and paste the text versions into the Multicharts editor and compile them. Any incompatibilities will be flagged for you, and you will have a format (text codes) compatible with both platforms and even your own English! You can pick a working strategy similar to your ideas and change the instructions to fit your needs. I have found that method of learning easier than memorizing all the rules of syntax for a new language. Soon you will be up to enough speed that you can write your own "template" strategies to get you started on new projects. I doubt you will ever be satisfied with standing pat using only the first program idea you came up with!

Just Google:

Note Google may try to give you "easy language" instead of "easylanguage". Just keep trying.....

There is an offer by TradeStation for "free" Forex-only accounts and a specialized version of TradeStation which you can use to leverage their tutorials and forums.....and of course Multicharts has a fine development environment for EasyLanguage and back testing. RTSoft is developing a Multicharts plug-in which will allow you to use the TradeStation brokerage accounts and data "as if" you were using the full TradeStation paid-up package. I have no idea yet what that will cost, but it looks quite interesting indeed.

Last edited by Seberbach; November 5th, 2012 at 03:43 PM. Reason: force google to be more specific
Reply With Quote


futures io > > > > Help with Strategy Dev in MC

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

September Journal Challenge (sponsored by TopstepTrader)


Battlestations! Win $947 in prizes for showing us your trading desk!


Similar Threads
Thread Thread Starter Forum Replies Last Post
How much time do you spend on algo systems dev? Big Mike Elite Automated Trading 13 November 24th, 2012 02:48 PM
rotational trading strategy with MC.NET? jdfagan MultiCharts 1 September 25th, 2012 02:39 PM
Test same strategy on many symbols in MC nikke EasyLanguage Programming 3 January 29th, 2012 05:31 AM
MC: Simple strategy code problem / Easy Language true EasyLanguage Programming 4 December 19th, 2010 08:48 AM
Anyone here have a Zenfire dev account -- are they disabled over weekend? ptd26 Reviews of Brokers and Data Feeds 6 January 23rd, 2010 11:44 PM

All times are GMT -4. The time now is 04:00 AM. (this page content is cached, log in for real-time version)

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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 2018-10-21 in 0.13 seconds with 15 queries on phoenix