Quote:
Originally Posted by vette9090
Hi Cockeyedcowboy,
Would it be possible to get that code for communication between Amibroker and MT4? That would be the magic link for me to use Amibroker as my strategy builder (master) and MT4 as the auto-trading platform (slave).
Many thanks,
vette9090
|
How good are you in coding in AB and MT? You basicly have to write the code based on your needs.
What you have to do is have MT create a file (within the MT file directory ) with a start up flag, say the current date. Then have AB look for the file when it finds it report back to MT that the communication link is set. from that point you just need to have them exchange signals. You do not even have to close the file between read write as both AB and MT can have the file open at the same time.
When you pass data to AB using the DDE link it dosnot pass any history the data starts with the first bar passed. If you need say 200 bars of history for your system to work you have to either wate till the required bars are recorded before the system will work or convert the MT history file to a format AB can read.
Keit