Anyone to help with dll problem ?

Post Reply
f-trader
Trader
Posts: 27
Joined: Sat Feb 25, 2012 4:08 pm

Anyone to help with dll problem ?

Post by f-trader »

I use a dll which delivers where a mouse-click (left mouse button) happened on the chart.

With this simple dll I code a visual order management EA.
The EA is drawing control labels on the chart and checks if the user has clicked on that label.

From there the appropriate action is started: drawing orderlines. placing pending orders or sending market orders.

Only problem: The EA can only be attached to 1 pair on the platform. There it works great.
As soon as I attach it to a second chart, the mess is on its way. When one EA is removed , the other
EA will crash Empty4 when the properties menu is called or when the timeframe is changed or the EA is removed.

Solution: Somehow modifying the dll to allow for multiple instances on the platform.

I have no idea how to modify the dll to allow for this shared use.

Hopefully one of our members here knows how to do it.

The EA and the files (dll and source files for dll) are taken from FF . The thread starter mentioned that one can modify the code for own design.
Here is the thread link: http://www.forexfactory.com/showthread.php?t=361861
You do not have the required permissions to view the files attached to this post.
Big Be
Trader
Posts: 52
Joined: Thu Nov 01, 2012 6:12 pm

Re: Anyone to help with dll problem ? - Solved

Post by Big Be »

Apparently that has been solved - see post 19, 20 at FF. Download updated version from post #1 there-
http://www.forexfactory.com/showthread.php?t=361861

Big Be
"Big Be"
User avatar
DING
Trader
Posts: 103
Joined: Wed Nov 16, 2011 11:53 am

Re: Anyone to help with dll problem ?

Post by DING »

hello programmer,

I want develop a dll with some function button to integrate on Empty4 chart, then could let me to do some order management job, where could find more information about these rsource? :)
f-trader
Trader
Posts: 27
Joined: Sat Feb 25, 2012 4:08 pm

Re: Anyone to help with dll problem ? - Solved

Post by f-trader »

Big Be wrote:Apparently that has been solved - see post 19, 20 at FF. Download updated version from post #1 there-
http://www.forexfactory.com/showthread.php?t=361861

Big Be
Thank you very much.
I did not visit this thread because nobody answered for a long time.
Just found your comment.

Regards
f-trader
Trader
Posts: 27
Joined: Sat Feb 25, 2012 4:08 pm

Re: Anyone to help with dll problem ?

Post by f-trader »

DING wrote:hello programmer,

I want develop a dll with some function button to integrate on Empty4 chart, then could let me to do some order management job, where could find more information about these rsource? :)
The link to the thread is in posting #1 .
Post Reply

Return to “Coders Hangout”