MQL4 and MetaTrader 4 - page 522

Hello, Im searching indicator that paint the candlesticks based on moving average side, that is easy part, but I need the bulish candlesticks to be hollow. I have a couple of such a indicators, but when you try to hollow the body of the candle, then the border lines missed. A‌ny idea? :)
I am looking to follow a signal but it doesn't seem to be working. ‌ In the signals tab in mt5, why do only 3 signals show up? ‌ ‌ ‌ A‌lso, on mql5.com, when I click 'Start copying in Metatrader' nothing happens ‌ P‌lease can someone help? Thanks
‌Hi, ‌‌I am trying to get the values of a custom indicator to use in an EA.‌ My problem is that I cannot get the same values inside my EA as the values in the Data Window of the Indicator. I‌n the attached picture you can see the values in the Data Window are different from the values that the EA is...
I am new to mql4, and I would like to see the algorithm of how the seconds are modeled in MQL4 back testing, Thanks.
Hi everyone, ‌I'm getting a zero divide error if I leave an indicator running, close the terminal, then start it back up. The end result is that the indicator doesn't load up properly when I open the terminal.‌ Upon checking the 'Experts' tab, it told me which line in the code is causing the problem...
  VPS Issue  (4)
Hi, I am using a Renko EA. It works fine when my computer is on and MT4 is open. But when I put the EA on VPS it doesn't work and I keep loosing money. Can anybody advise what to do please? Any help will be appreciated.
Hi please help.‌ I have 3 strategies and I want my EA to open positions in a loop as follows. The buy strategies are X , Y and Z. If  condition X is satisfied, place buy order, then wait until that order is closed. Once order X is closed( in profit or loss) look for condition Y and again wait until...
Hi All,   had to put in a time restriction function to this EA im building and ive done it but looks and feels quite crudely done. Ive added some Start Hour and Start Minute/ End Hour/Min etc input variables then used 4 crude logics. if ( ( _CurrentHour >= EndHour )) then return false and end code....
Hi everyone, Can someone help me to write a condition for an indicator to send alerts only if the candle's open time is less than 59 seconds for M5? Thank you in advance!
I have a binary options ea I want to use to trade MT4 binary options on Grand Capital MT4, but with that broker the expiration time needs to go in the Comment field in the Order Window (such as 1 for a 1 minute expiration). The broker allows 1 minute expirations and higher. But if you leave the...
  Strategy Tester  (3)
Why some times even if I have download full hystorical data 1 min, followed any suggested indication from the author , the test of a well known EA free version give me no result? I know that  I am a newbie but.....tests from EA works fine....test from other don't work..... Any tip? ‌
Hi, Why when I tried to copy something working into another EA‌... It doesn't work. ‌ Please Help.‌ ‌ It says 'SplitString' and 'ArraySize' - declaration without type. But it is coded like this into many EAs. int init()   ‌ SplitString(PipsDeclencheur,";", PipsDeclencheurArray);...
Some one can help me with this ? I want close the pending order when the candle close. I would like to close the pending orders of this EA when : Close buy: Bid<Low[1] and The actual candle closes; and Close sell: Bid>High[1] and The actual candle closes;‌...
Hi, ‌ I‌ would like to pass out my EA which is compiled to some friends however I would like to have a pop out box for them to key in their lot sizes for the EA. ‌ A‌s I do not want them to know my EA, hence I would only allow them to key in their lot sizes when they run the EA on their own. ‌ How...
H‌i All, ‌I am a self taught mql4 hack needing a bit of assistance to get a complex (to me anyway) data type defined - and have been trying for several nights. A bit of help would be greatly appreciated. I am writing an EA to apply a trading methodology that uses a combination of M1, M5 and M15 time...
Hello guys I'm currently trying to make an EA which will get the value of a certain indicator using iCustom. This indicator is auto fibo, I want to get the values of each fibo levels and set it as the takeprofit, Do you have any ideas how to do that? Btw. I tried using this...
I want to add the expiry check in the OnInit() section and if returns false , I want to prevent it from going ahead. And I want to stop the code. ‌‌I have written this: int OnInit()   { //--- if(expirationdate() !=true) { Alert("Expired!!!"); return(0); } } ‌I wrote the function: bool...
HI, Can any one comment as how an indicator in cobe base as above can be recoded or modified to work in Current MT4 tester? Appreciate your Help Thanks ‌
Hi guys, I‌ am a newbie and trying to understand how strategy tester calculates profit. Screen shot is below. ‌Take profit at 1.10167 after buying at 1.10017, Why profit is not $150. It gives me $139? Testing account currency is USD and symbol is EURUSD! So I am expecting $150 USD. Right? ‌
Hello, I am interested in making the switch to MT4 or MT5. I have read some articles / blog posts and wondered if a moderator or someone who actually uses MT4 / MT5 in the following manner can verify whether or not MT4/ MT5 has the following functionality : 1. Is it possible to create an automated...
Is there any EA/ indicators to make custom Timeframe on mt4 like 10 sec chart, and can u apply indicators on the 10 sec chart
Hello everyone! i'm newbie trader and I want to learning code EA!‌ I have a question want ask everyone! I want to get point OrderOpenPrice and OrderClosePrice of orderclosest but I don't know right way??? Please help me!‌ ‌ PS: sorry, I speak a little English! Thank you so much!!!‌
Can someone tell the difference between NULL and "" Thank you in advance.
[Deleted]
Hi. I have my iCustom indicator. When I run my Expert include my indicator I got the message : "indicator is too slow, 3323 ms. rewrite the indicator, please" What should I do to solve this problem   Thanks Meir 
Hi, As a beginning programmer, i wish to use an object orientated programming approach using MQL4. I am compiling with metaeditor version 5.00 build 1526. I am using inlude files from Andrew Youngs "Expert Advisor Programming for Metatrader4".  In the trade.mqh file wrappers are used calling the...
Hi,  I added the myfxbook EA to a chart and did a full sync to the mql5 vps.  I also enabled debug mode in the myfxbook ea.   When I download the Journals I see it has been removed: 2017.03.02 10:00:40.024 Myfxbook EURUSD,H1: Myfxbook EA Version 1.86‌‌ 2017.03.02 10:00:40.024 Cannot call 'Myfxbook...
  Text ON chart  (3)
Hello I‌ placed a text object on chart B‌ut only a part of my text is shown on the chart. ‌ And it only occupies halp of the chart width. ‌ ObjectCreate(objname3, OBJ_LABEL, 0, 0, 0);    ObjectSet(objname3, OBJPROP_XDISTANCE, x3);    ObjectSet(objname3, OBJPROP_YDISTANCE, y3);...
  Safe, profitable and exciting forex  (94   1 2 3 4 5 ... 9 10)
Dear forum participants. It is no secret that many, for various reasons, lose money and, with them, the hope of a profitable forex trade. Any frontal attack on the Forex market leads to disappointment. I decided to include logic. The market is characterized, due to the presence of economic cycles
Hello, Is it possible to code (I would order a Freelance job if so) a plugin that re-runs MT4 (genetic) test results 1 by 1 and either save the results in excel or open the tabs in firefox? The problem I have while strategy-testing is that many results are given as similar but when I input the...
I'm really a newbie but please have a look at this: Every time i run a strategy testing the first time i obtain different result from the next ones without changing anything even if the platform is disconnected from the broker to avoid spred problems!!! From the second pass everything goes ok.  It...