General - page 1942

  ERR_COMMON_ERROR  (2)
I'm getting an Error #2 which is an ERR_COMMON_ERROR Here's my info: Close[0]=1.2298 I'm trying to set a buylimit at 1.2161 with stoploss = 1.2156 and takeprofit = 1.2861
I am having in the jounal log the message "TradeDispatcher: all trade context is busy" and in the Experts log all orders come with the error #139 that is "order is locked" . Can somebody explain me when and why this errors are coming and how can I resolve it?
  build 176 bug  (2)
MT4 freezes when you switch timeframes on a chart in build 176
Hello, First, thanks fot the V4 release, there are really some super improvements -well done to the team! As the backtesting came into operation, I could not help myself from looking at this in detail. My first run seemed super and I then did an optimisation which worked very well - on 6 weeks of...
Hello, I'm exploring various functions in MQL4 and found that the "ArraySort()" function would SOMETIMES cause memory crash, I've tried to use local array, global array, with or without size initialization, the function just crashes out of control !! (I got a memory dump screen with forced me to...
MetaTrader 4. Build 176. 1. Disabled working with objects by optimization process; 2. Added modelling a zero bar of the another's period on the tested symbol; 3. During testing at indicator reference to the another's period and symbol, the delay for pumping the missing data is executed; 4. The...
Hi Metaquotes, I was wondering if there are any limits as to the number of orders each account can have open at any one time? I'm wanting to run an expert that may have thousands of small orders open at once - would this be a problem?
Hello to All, In MT3.xx I am able to place a buy and sell trades at the same time like at Open of bar open Buy and Open Sell and then at some other time close both. In MT4 using similiar logic if one of the orders get triggered then the other wil fail Any Ideas on how I can open both trades...
How timeframe parameter works in indicators? I wrote this indicator, but it does not shows the same for ADX in 5MIN window with timeframe 15MIN as ADX in 15MIN window int start() { int limit; int counted_bars=IndicatorCounted(); //---- check for possible errors if(counted_bars<0) return(-1); //----
  Broker for MT4  (7)
I'd like to know if there are any broker supporting the new MT4 for live accounts? Thx.
Why are answers disabled when asked for dde commands? Thanks
hi, some months ago i read, that mt4 encrypts the expert on compilation. the problem was, that if somebody had build 146 and i compiled it with 145, it wont work on his platform. now i want to start selling my experts, so... have you fixed that? shrak
Hi Metatrader Can you please insert S/L and T/P paste buttons in your "new order" window. At the moment, when I put in a trade, I click the &quot;buy&quot; button then afterwards modify the order to put in a stoploss and T/P. It would be a lot safer and more convenient (do not have to type in S/L...
  changelog ?  (1)
MetaQuotes, Is there any chance of you guys maintaining a changelog for Metatrader 4? Whilst I think everyone appreciates continual improvements and bugfixes to the client platform, it's vital all users are kept up to date with these changes to ensure our code bases are not impacted. Since you've...
would highly appreciate if someone could help me to move 3.83 real trader bases into 4 real trader as I have a two year history of one minute. Thanks a lot
CAN THIS BE DONE ? ind_buffer1[i]=(ind_buffer5[i])/2; AND GET ALL THE VALUES DIVIDED BY 2?
  bases  (4)
would highly appreciate if someone could help me to move 3.83 real trader bases into 4 real trader as I have a two year history of one minute. Thanks a lot hector
I would venture to say that grids are a system that takes advantage of randomness in the markets. They work without regard to the technicals or the fundamentals so two things would seem to be possible: 1) They work in the long run in which case markets would become pointless since they would...
I WANT TO DIVIDE DATA IN A BUFFER BUT IT DOESNT WORK for(i=0; i<limit; i++) ind_buffer1[i+1]=(ind_buffer2[i]*(1-ka)-ind_buffer3[i]*(1-kb))/(kb-ka); IS IT CORRECT?
  plataform new  (2)
I’m a trader de fx. I have demo account in your plataform, i development expert for posibles operations I have information that the plataform metatraders 3.84 would be download. I want know that I can use my programs in the new platform ?? In case that the change to the platform 4, I want know...
  MT3 expert programs in MT4  (12   1 2)
Is there any way to automatically convert MT3 (3.85 build 185) expert programs (Meta language II) to MT4? Is there any possibility or have I to do it manually?
It's taken me 2 days, but I finally figured out why my trailing stops are not working. Trailing stops are not working with stop orders. Trailing stops work with OP_BUY and OP_SELL, but they do NOT work with OP_SELLSTOP (and probably OP_BUYSTOP). // Adjust Trailing Stop on SELL order...
  Utility "Tracert.mqh"  (13   1 2)
Hi . Small and usefull utility for visual analys worked orders after completed back-testing. Manual: 1. Put this file Tracert.mqh in folder experts\include\ 2. Add in code of expert the line #include <Tracert.mqh> #property copyright &quot;Rosh, conversed only&quot;#property link...
Hi :) I have a question about code optimization in MQL4. I want check in my expert if MACD main line is over/below some levels - lets say levels of average H-L of bars. Should I create indicator and call it from the expert or put this code into the expert? What does work faster? I want create...
When I run a backtest on a simple EA I wrote I get the following error *many many* times: 2005.07.07 10:10:23 2005.01.06 22:26 StochaMAX: invalid price 1.31704998 for OrderSend function Its a small EA to try to prove a concept. The only two times I use the OrderSend() is in the following two...
Wait, I figured it out. Maybe this is what some others have already pointed out. If I set the Use Date to 6/1/2005 which is June 1st on the Settings tab...the Results show trades for JANUARY 6th...not JUNE 1st !!! Did anyone test this before you released it? Final release my rear end.
Unfortunately, some traders absolutely do not think about real trading. Using experts they expose hundreds orders, delete them, and execute completely wild trading operations. For example, users of the strategy based on grids (Grid). Naturally, on real accounts it at all will not pass. And...
  Strategy tester  (2)
Is it possible to use a 10 minute time frame for the strategy tester, since this is the basis of my strategy.
Hello, This is mostly direct to MetaQuotes' CEO. I'd like to make a request for MT4 Client API. Please make this API free and for all like you did with MetaTrader 3 Client API. The API is very important for developers and traders like me, as it is the backbone of many trading robots. If you unable
The "Use date" feature on the backtester isn't working. When I try to backtest only the previous week or month, it uses my entire dataset. - Vooch