MQL4 and MetaTrader 4 - page 225

so I added a custom timeframe which is 90M timeframe, I used 30M chart and added the "period converter" script multiplied by 3. I added my EA and unchecked the offline checkmark on the properties of the chart so that my EA works. But every time a re-start my mt4, the offline 90M chart goes back to...
Can I run an Expert Advisor (EA) on multiple shares at the same time. So for example flag all stocks with RSI > 80% ?
I have an expert running on a GBPAUD chart. Its job is to open other charts and apply a template if certain criteria is met for other pairs. Occasionally it will open a chart for the same pair more than once, and so I run a check when each chart is open to close duplicate charts. The problem is that...
I've been trying to find an MT4 indicator that draws vertical lines at specific times that on mouseover shows a description of that line just like the default vertical line MT4 has. Thanks for any help someone might provide
Hey everyone, for an EA I can program that for example F7 key is called and the properties of the EA open. For a custom indicator I know I can open via the indicator's list or via double klick on a line or bollinger band or so. Is there a way to call a special key like F7 or programm a user defined...
I'm in high-frequency trading, because their VPS are more than 200, so he from the official website to buy a month VPS. Thought order speed will be faster, as a result, your order did not change fast. Discovered, after today, I replay the same platform, the same EA, the same signal, the official...
Hi All, Im rather new here and I want to create a simple system where I look at the high and low of the first 1 hour candle at a start time (in this case 9.00).  If after this first 1 hour the rate goes above the high, than sell. If it goes below the low than sell. What I did so far is the following...
[Deleted]
Hi, sir I are not familiar with English.Please understand me  ------------------------------------------------------------  I want to ordermodify at Specific time for example evry four hour,, in other word,, evry new H4 candle,,   Hour() = 4, 8, 12, 16, 20, 0.   When i use the function Hour() ,  can...
  Dinamic TP  (2)
Hi! Does anyone know a math formula to calculate a dinamic TP based on SL distance. The smaller the SL-the bigger TP and the bigger SL-the smaller TP?
I have found a indicator on this website which provides previous day (or week / /month) high and low prices.  I want to use this as the basis of creating my own EA to place buystops and sellstops at the previous day high and low.   Link: https://www.mql5.com/en/code/14410 I can see the code I want...
Hi i was trying to solve this problem with service desk but they redirected me here.. so i dont know who is in charge of signalls sellers but i need help. Recently i decided i will start selling my signals so i choosed one of my old ECn icmarket account and i started trading there according to...
Hi, I am trying to read from history file using an EA, but I encountered a problem with a certain broker, in which the symbol names end in [..r], i.e: EURUSD..r When I try to use the FileOpenHistory function with this filename, I receive an error 4101 - Wrong File Name. On any other broker with...
int liveAccountNumber = 535621;int liveAccountNumber2 = 737213;if(( AccountNumber() liveAccountNumber) && ( AccountNumber() liveAccountNumber2)) Hello, I am trying to do in this way but it is not working for the second or multiple account number. I want to get a code that will allow my EA only for...
Hello, this should be a trivial, but unfortunately I can not find it anywhere.I would like to obtain a MovingAverage of some indicator, for example Stoch(5,3,3). How can it by done? double stoch1 = iStochastic(Symbol(), Period(),5,3,2, MODE_SMA,0,MODE_MAIN,shift); double stochEMA1 = iMA(symbol,...
  Mandarine EAs mods  (620   1 2 3 4 5 ... 61 62)
Another Mandrine mod, this time just using regular Mandrine indicator setup, but if you choose you can filter your trades using fibs, the fibs draw on your chart automatically when Mandrine installed, they will be there whether you use them as filter or not, and if you do use them if the ma's cross...
Strategy Tester no longer works after my broker recently changed its live server from GMT-5 to GMT+2. I've been having to switch back and forth to the old GMT-5 server to test, but that server now has completely gone away, and I have no means to test my EA. Please note that I am not talking about...
Hello  I have a problem. I don't know why there occurs memory leak. I made class Ticket.mqh and TicketList.mqh(Vector) It is made for a convenient order. The destructor also work properly. But error of memory leak  occurs. I'm using two class and some objects (Label) This below of code is related...
I am currently subscribing two signals on two different accounts. But it only seems like the signal I have open om my MT4 mobile plattform is Running.  The account which I do not have open does not copy. Anyone who know what the problem might be? And how to resolve it?
When I place a limit order, my mobile phone makes the tone twice but I expected it once. Changing the town on the phone does not have any effect (tone change expected). Turning the phone of and on did not fix it. Any idea how to fix this? My MT4 terminal has the following checked. Enable Push...
I hired a MQL5 VPS and hosted a trading ac. Now I have stopped trading with that broker and removed everything from my computer. I am unable to remove the trading ac from VPS. Though I used "MOVE" option still that trade ac is seen in the VPS. I have to remove this and host another trade on the VPS....
Hey, Ive been trying to get an array working for a while and keep coming back to it after moving on too finish other things. Im simply wanting to store a fractal high/low value in it. I only need 3 stored so i can identify a change in trend so when the middle fractal is higher than the other two
Hi there, I like to know if is it possible to use C++ to create a bot in MetaTrader5 or I must learn MQL4/5? Thanks a lot!
[Deleted]
when i try to add new chart i get this:  C:\Users\?????\AppData\Roamin\MetaQuotes\Yerminal\804178f05358d0dfe1028115526a9e97\profiles\Default\chart01.chr contains an incorrect path.   anybody can help 
hello I have  a problem. If I input a value which is lower than minimum of take-profit, then I would like to show log. I think mininum of stoploss is "MarketInfo(symbol, MODE_STOPLEVEL)", but I have no idea  how can I get the minumum of take profit... could you help me? thank you in advance.
Can you change the time at the bottom of charts to my local time
Hello, I think it's too complicated for me to use properly MQLInfoInteger() - ot always return 0 for me. For example:  Print("MQLInfoInteger(MQL_CODEPAGE) on Init: ", MQLInfoInteger(MQL_CODEPAGE)); MQLSetInteger(MQL_CODEPAGE, 850); Print("MQLInfoInteger(MQL_CODEPAGE) after codepage change: ",...
Hey, I have been trying to get my head around for loops in order to store data in an array.  a = (Current>High[i+1] && Current>High[i-1]);           for(a;!a;a++)       {       High_Array[h]=Current;       }// So Current is = High[i]// int a;//double High_Array[];^^^^^^^These have all be clarified...
Hi,, I found below code , it does what I want, the problem it dumps all orders types , I just need the pending orders: I believe my problem in this line: --->       ENUM_ORDER_TYPE type=(ENUM_ORDER_TYPE) OrderType(); I need to put only below Identifiers : ORDER_TYPE_BUY ORDER_TYPE_SELL...
Newbie here,  Can anyone please tell me how to code your own alerts for RSI indicator? Thanks!
Hola a todos Disculpen la molestia Quisiera saber si me pueden ayudar a obtener los datos de el indicador personalizado que adjunto, para agregar un filtro a mi EA. Me ha servido mucho ya que identifica las tendencias de otras temporalidades basado en una MA con período común, y lo que quiero es...