Forum

Error 130 - Requirements and Limitations in Making Trades its all OK (code + log with all variables)

Hi! The first buy position does not open and throws the error 130 . This happens after a few orders. The second order never gives problem (OP_SELLSTOP). I put the code/log for better understanding. My code: RefreshRates (); Print ( "Account Balance: " + AccountBalance ());

Problems in Metatrader without installation

Hello! When I have time here at work, I try to run some backtest , but I'm having problems. I use the MetaTrader 4 with just the installation files that I have at home (can not install anything and proxies do not work at work). problem: When I run a backtest can not open negotiations with lots of

Why Backtest dont open my pending order?

Hi! Could anyone help me in this log? I have an EA that calculates orders and batches that will balance the final balance (if I have any drawdown, or the market change position). BUY SELL The part of the log: 19:29:44 2011.01.07 16:54 mGRID EA branch_dori USDJPY,M1: Account Balance: 25333.4924

A newbie error with OrderModify

Hi Guys, i tried to correct the error, I did not succeed. Iam wait for help... CODE: start error on the SyncProfit() //1 - OP_BUY //2 - MY MAGIC //3 - CURRECT SYMBOL //4 - TARGET PROFIT void SyncProfit( int ordertype, int magicnumber, string symbol, double lucro){ int total =