MQL4 and MetaTrader 4 - page 535

To post a new topic, please log in or register
in the picture above , there is 4 server , i want to use the .ru server , but after a while it change to another , so is there anyway i can remove the other 3 and keep only .ru server to use ?
Please note that forextrada.com has escroqued  various of his clients by  making  hemselves illégal negative trades   to put them account at 0 ! The clients who has still a little amount and who  begin to cleam they just blokked them  netatrader 4 account so they can not put orders anymore.......
  please help (2)
how can i code this ? what kind a loop or if type ? i want there is an orders and i want these orders tp will be different, for example this ea open that orders.  1. order buy 1.3000 2. order buy 1.2990  3. order buy 1.2980 4. order buy 1.2970.       i want 1. and 2. orders tp will be 1.2996 , 3....
  iBarShift() (10)
Please confirm if I am right or correct me if I am wrong: If I use this function like this: int NumberofBars = iBarShift(Null,0,OrderOpenTime());Will it show me(assign to the var NumberofBars) the number of bars that have been created since the time my order has been opened? ( i run it in the...
Hi I'm having trouble expressing how i would like my stop loss set. I can only do, for a long position,         StopLoss_   = iLow( Symbol(), 0, 1 ) > MarketInfo (Symbol(),MODE_ASK ) ;  which is great when i enter as my stop will be the low of previous bar. But as soon as a new bar starts my stop...
Hey guys, I was testing out my first EA and it seems that i cant get any results due to this error: TestGenerator: unmatched data error (volume limit 65403 at 2008.11.20 00:00 exceeded)  I tried everything to fix the error but i guess my lack of experience wont let me figure out whats going on. Here...
. Hi, I'm trying to develop an indicator that gives the SLOPE of the regression line at each point. The slope formula is this one:  http://s12.postimg.org/fumrf7s3x/Sem_T_tulo.png I've already wrote some code based on the Moving Average indicator. But I not very sure about those cicles are given me...
I want my EA to avoid doing any transactions within a period after the last transaction closed. Something strange is happening. My variable that records the closing time for the last transaction "LastOrder" is set back to zero for one iteration when a transaction closes and the bool variable that I...
I've got a smiley face, a moving chart, and a preloaded strategy running on a 1 minute chart (should have plenty of signals)... but no trading. Ideas?
Problem: (2nd) Trade  re enters straight away when the Stop Loss or Take Profit is hit even though the " xcross " for the entry signal/criteria has not changed from eg; from a Buy to a Sell. I am aware that the static will reset , if the Ea initialises again.   When I place this on the chart and...
Hello,  is it possible to write something directly to the experts journal ? The 'print' sends to the experts log. Maybe anyone knows kind of workaround  The reason why I'm asking is that I want to synchronize my own log-entries with the messages in the experts journal. Another solution would be if...
I have a very strange problem that has just started occurring after MT4 upgraded itself to build 500. Prior to the upgrade I could compile a script, indicator, or EA and the Terminal  had no problem reloading the newly compiled file. Since the upgrade the Terminal no longer successfully reload the...
other two possible upgrades! 1: insert in the order form (or in ordersend function) the ability to activate the trailing and how many pips! conseritrebbe what to avoid placing it subsequently from the terminal example: com buy trailing stop 10 points ... or buystop with trailing 10 points! 2: knok...
Good day   I'm using the following code showing the result of the current 2 moving averages but it is not updating even if the MA Chart is moving...   int start()  {   int ctr=0;   while(IsStopped()==false)   {      double MAa=iMA(NULL,0,3,0,MODE_SMA,PRICE_CLOSE,0);      double MAb=iMA(NULL,0,10,0...
I have written a small EA and have this strange thing happening where the same code that I use for detecting a Buy transaction that stops more Buy transactions from happening in that loop, does not work with the Sell transaction, therefore making it go in a loop and repeat Selll transactions until...
Gents, is there a way to display the data in the comments field (of the individual trade orders) on the corresponding entry, sl and tp lines on the chart? With a number of different strategies on the same instrument, it can be difficult distinguishing which chart lines relate to which EAs when only...
Hello all, and thanks in advance for reading this. I'm having a little bit of trouble figuring out how to get two orders to close consecutively.  For some reason, when I run the below code with live trading enabled and the "manual confirmation" box checked it brings up both trades for confirmation....
Hello, I am an usual Metatrader user. I used especially MT4. Ilived in Canada where MT4 worked perfectly. I have just moved in French Guianabecause my father has just died from a serious illness, and I have to supportmy mother during several months. I try now desperately to put on MT4 or MT5, but...
All, How do it get the two values presented by this indicator using iCustom? I've tried the following and other variations and it's not working.        iCustom(NULL,0,"HAMa Step Histo",1,3,6,5, 0, i);        iCustom(NULL,0,"HAMa Step Histo",1,3,6,5, 1, i);    Thanks in advance!! 
OCO Order Suggestions, MetaTrader 4, Open, Start: 2013.07.10 09:11, #791487 can be implemented pending orders OCO? tie ticket between them ... so as to allow the use of strategy!    Label on the vertical scale Suggestions, MetaTrader 4, Open, Start: 2013.07.09 17:20, #790653 why not put a label on...
Hello, I'm not receiving notifications of subscribed topics. I have to go to the topic's page to check the answers. In my profile, all topics are in the subscribe section. Please, does someone knows what can be?
salve a tutti c'e qualche brava persona che realizzi un indicatore di percentuale ( % ) da poter inserire sui grafici grazie
Hallo zusammen Ich bin new im forex handel und möchte gern meine trades automatisieren. Ich habe viele EAs gefunden, aber keines wo mir erklärt, wie ich meine eigenen angepassten Indikatoren mit einem EA verbinden kann. Meine Vorstellung ist, wenn mir die Indikatoren ein buy oder sell Signal auf dem...
I want to copy trades from one of my account from other broker to other account from diff brok
Hi everybody,  I have >= 2 sell orders, how can i get OrderOpenPrice each of them??? Exam: i have 2 sell orders, 3 buy ordesr, 1 buystop order, 1 sellstop order. I want get OrderTicket each of them to compare OrderOpenPrice between sell order vs  sellstop, buy vs buystop,  This is my code, it get...
Hi, is there any possibility to open two positions with one click ? I mean, for example, I click 'sell' in one-click trading window and It opens two positions 0.5 each (or 0.3, 0.7). I don't necessarily need to do it in one-click trading. But sometimes I want to open 0.7 lot position and in the same...
I don't think this is a feature, more like a bug. I just spotted this on one particular EA I was testing. I tried 4 other EAs and three of them displayed Balance and Equity, with one just displaying Balance only. It's clearly not that the equity curve is hiding behind the balance curve, the top left...
Hello, I am trying to write an EA. I need to return the total number of lots opened, but I could only find the number of lots for the current selected order. Is there a selector in MQL4 like * in other programming languages? Thank you.   Jinstin 
Greetings,  I was trying to program an EA that moves 22% of my  free margin for every trade it opens. Only one position is open at a time and the only positions opened are those from the EA. The code I used for finding out the size of the trade was this one: int AdjustLot(){   double sizePosition...
I created a custom indicator where one of the lines is the result of a subtraction of another line  i.e. L2= L1[i]-L1[i-1]. The indicator works fine most of the time but occasionally gives a large +/- value. This is creating havoc to my EA and it is entering into trades spontaneously. Has anyone...