Importing into an Expert Advisor
You can save your generated trigger number into a file in the "\MetaTrader 4\experts\files\" folder, then your expert advisor can get the trigger number from this file.
Or, if this is impossible, you can write your own DLL that can receive signals from your external program and transfer it to the expert advisor.
Or, if this is impossible, you can write your own DLL that can receive signals from your external program and transfer it to the expert advisor.
Additional you can use Win API synchronization objects (Events, etc.)
as one of my friend old me in alpari forum that we can :
1. set ther charting program (omega prosuite) write alerts in a file
2. metatrader open that file and execute order and delet that file
But I don't do that yet :)
1. set ther charting program (omega prosuite) write alerts in a file
2. metatrader open that file and execute order and delet that file
But I don't do that yet :)
Thanks