Forex
Google
New signals service!

Go Back   Forex Trading > Programming > Metatrader Programming


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (3) Thread Tools Display Modes
  #11 (permalink)  
Old 10-25-2007, 10:55 AM
el cid's Avatar
Senior Member
 
Join Date: Nov 2006
Posts: 968
el cid is an unknown quantity at this point
Quote:
Originally Posted by omelette View Post
Also, no hedging...
you can have sub accounts for hedging with interactive.

Hedging is really for clueless idiots who have no idea about TRADING PROBABILITIES



eL
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 10-25-2007, 11:09 AM
Senior Member
 
Join Date: Jan 2006
Posts: 1,119
omelette is on a distinguished road
Quote:
Originally Posted by el cid View Post
you can have sub accounts for hedging with interactive.

Hedging is really for clueless idiots who have no idea about TRADING PROBABILITIES



eL
Yes, I meant for single accounts, which is all I have. Just feel it's necessary to point out the cons as well as the pros!

Don't agree with your view of hedging though...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 10-25-2007, 11:17 AM
Senior Member
 
Join Date: Oct 2006
Posts: 160
tsdpka is on a distinguished road
Quote:
Originally Posted by omelette View Post
Hi. The API does not yet support this, though the developer promises this and more eventually ('real' historical tick data I'm waiting for...)

But even when these are available, you are still going to be handicapped by MT's shitty tick-based execution - these's no way around this. So for example, even though your charts are built from real IB data, you EA will still have to wait for a tick from the bucket broker in order to get IB data or send trades to IB. So proper scalping on IB using MT will always be a fantasy - best to move to another platform.
omelette,

thx for the information but i don't really understand why should MT4 wait for the bucket broker tick when the only datafeed going into MT4 is the IB feed. maybe this is necessary when using an EA to trade, but i'm thinking more to get the analysis done in MT4 and then manually enter the trades in IB in first step. the next step would then be having an EA doing that for those working with EA's. i'm not referring to scalping here as this is generally not to suggest no matter what platform you use.

tsdpka
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 10-25-2007, 11:55 AM
Senior Member
 
Join Date: Jan 2006
Posts: 1,119
omelette is on a distinguished road
Quote:
Originally Posted by tsdpka View Post
omelette,

thx for the information but i don't really understand why should MT4 wait for the bucket broker tick when the only datafeed going into MT4 is the IB feed. maybe this is necessary when using an EA to trade, but i'm thinking more to get the analysis done in MT4 and then manually enter the trades in IB in first step. the next step would then be having an EA doing that for those working with EA's. i'm not referring to scalping here as this is generally not to suggest no matter what platform you use.

tsdpka
I'm sure someone will correct me if I'm wrong (don't think I am though...) but MT's DDE Server function is one way - you cannot use MT as a client to read data , just 'serve' data to other apps. It's just not in Metaquotes interest to allow you to chart/trade with non-MT brokers. This means that the only way to get IB data into MT is via a DLL which is what the API is. While the API has continuous access to IB, every EA/indicator can only 'do work' when MT receives a tick, and as you know, sometimes minutes can go by waiting for a tick - not helpful in general, and especially if you want to scalp!

I should say that I was thinking about historical data when I replied to your original question. You can read price quotes into MT via the API right now, but I'm not sure how you would go about charting it as price-bars, or even if it's possible!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 10-25-2007, 12:11 PM
Senior Member
 
Join Date: Oct 2006
Posts: 160
tsdpka is on a distinguished road
very well explained

Quote:
Originally Posted by omelette View Post
I'm sure someone will correct me if I'm wrong (don't think I am though...) but MT's DDE Server function is one way - you cannot use MT as a client to read data , just 'serve' data to other apps. It's just not in Metaquotes interest to allow you to chart/trade with non-MT brokers. This means that the only way to get IB data into MT is via a DLL which is what the API is. While the API has continuous access to IB, every EA/indicator can only 'do work' when MT receives a tick, and as you know, sometimes minutes can go by waiting for a tick - not helpful in general, and especially if you want to scalp!

I should say that I was thinking about historical data when I replied to your original question. You can read price quotes into MT via the API right now, but I'm not sure how you would go about charting it as price-bars, or even if it's possible!
omellete,

very well explained. yes, now i see your point. do you have more information on how to get this API (where to get it, installation instructions etc.) for real time charts in MT4 via IB datafeed? please keep us informing on that topic.

thx a lot
tsdpka
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 10-25-2007, 12:41 PM
zupcon's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Malta
Posts: 235
zupcon is on a distinguished road
Quote:
Originally Posted by tsdpka View Post
omellete,

very well explained. yes, now i see your point. do you have more information on how to get this API (where to get it, installation instructions etc.) for real time charts in MT4 via IB datafeed? please keep us informing on that topic.

thx a lot
tsdpka
Why not just write or buy a simple charting application ? its far easier, quicker and cheaper than messing about trying to force MT into doing something its designed specifically not to do.

If someone was able to do what you want, and it started to be used widely, I can guarantee you that metatrader would simply change the encryption algorithm that MT uses to process the data feed and your solution would stop working.

Why should MT provide everyone with a free charting application ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 10-25-2007, 01:12 PM
Senior Member
 
Join Date: Jan 2006
Posts: 1,119
omelette is on a distinguished road
Quote:
Originally Posted by tsdpka View Post
omellete,

very well explained. yes, now i see your point. do you have more information on how to get this API (where to get it, installation instructions etc.) for real time charts in MT4 via IB datafeed? please keep us informing on that topic.

thx a lot
tsdpka
The API is available here - twslink : TWSLink

As I suggested, it may not even be possible to chart IB price-data - there is no problem displaying the data as a moving average, but price bars, maybe...

Just did some checking and there is an EA called 'Custom Period_v1' that updates an offline chart in realtime, so using this technique, it may be possible to chart IB pricedata. Not for the faint-hearted though as you also will have to become very familiar with the 30-40 or so API commands...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 10-25-2007, 01:24 PM
Senior Member
 
Join Date: Dec 2005
Location: Null
Posts: 537
drgoodvibe is on a distinguished road
when you get to that level why not just use tradestation?
__________________
Metatrader 4 - EA Live and Demo Hosting Solutions http://www.omegasupreme.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 10-25-2007, 01:36 PM
el cid's Avatar
Senior Member
 
Join Date: Nov 2006
Posts: 968
el cid is an unknown quantity at this point
Quote:
Originally Posted by drgoodvibe View Post
when you get to that level why not just use tradestation?
There is a spread equivalent to 2.5 pips on Tradestation on mini lots

IB rocks and is amazing .............just 1 pip on gbp/usd
many spreads all day at 0.5 pip

and very liquid

El Cid
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 10-25-2007, 02:02 PM
Senior Member
 
Join Date: Oct 2006
Posts: 160
tsdpka is on a distinguished road
MT4 interface

Quote:
Originally Posted by zupcon View Post
Why not just write or buy a simple charting application ? its far easier, quicker and cheaper than messing about trying to force MT into doing something its designed specifically not to do.

If someone was able to do what you want, and it started to be used widely, I can guarantee you that metatrader would simply change the encryption algorithm that MT uses to process the data feed and your solution would stop working.

Why should MT provide everyone with a free charting application ?

the main reason is because MT4 is recently offering analysis functions in many cases either for free or you can have some concepts getting developed as functions at a more or less reasonable price. IB is offering datafeeds for almost all worlwide traded instruments (at least all electronically traded) for a very reasonable monthly fee (something about 10 $). therefore combining the two would be the perfect solution. but let's put your question in an other way. why not having ECN and currenex brokers offering MT4 as a further analysis tool or even execution tool ? it would attract more new customers to them. i've no idea how MT4 is working for brokers and dont know the price structure for them but is it so expensive for them or what else speaks against it ? anyone with more details on pro and contra for brokers offering MT4 frontend tools ?

tsdpka
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
metatrader interactive brokers, MetaTrader InteractiveBrokers, MetaTrader 4 interactive brokers

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/metatrader-programming/10362-metatrader-interactive-broker-interface.html
Posted By For Type Date
Forex Expert Advisors - Other Metatrader Broker Resources This thread Refback 02-23-2008 03:48 PM
Metatrader Interactive broker interface by Forex trading system This thread Refback 02-07-2008 11:03 AM
forex » Metatrader Interactive broker interface This thread Pingback 10-26-2007 01:24 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting interactive brokers to metatrader clam61 Metatrader 4 2 09-22-2007 03:29 PM
Is there any metatrader broker offering currency forwards ? TheEconomist Metatrader brokers 0 05-17-2007 07:55 AM
GMT +3 Broker? marcf Metatrader brokers 4 04-03-2007 11:37 AM
Read file for start/stop time? DLL interface or csv/txt? emjay Indicators - Metatrader 4 6 03-04-2007 11:50 PM
Interactive Brokers Ducati General Discussion 1 07-11-2006 09:09 AM


All times are GMT. The time now is 12:19 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.