EA or Script? Global vars?

 

Hi,

Ive got an app that Ive written that works fine.. (EA)

Ive got the following concerns..

1. This is a Hedge app that monitors 4 charts. I dont like the idea of running my ea on all 4, cuz they could step on each on each other.. Ive looked at using gloabal vars, as there are no built in Semiphores, mutexes etc.. into the system.

2. If I only monitor one chart, and its not fast moving, I might not get ticks often enough..

So, Im tempted to simply run a script in a loop , sleeping 500 ms on each loop.

Im mostly interested in what my profit for all trades are doing.. Not what each pair is doing.. Makes for a hard EA.

Any ideas??

Gordon

firebirdwebguy@hotmail.com