Search found 194 matches

by board_admin
Fri Sep 04, 2020 6:46 pm
Forum: IBPlugin
Topic: How do I manage my position like MQL5
Replies: 4
Views: 295

Re: How do I manage my position like MQL5

Orders that are not in the new pending list, are filled, cancelled or invalid.
If you have an uid, you can call:

Code: Select all

ibgORDER_STATUS(uid)
to get order status.

The order uid is a 64 bit integer.
On TradeStation / MultiCharts, you need to store it in a double variable.
On MetaTrader in a long variable.
by board_admin
Fri Sep 04, 2020 11:37 am
Forum: IBPlugin
Topic: How do I manage my position like MQL5
Replies: 4
Views: 295

Re: How do I manage my position like MQL5

With new version >= 1.5.0.0 you do this: // [#2] List all non zero positions: Print("+++ positions START"); // create a snapshot of current non zero positions (resolution down to (sub-) account) int total_objects=ibgCREATE_POSITION_SNAPSHOT(__connection_id); Print("#positions=",total_objects ); // l...
by board_admin
Thu Sep 03, 2020 11:36 am
Forum: IBPlugin
Topic: New Version 1.5.0.0 Major Update
Replies: 0
Views: 90

New Version 1.5.0.0 Major Update

A new version has been uploaded: https://trade-commander.com/wp-content/uploads/2020/05/ibpluginSetup.exe This version is a major update and has in parts a changed interface. So using it, means update some code (not much). It has a complete help and also some Video Tutorials with examples for TradeS...
by board_admin
Tue Aug 25, 2020 2:49 pm
Forum: MetaTrader-InteractiveBrokers Order Copier
Topic: How to set the "Hidden" option for an order which is sent to TWS in MT-IB-copier.
Replies: 2
Views: 209

Re: How to set the "Hidden" option for an order which is sent to TWS in MT-IB-copier.

Hello, you can set this in api setup xml file. (Usually let all by default;make only changes you really understand meaning and impact. Thank you) Close the copier. Go to folder: C:\Program Files\trade-commander.com\MTIB Order Copier\xml Open file api.xml in an editor (notepad). Search tag (Category:...
by board_admin
Fri Aug 14, 2020 10:09 am
Forum: IBPlugin
Topic: How do I manage my position like MQL5
Replies: 4
Views: 295

Re: How do I manage my position like MQL5

Hello, with IB it works a bit differently. To get a position, you need to know the symbol. ibgPOSITIONS(uidc...) uidc is the symbol id. Unfortunately, there is no information about time when you opened position. Function ibgPORTFOLIO_INFO(uidc...) provides some additonal information like realized pn...
by board_admin
Tue Nov 26, 2019 8:21 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: TWSLink no longer supported
Replies: 0
Views: 860

TWSLink no longer supported

Dear Forum,
Unfortunately I have to stop my forum activities due to time reasons. Also a bugfix for TWSLink2 will no longer be available.

Users can continue to use the forum and give answers.

Board Admin
by board_admin
Wed Aug 14, 2019 10:47 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Git Repository for TWSLink2
Replies: 0
Views: 848

Git Repository for TWSLink2

Hello TWSLink2 users,
have a Git repository created where you can find most important samples
and collaborate on:

https://github.com/trade-commander1/twslink2
by board_admin
Thu May 16, 2019 3:03 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: VWAP Orders
Replies: 1
Views: 813

VWAP Orders

Hello Community,
has anyone already placed VWAP orders with TWSLink in MultiCharts or TradeStation ?
Thank you
by board_admin
Wed Mar 27, 2019 7:02 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Failure on production machine
Replies: 9
Views: 2100

Re: Failure on production machine

Thank you, please keep us updated
by board_admin
Wed Mar 27, 2019 4:47 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Failure on production machine
Replies: 9
Views: 2100

Re: Failure on production machine

This message comes form IB. I don't believe it is a TWSLink problem. You either missed to pass a paramter or the parameter you passed are not valid. This can be related to account, precautions... Please contact IB support about this. First make sure to have the logfiles. In the API settings of TWS, ...
by board_admin
Wed Mar 27, 2019 4:27 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: Failure on production machine
Replies: 9
Views: 2100

Re: Failure on production machine

Hello,
the last line seems to point to the problem:
Specified algorithm is not allowed for this order
by board_admin
Tue Mar 19, 2019 4:55 pm
Forum: MetaTrader-InteractiveBrokers Order Copier
Topic: MT5 Buy/stop Limit is different than IB's
Replies: 9
Views: 2248

Re: MT5 Buy/stop Limit is different than IB's

With icmarkets it seems also to be possible to place buy limit above market, when stop price==limit price.
by board_admin
Mon Mar 18, 2019 4:34 pm
Forum: MetaTrader-InteractiveBrokers Order Copier
Topic: MT5 Buy/stop Limit is different than IB's
Replies: 9
Views: 2248

Re: MT5 Buy/stop Limit is different than IB's

Hello James, i believe the max. deviation setting is in the menu/options/trade panel. Please dont rely on me. Just join the mql forum: https://www.mql5.com/en/forum They know better how to limit MKT orders. I tried on my MT5 ActiveTrades and i could place a buy stop limit order ABOVE market, where s...
by board_admin
Sun Mar 17, 2019 8:10 pm
Forum: MetaTrader-InteractiveBrokers Order Copier
Topic: MT5 Buy/stop Limit is different than IB's
Replies: 9
Views: 2248

Re: MT5 Buy/stop Limit is different than IB's

sending a limit order at 185 when 180 is penetrated implies that you can send a limit order that is above the current price Yes, sorry, if this is not possible then it is of course no workaround. I don't understand this second suggestion as price would have to retrace from 190 and drop to the limit...
by board_admin
Sat Mar 16, 2019 2:27 pm
Forum: MetaTrader-InteractiveBrokers Order Copier
Topic: MT5 Buy/stop Limit is different than IB's
Replies: 9
Views: 2248

Re: MT5 Buy/stop Limit is different than IB's

Hello, i think i understand the problem but the bridge copies orders as they come from MT4,MT5. This is somekind of product strategy to keep the software most straight forward as possible because the software is already very complex with this requirement alone. Perhaps you can compensate or workarou...
by board_admin
Sun Mar 03, 2019 2:09 pm
Forum: MetaTrader-InteractiveBrokers Order Copier
Topic: How to use MT-IB Order Copier new feature "Create Close Order on Missing Bracket"
Replies: 4
Views: 1514

Re: How to use MT-IB Order Copier new feature "Create Close Order on Missing Bracket"

Hello Aaron, sorry for late answer. Got no notification about new message here. The API.xml is located there when using version 2900. Perhaps the rth flag is set to false there, what could explain the delay with gold. When using MT4 and you allow a default target and stop (Bridge Menu / Setup / Misc...
by board_admin
Wed Feb 27, 2019 8:36 am
Forum: MetaTrader-InteractiveBrokers Order Copier
Topic: How to use MT-IB Order Copier new feature "Create Close Order on Missing Bracket"
Replies: 4
Views: 1514

Re: How to use MT-IB Order Copier new feature "Create Close Order on Missing Bracket"

- bracket The bracket should be cancelled when order closed. More over, the stop of the default bracket is used to close a position on MT4. "Create close order on missing bracket" means that a close order is created when no bracket have been created, because order normally closed by stop of bracket....
by board_admin
Wed Feb 20, 2019 5:26 pm
Forum: MetaTrader-InteractiveBrokers Order Copier
Topic: Can ONE bridge support an MT4 Client AND MT5 Client on the same server.
Replies: 2
Views: 985

Re: Can ONE bridge support an MT4 Client AND MT5 Client on the same server.

Yes, this is possible.
One bridge or order copier can connect to only one IB account, single or FA.
But it can connect to multiple MetaTraders 4/5.

To connect a MetaTrader to the bridge, attach ib_order_copy to one chart of your choice.
by board_admin
Tue Feb 05, 2019 12:24 pm
Forum: Twslink - universal Interactive Brokers API plugin
Topic: MT4: Event values not populated
Replies: 8
Views: 2559

Re: MT4: Event values not populated

I could reproduce this.

Please checkout the fix:

https://trade-commander.com/download/2148/

Just install.