MQL4 and MetaTrader 4 - page 844

It is too small, I don't see the name of the indicators. either is it possible to increase the size of the icone of the terminal upper bar : Timeframe M1 M5 M15 and the other icone ?
I am interested in adding an ea to my mt4 platform but with the newer platforms the mql4 files will not automatically transform in to a ex4 file like it use to with the older mt4's. Can anyone help please?
  Need Help on this?  (12   1 2)
Hi! I have written EA using 2 strategy. first strategy i use 30 minutes and 2nd strategy i use 4hrs and for JPY pairs. I run EA with 30min tf. for second strategy i used BB indicator at 4hr timeframe and once per bar. I validate the below conditions once per bar. problom is EA check every 30 minute
Does anyone know if is possible to write data to an external table mdb Access? is it possible to create a dll? and how to create it?
[Deleted]
PLEASE I NEED HELP. I HAVE TRIED TO TRADE FOREX FOR ABOUT ONE YEAR NOW. BUT A AJOR CHALLENGE I HAVE IS THAT I DO NOT KNOW WHEN TO BUY AND WHEN TO SELL. AS SOON AS I PLACE A BUY POSITION THE MARKET WILL START TO SELL. LIKEWISE IF I PLACE A SELL LATER, THE MARKET WILL START BUYING. PLEASE COULD...
[Deleted]
  fix the EA  (4)
i made EA by EA generator, based on thid indicator, but it wont make order, can someone please gime me a clue how to fix this problem?
Hi all I need some help fixing this dashboard indicator My objective is to display mainly for the 4H the indexes that are in the best configuration either in UP trend and below Stoch 20 and Down trend and above Stoch 80. the dashboard was created to display some occurrences of conditions in all the...
[Deleted]
Hi together, I copied a code and modified it at several rows. When compiling it MT4 Editor shows an error. ErrorDescription is not defined:            m_Allow_Trading = false;           ErrorCode = GetLastError();           string ErrorDescIniLongMod = ErrorDescription(ErrorCode);           string...
[Deleted]
  Close order next tick  (13   1 2)
Hello, Have anyone any ideas for such problem: when an ea sent order and transaction was done (platform X) after next tick order closed (loss depends on next tick - less or more than spread). Next, ea sent order (the same direction) and everything was ok to the next transaction. Event starts again,...
Just now I have import historical data into MT4, and the data is from 2001.1.2 to 2013.11.29; and now my terminal shows like below, that is because of lack data from 2013. 12.02 to now; so my question is how to add these data into MT4
I'm testing different signals. All of them reports a monthly growth between 100% and 500% or more. But in the practice I have done I always have had a loss. Is there any comparison between signals or a report of the last month performance? It is very difficult to choose a wining signal. Thanks
Hello sometimes i see some EAs have return(-1), return(-2) and return(0) as we know it returns nothing, but what about return(-1) and return(-2)? as in the article here https://www.mql5.com/en/articles/1355
I am trying to back test a few EA's but get every time the following error message and can't find a proper answer so far on this issue. The error message is as follows: 11:15:20 EA name: optimization started 11:15:20 EA name: no data restored 11:15:20 EA name: optimization stopped 11:15:20 There...
  Error 4103  (3)
I looked around the forum before posting this. What apparently works for others has not yet worked for me. • The file is not open. • The file is in the Scripts folder with the script file shown below. • I have tried to open text files and csv files and keep getting 4103. • Windows 7 Thanks in
[Deleted]
Hi, so I'm currently in the middle of writing a code that requires a minimum stop loss allowed, and so have: ticket1=OrderSend(Symbol(),OP_BUY,volume,Ask,0,0,0,"",magic,Blue);OrderSelect(ticket1,SELECT_BY_TICKET); btake=(OrderOpenPrice()+(level*adjusted_pips)); blimit=MarketInfo(Symbol()...
Attached is the source of this indicator. Currently it makes use of ObjectMove to continuously plot the pivot levels. I'm trying to modify this indi so that it plots HLINES (Horizontal lines) for the pivot levels for the past month.. I believe I have to change or replace the ObjectMove instances.....
Hi, I would like to make an indicator which has two extern variables: risk (in %) and stop loss. The indicator should print the correct lotsize in the upper right corner of the chart. But there is one issue I can't solve. For example, my loss is larger when I lose 20 Pips with a EURGBP-trade than...
The below codes are in Indicator, and I want to know the difference when I change a little About this Indicator, I don't want to draw any indicator in Terminal, I just want to select some points in Indicator and call this indicator in EA by iCustom(); Below codes include two case: one case is just...
hi, I'm looking for someone who has knowledge on how to get the informations about the last closed bar in my chart. I have been trying to figure out witch one it with count = IndicatorCounted()-1 or something like count = Bars-1 count = iBars(Symbol(),Period_D1 )-1 or else high = iHigh(Symbol()...
  some error 130 about code  (13   1 2)
about below codes, it is very different when the red code "if(Pro<10000*Point)" is activated or not when I test it on the history data; In the fact the history data is very simple, about consecutive 5 days, and Pro never exceeds 10000*Point. when the red code is activated, the order stop line...
I have always been able to limit open orders across multiple pairs that all have different "magic numbers" but recently I am having a problem because my EA will open more than the allowed 1 trade if the entry criteria is met at the same time on different pairs. E.g. if the EA opens a trade when...
[Deleted]
What I'm trying to do is go through my closed trades and see what price action did 20-30 candlesticks afterwards. I want to move the chart window back to that point in time and take a screenshot of it. Does mq4 have some type of scroll function? The alternative I have right now is to run an EA...
[Deleted]
Hi, I am new to mql. Is it possible to summarize the high prices of the last 20 intraday-asia-sessions? I need as the result the compound number. Can somebody show me an code example?
I know that there must be an step by step explanation for this somewhere, but just can't find it. I want to try trading Bitcoins on a Demo account and I already got the server address, in this case: <removed by moderator> If someone could explain me where to put in this in or provide a link, that...
When i open a pending order it produces ticket number,ordertype etc.and can learn them with orderselect function. But after the pending order realizes and it becomes a market order,does its ticket number,ordertype change and becomes a new order?and could its ticket number,ordertype etc be learned...
[Deleted]
  Time code  (1)
I would like to know the code necessary to set my Expert Advisor so it trades within a specific timeframe. For instance, Tuesdays from 09:15 to 11:15 and Wednesdays from 10:00 to 15:00.
[Deleted]
hi.. I have got an error message as below:- OrderModify error 130 Could somebody help me how to solve this problem ?... my code as below: Thank you extern double TopProfit = 0;extern double lot = 0.1;extern int StopLost = 0;.........void SetBuyStopLost() {   if (OrderOpenPrice() - Ask > Point...
I have made an EA and test it, it is ok, the result profit is 5000; to optimize the EA, I copy it on an blank EA, named "test_0", then I changed many variables to test, and at last i find it become worse when I change variables. Now I copy this EA's code into "test_0" again and test again, I find it...
Hi, I am running a script and its name appears in the right top zone of the window, covering the bars sometimes. Can I remove the script name from the window, or move it to another place ? Thanks
When we run a back test and select open chart, it displays the entries/exits and indicators used. Is there any way to hide the indicators so the strategy cannot be duplicated?