NexusFi: Find Your Edge


Home Menu

 





EasyLanguage Collective2 Interface (MultiCharts to Collective 2)


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one Big Mike with 18 posts (12 thanks)
    2. looks_two gpw797 with 5 posts (0 thanks)
    3. looks_3 bomberone1 with 4 posts (0 thanks)
    4. looks_4 NicoVersailles with 3 posts (0 thanks)
    1. trending_up 26,613 views
    2. thumb_up 14 thanks given
    3. group 13 followers
    1. forum 41 posts
    2. attach_file 0 attachments




 
Search this Thread

EasyLanguage Collective2 Interface (MultiCharts to Collective 2)

  #11 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,439 since Jun 2009
Thanks Given: 33,202
Thanks Received: 101,598


Zoethecus View Post
So, this my provide for more accurate reporting of trades for the developer, but it won't have any bearing on a subscriber who uses C2 auto-trade correct? They will still be under lag and execution constraints because they are getting signals after the fact, correct?

If that's the case, then susbcriber slippage may actually increase from what C2 posts as exceuted trades and that is not a good thing.

No I don't really agree.

Most of the slippage is from the developer -> C2. If people are serious about trading a C2 strategy (end user), they will AutoTrade it with a broker, and the speed of that is near instant. C2 reports "realism" factor for trades, this is what the end user can expect to get using AutoTrade.

With my method above for EasyLanguage, you are sending orders to C2 that are limit orders including profit targets and stops, this results in far, far less slippage than by doing everything market at the time market touches price (like NT does by default).

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Any futures traders in Texas looking to give back to tho …
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
ZombieSqueeze
Platforms and Indicators
Better Renko Gaps
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Diary of a simple price action trader
20 thanks
Just another trading journal: PA, Wyckoff & Trends
14 thanks
Coding money management strategies.
14 thanks
My NQ Trading Journal
14 thanks
Daytrading ES & NQ
9 thanks
  #12 (permalink)
Chepell
Russia
 
Posts: 2 since Feb 2010
Thanks Given: 0
Thanks Received: 0

Mike, thanks for your work.
Can you give an example - how to use the Collective2 function to send the stop orders (for entry).


upd:
I'm sorry, I understood how to send the stop orders (for entry).
But I can not understand how to use the function SetStopLoss, SetBreakeven, SetProfitTarget, SetTrailing send orders to Coll2 with your function?

Reply With Quote
  #13 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,439 since Jun 2009
Thanks Given: 33,202
Thanks Received: 101,598


Look at post #1 for the C2 Signal API link, find the function you need, and pass it to the easylanguage function I created as the "cmd" parameter. I did not implement all of them, but you can easily make changes.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #14 (permalink)
NicoVersailles
Versailles
 
Posts: 8 since Mar 2010
Thanks Given: 0
Thanks Received: 0

Hello Mike and thank you for this fantastic work. I think that MC is one of the best tool in order to build strategies but it has less "connectivity" than MT4 for example.... So this interface is welcome!

Like Chepel, I don't know how to use "built-in" stops in my MC signal.

For example:

SetStopPosition;
SetPercentTrailing(25,5);

Do I put:
Value1 = Collective2("signal"......
next after?

One more question, can I use forex mini contracts in C2 (i.e. 0.1 contract).

Thank u!!!!

Nicolas.

Reply With Quote
  #15 (permalink)
NicoVersailles
Versailles
 
Posts: 8 since Mar 2010
Thanks Given: 0
Thanks Received: 0

I saw in C2 pages that an Email Signal Entry System is available.

I think that an integration with MC is possible (with alert email).

Is this solution too much slow or is it possible?

Reply With Quote
  #16 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,439 since Jun 2009
Thanks Given: 33,202
Thanks Received: 101,598

Post #7 shows code for setting stops with C2. You'll want to set them ahead of time like this code does to prevent slippage.

As for what C2 lets you trade, that is a question for C2, I can't speak to forex mini's.

As for email, that is much to slow. Using the method I've outlined the delay is about 5-7 seconds or so (90% on C2's side, so they could conceivably improve it one day). Email would be far worse, probably in the 1-2 minute range at best.

Personally I found 5-7 seconds acceptable since I am setting the order up ahead of time (targets/stops). It means there is some slippage on entry but not on exit, which was "good enough" for my use.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #17 (permalink)
 arjfca 
Montreal, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: Interactive Broker
Trading: Forex
Posts: 263 since Sep 2010
Thanks Given: 440
Thanks Received: 91

Multicharts to Collective2

I'm quite interested to try out Collective2 but I'm lost. I did try to download application using links from tread #1, but no success

I have my signal that are generated from Multicharts. I just don't understand the interface between them, even after reading all reply twice...

Any clarification trully appreciated

Martin
Montreal, Canada

Reply With Quote
  #18 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,439 since Jun 2009
Thanks Given: 33,202
Thanks Received: 101,598

Take it one step at a time and tell me specifically/exactly what step you do not understand or where you have a problem.

BTW, this entire solution requires some computer knowledge, so if you are not a PC guru then this method is not for you.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #19 (permalink)
 arjfca 
Montreal, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: Interactive Broker
Trading: Forex
Posts: 263 since Sep 2010
Thanks Given: 440
Thanks Received: 91


Quoting 
BTW, this entire solution requires some computer knowledge, so if you are not a PC guru then this method is not for you

.


I did go trough again late last night and I do understand now the logic, but not the process

-- Multicharts orders to a file

-- Dos program loop to see change in the order files
If change then use the Internet adapter software to send an Internet request line using the info from the
orders text files.

I'm not a PC guru expert. I do succeed to achieve my goals, but with lot of work. I will try again soon or look with solution from TradeBullet

Many thanks Mike for you kind support and dedication to your forum

Reply With Quote
  #20 (permalink)
 
sam028's Avatar
 sam028 
Site Moderator
 
Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629


There is 3 steps, on which one have you some problems ?

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Reply With Quote
Thanked by:




Last Updated on June 8, 2014


© 2024 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 - Privacy Policy - Downloads - Top
no new posts