NexusFi: Find Your Edge


Home Menu

 





IB order entry


Discussion in MultiCharts

Updated
    1. trending_up 2,833 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 7 posts
    2. attach_file 0 attachments




 
Search this Thread

IB order entry

  #1 (permalink)
 grew 
Los Angeles CA
 
Experience: Advanced
Platform: IB, MultiCharts
Trading: ES
Posts: 5 since Jan 2014
Thanks Given: 1
Thanks Received: 0

I have a strategy coded out that I like and want to actually start sim testing it. Only issue is that I am having trouble actually getting Multicharts to send real orders to Interactive brokers. I have tried the search function and I don't see anyone that has code for order entries in IB. Just need to get some simple code to create the order that i can work with.

Thanks in advance.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Ninja Mobile Trader VPS (ninjamobiletrader.com)
Trading Reviews and Vendors
Exit Strategy
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
Online prop firm The Funded Trader (TFT) going under?
Traders Hideout
 
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,431 since Apr 2013
Thanks Given: 481
Thanks Received: 1,623

grew,

what exactly happens when you connect MC to IB? Are the orders send at all? Is there anything under Logs or Alerts in the Order and Position Tracker window?
You can also try a build in strategy like the MA crosses, this should generate an order at IB. If not I would guess the problem is somewhere in the settings and not in your strategy code.

Regards,
ABCTG

Follow me on Twitter Reply With Quote
  #3 (permalink)
 grew 
Los Angeles CA
 
Experience: Advanced
Platform: IB, MultiCharts
Trading: ES
Posts: 5 since Jan 2014
Thanks Given: 1
Thanks Received: 0



ABCTG View Post
grew,

what exactly happens when you connect MC to IB? Are the orders send at all? Is there anything under Logs or Alerts in the Order and Position Tracker window?
You can also try a build in strategy like the MA crosses, this should generate an order at IB. If not I would guess the problem is somewhere in the settings and not in your strategy code.

Regards,
ABCTG

Ill find the code for the MA crosses and see where I went wrong.

Started this thread Reply With Quote
  #4 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,431 since Apr 2013
Thanks Given: 481
Thanks Received: 1,623

grew,

any other build in strategy that takes entries would work, but MovAvg Cross LE and MovAvg Cross SE with short MA settings are great to generate a lot of orders within a short time.

Regards,
ABCTG

Follow me on Twitter Reply With Quote
  #5 (permalink)
 grew 
Los Angeles CA
 
Experience: Advanced
Platform: IB, MultiCharts
Trading: ES
Posts: 5 since Jan 2014
Thanks Given: 1
Thanks Received: 0


ABCTG View Post
grew,

any other build in strategy that takes entries would work, but MovAvg Cross LE and MovAvg Cross SE with short MA settings are great to generate a lot of orders within a short time.

Regards,
ABCTG

yeah it looks like its my settings.... hrmmm

Started this thread Reply With Quote
  #6 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,431 since Apr 2013
Thanks Given: 481
Thanks Received: 1,623

grew,

this is a start, now we know where to look at.

Is MC connected to Interactive Brokers? You can see this in the Trade Bar when the button next to "Interactive Brokers" is green.

Can you post screenshots from the Logs and Alerts tabs in the Order and Position Tracker. (You can find it via File->New->Order and Position Tracker Window)?

This should give insights into what is wrong with the settings.

Regards,
ABCTG

Follow me on Twitter Reply With Quote
Thanked by:
  #7 (permalink)
 grew 
Los Angeles CA
 
Experience: Advanced
Platform: IB, MultiCharts
Trading: ES
Posts: 5 since Jan 2014
Thanks Given: 1
Thanks Received: 0

Logs all i get are hundreds of the same warning of a "Fatal Error: Unknown message id."

I have no issue using the chart trader. It sends and executes orders perfectly. I would just like to fully automate the strategy.

Started this thread Reply With Quote
  #8 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,431 since Apr 2013
Thanks Given: 481
Thanks Received: 1,623

grew,

I am afraid, but I could only guess on what could cause this error message. The fastest way for you might be to contact MC via their chat. They will probably connect to your computer via remote desktop sharing and set you up.

It would be nice to know what they tell you.

Regards,
ABCTG

Follow me on Twitter Reply With Quote




Last Updated on February 28, 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