Hi,
I'm looking for a script or novel way to import limit orders incl. stops etc from excel / spreadsheet into Empty4. Has anyone seen anything that can accomplish this?
Cheers,
Jem
Script to import limit orders etc into Empty4 from excel?
- Jemook
- Trader
- Posts: 1085
- Joined: Thu May 10, 2012 10:19 am
- Location: Bondi, Sydney, Australia
Script to import limit orders etc into Empty4 from excel?
Please note I am no longer affiliated with Global Prime. I've moved on to my next adventure with Afterprime.
Catch me here: https://www.afterprime.com
Catch me here: https://www.afterprime.com
- gaheitman
- Trader
- Posts: 655
- Joined: Tue Nov 15, 2011 10:55 pm
- Location: Richmond, VA, US
Re: Script to import limit orders etc into Empty4 from excel?
Do you want the trading to be initiated from Excel, or can Empty4 just read an excel file and get the orders out of it?Jemook wrote:Hi,
I'm looking for a script or novel way to import limit orders incl. stops etc from excel / spreadsheet into Empty4. Has anyone seen anything that can accomplish this?
Cheers,
Jem
George
- Jemook
- Trader
- Posts: 1085
- Joined: Thu May 10, 2012 10:19 am
- Location: Bondi, Sydney, Australia
Re: Script to import limit orders etc into Empty4 from excel?
Hey George,gaheitman wrote:Do you want the trading to be initiated from Excel, or can Empty4 just read an excel file and get the orders out of it?Jemook wrote:Hi,
I'm looking for a script or novel way to import limit orders incl. stops etc from excel / spreadsheet into Empty4. Has anyone seen anything that can accomplish this?
Cheers,
Jem
George
Thanks for getting back to me. I'd be interested in hearing solutions for both options or whichever option is available. Thanks!
Please note I am no longer affiliated with Global Prime. I've moved on to my next adventure with Afterprime.
Catch me here: https://www.afterprime.com
Catch me here: https://www.afterprime.com
- gaheitman
- Trader
- Posts: 655
- Joined: Tue Nov 15, 2011 10:55 pm
- Location: Richmond, VA, US
Re: Script to import limit orders etc into Empty4 from excel?
These products allows control of Empty4 from excel:Jemook wrote:Hey George,gaheitman wrote:Do you want the trading to be initiated from Excel, or can Empty4 just read an excel file and get the orders out of it?Jemook wrote:Hi,
I'm looking for a script or novel way to import limit orders incl. stops etc from excel / spreadsheet into Empty4. Has anyone seen anything that can accomplish this?
Cheers,
Jem
George
Thanks for getting back to me. I'd be interested in hearing solutions for both options or whichever option is available. Thanks!
http://fxdialogue.com/en/mexcel-trader (though this looks like you have to use their broker)
http://www.tradingtools4u.com/tools.aspx
This allows you to access excel from Empty4:
http://codebase.mql4.com/3672
The first two options work by running a control script/ea in Empty4 that reads command files created by excel. Excel isn't really controlling the terminal.
If the last option works, you might even be able to use it to create the spreadsheet in the first place to do whatever calculations you need and then get the results to place the orders. Of course, with the last one you have to code all of the order entry code as well. I would think converting shelleynow wouldn't be too difficult (says the man who hasn't opened the file).
George
- gaheitman
- Trader
- Posts: 655
- Joined: Tue Nov 15, 2011 10:55 pm
- Location: Richmond, VA, US
Re: Script to import limit orders etc into Empty4 from excel?
I did a little playing with the third option. With a few lines of code I successfully opened an excel file and read multiple values from it... The demo included with the library also worked, creating a spreadsheet with an embedded chart.gaheitman wrote: These products allows control of Empty4 from excel:
http://fxdialogue.com/en/mexcel-trader (though this looks like you have to use their criminal)
http://www.tradingtools4u.com/tools.aspx
This allows you to access excel from Empty4:
http://codebase.mql4.com/3672
The first two options work by running a control script/ea in Empty4 that reads command files created by excel. Excel isn't really controlling the terminal.
If the last option works, you might even be able to use it to create the spreadsheet in the first place to do whatever calculations you need and then get the results to place the orders. Of course, with the last one you have to code all of the order entry code as well. I would think converting shelleynow wouldn't be too difficult (says the man who hasn't opened the file).
George
George
- Jemook
- Trader
- Posts: 1085
- Joined: Thu May 10, 2012 10:19 am
- Location: Bondi, Sydney, Australia
Re: Script to import limit orders etc into Empty4 from excel?
Hi George,
Thanks again for looking into this for me. I had a PM from a forum member who let me know of his method "Excel Trading Pro" which you referenced. That looks like the best method for what my colleague wishes to accomplish. You're a Legend!
Cheers,
Jeremy
Thanks again for looking into this for me. I had a PM from a forum member who let me know of his method "Excel Trading Pro" which you referenced. That looks like the best method for what my colleague wishes to accomplish. You're a Legend!
Cheers,
Jeremy
Please note I am no longer affiliated with Global Prime. I've moved on to my next adventure with Afterprime.
Catch me here: https://www.afterprime.com
Catch me here: https://www.afterprime.com