Forum

Mql4, blowing my account ! ahh

Hi guys/&gals, Having a massive problem with my EA, instead of just opening 2 trades with the same magic number and then closing those ones at a set profit target my EA goes nuts and just continually opens the same trade over and over again until I turn off auto trading, I have tried everything and

´*´ - constant expected

does any one know why i am getting this error and how to fix it, this is the line, extern int ProfitTarget = (AccountEquity()*1.01);

RE-Open trades in opposit direction

Hi, does any one know how I can add code into an EA to automatically open trades if there are currently not open trades, I have an ea that will close trades automatically if certain paramters are me buy need them to be replaced as soon as that happens. heeeelp

TRADE BY EMAIL

Is it possible to send a new trade order to a terminal by email