MQL4 and MetaTrader 4 - page 1018

Hello all, Wondering if anyone can point me to a good range bar indicator for mt4. I got one from: https://www.mql5.com/en/forum/178540 but it doesn't seem to work for me. Thanks!
I am a new user of the mt4 plateform, i just got a software from a friend claiming that it can be used to plot the daily pivot automatically on my chart. I need help on how I can go about installing the software or any other of such on my mt4 plateforms please.
is it possible to add symbol letters into magic? fex: int MagicNumber = Symbol()12345;
[Deleted]
Hi, I had been testing some EA's and I got really confused now. I had been testing EA's on demo FXCM MT4 then I decided to open a Alpari demo MT4. Made same EA, same time frime same setting ect... But the results are not the same between FXCM & Alpari. http://picturepush.com/public/3576871 -...
I want to prevent my EA from open new order if bar is older than 10 min ... is there a simple function i can use which returns 0 if bar is older than 10 min?
As a matter of fact the reason for creating this branch was the idea that everything has been automated in terms of making orders and realizing large amounts of currencies. If you want to continue the idea that everything is calculated and recognised by the majors long before us, or hotter, MM sets
[Deleted]
I write EA which save each tick. I don't know why function start() don't save ticks. Function start() should execute when new tick appear. Am I right? Please help. Where may be a problem? int start() { string strSymbol="EURUSD"; double bid =MarketInfo(strSymbol,MODE_BID); double ask...
[Deleted]
Hi guys did anyone of you experienced a strange thing like the one below OrderMagicNumber() returns negative value and which is strange is that it repeats the same negative value across the history - anyone experienced something like that before? here is an example of such things: 2012.06.21 19:40...
[Deleted]
It is my understanting that the Start() function works tick by tick. Is there a way to use real-time data from the computer clock and update every second? Not tick by tick but every second? If so please give me some help. thanks
[Deleted]
Friends, The value stored in variable TL3 is becoming zero after finishing the count no 37 using FOR statement. How to store the value in TL3 got from FOR statement even after count is over. In my EA FOR statement stops executing after BeginTime 8:00 am. The value in TL3 is lost after 8 am How to...
hi I get the following error what can I do to fix it ?
[Deleted]
  EAs not working  (5)
Guys, I have installed the a couple of Expert Advisors to my MT4 platform. It does show a smiley face, however, no trades are happening. Live trading has been activated and Expert Advisors tab has been checked on the tab. Please help. -- Rahul
[Deleted]
Hi, Is it possible to replot a new candel stick/OHLC chart based on data from an existing pair? Im looking to recreate a pairs chart based on an indicator ive come up with. If this is possible, could someone point out some general samples as im unfamilar with MT language. Thanks for your time
Personally, I've been trading for a week and all profits! I wonder how long it will last? Are there any pitfalls?)
Does anyone know whether there is something similar to WindowTimeOnDropped() for indicators? (I know that WindowTimeOnDropped() is for scripts or experts only).I would like to use the info from the bar I dropped the indicator onto in the calculations done by the indicator. I would like to display...
Hello! Me Simon. I have CTRL-C -> CTRL-V coded EA. Then I have bit recoded it, since I have learned bit on the go. Had problem with 'lastIsBE' function. So recoded it again, especialy this mentioned function. But... still have same problem as before - although last open order is break even, EA says...
Hi experts. I am new with MT4 and am trying to pick it up with all the great resources freely available. I tried my hand at putting together a custom indicator but just didn't work. No errors upon attaching to chart but no signal was drawn. The effect I am trying to achieve is to multiply EMA(Vol)...
Hello, I am researching the best options to protect an EA. Any recommendations ? I do realise that 100% protection is impossible, but deterring the 90% is all I am interested in! So, thus far the options I am thinking are : 1/. dll+mql file, with real time license mql file 2/. mql file real time...
[Deleted]
for example when your buy order is in negative profit,send another buy order with increased lot size x2.
Greetings, I use three CCi's - Pink(9), Yellow(19), Green(50) I use the known formula - iCCI(Symbol(),PERIOD_M5,9,PRICE_CLOSE,0); (sorry, in this example it is M5 not M15 - but the difference shows in all periods) Oddly, when I calculate the relative condition between the three CCi(s), I get a...
[Deleted]
Hello, I new member and i learn MQL4 but i don't start where? I need a EA basic can you help me? Thanks for much
[Deleted]
  New Order  (1)
just dowloaded the platform met4 on a demo mode, while clicking the new order icon - the buy and sell icon respectively is not active, hope you can help me go around with this scenario. Thanks in advance :)
Below is the page of the discription of reversal fractal https://www.mql5.com/en/code/10686
Greetings.... In my trading strategy, i'm only allowing a max loss 0f 20% from initial deposit for a specific period, and upon reaching a profit level ..lets say 15%, the trade criteria will follow a new sets of lotsize and other set parameters specific to a higher band and no new trades shall be...
Hello, everybody, i am quite new to MQL4 programming, and i have a problem :)   if(OrdersTotal()==0)  {  double account_ballance=AccountBalance();  GlobalVariableSet("account ballance(start)", account_ballance);  } As a result to the coding above, i would like to have a global variable declared...
  Alert Timing  (2)
I want to be alerted when a variable is met in the LAST time frame. Right now I'm alerted at the end of EVERY time frame because this criteria was met sometime in the past intervals. Not sure how else to explain it. Here is the relevant code. if (bCountdown==13) ~~~Should something go here...
Hello all.. I new to this and learning to code... and it will be a long process with no prior back ground in coding.. However, I'm looking at building an e.a. that trades with the candle patterns: I like the Hammer pattern;Inverted Hammer; for example and of course staying with the trend... Anyone...
I noticed in ArrayResize() the formal parameters are defined as such: int ArrayResize(object &array[], int new_size) Is object&array[] a way to allow the passing an array of any type as a refered parameter and why cant I do that in my own functions ? (I tried and it seems mql4 wont recognise object)...
Hello all. I am bit unsure about the right procedure to retrieve data from an higher timeframe. I was trying to read the value of MACD from an higher timeframe, exactly the 4H chart looping through the data index on the 60 Minutes to show with two arrows where the signal started or not. I had a look...
Hi, I'm looking for a code or indicator provding news event capabilities. which support back tests. (Like the kangaroo EA ) thanks.