MQL4 and MetaTrader 4 - page 1312

Over the last few years of Forex development in Russia, there has been a lot of fraud by various MT-based brokerage companies. Who has a FAQ on how to solve different issues when a broker is wrong and a trader wants to get his money back
How to draw 2 RSI(13 days) and RSI(42 days) at one Chart?. write code in 1 indicator .thanks a lot!
hi coders, i had an idea what could make it much easier to place a buy stop / sell stop order instead of doing it manually by pressing f9 and typing the limits, stoploss etc. therefore i thought about placing a line into the chart and then start a script with a hotkey and the line-value should be a...
[Deleted]
Dear Support, I am using MT4 build 225. In my chart while trading, my template folder shows all of my saved templates. I can apply them to my charts. Everything is fine. However, when I go to my hard drive to my template folder, 6 templates don't show up in the folder. In MT4 while I have the...
Nice Article on filters for Newbies like myself:https://www.mql5.com/en/articles/1577#9997 I'm a Newbie system developer and all the methods the author describes is exactly how I optimized my first couple of systems. I did those thing in that exact order as a matter of common sense. What I was...
[Deleted]
Hi, I will first get out of the way my thanks. I am having a problem just coming up with a very basic program. I would just like to analyze the 1) HIGH 2) LOW 3)OPEN 4) CLOSE Of the last "x" amount of bars. For example, in excel I could use : E3 = Last Price of this current bar E4 = Last Price of...
[Deleted]
When I am on a 5 min chart my custom indicator shows the latest value. However on the 30 min chart it doesn't show the last value until a new bar. Is there a way to make the indicator show the latest value before the next bar is drawn? I've tried calling WindowRedraw() everytime the .txt file...
[Deleted]
Hello!! I am a newbie in this forum! I have a formula in Amibroker! Please help me to translate to meta trader! Thanks!! This formula in Amibroker is: //duncheonChannel A=Ref(HHV(H,20),-1); B=Ref(LLV(L,20),-1); DC=MA((HHV(H,20)+LLV(L,20))/2,20); Plot(A,"UPPER",colorBrightGreen,styleDashed); Plot(B...
All I have to say is that forex is the best job in the world. You get up when you want, you work as much or as little as you want, you take breaks when you want, go on vacations when you want, no fixed work hours, no bosses, no deadlines, how you make it for yourself is how it will be. Simply put,...
[Deleted]
I've got an issue I can't really figure out. The EA I'm coding has multiple trades that open on H1 independent of a 30 period MA on D1 I'm using as a close signal. Ideally, a buy would open on the top side of it and close if it comes back to it, vice versa for sells. I don't want to discount the...
hi .. pleas tell me what is the diffrences between EA & INdicator ( mostly work, use, codening & simplicity ) thnks in advance. for reply.....
Hi all, In case the EA has the function "Starthour" and "Endhour", please teach me how to adjust the EA for working 24 hour/day ? Thank you !
[Deleted]
Hi all I'm new to metaquotes and I have worked through some of the material to help you create your own codes but it left me in a tail spin and so I come to you asking the following. I'm looking for an indicator that is able to give me a signal (sound & sms/email) one the 8 ema crosses the 20 ema -...
[Deleted]
Hi forum members, While working in Telequote for last few days I observe one indicator deviced by famous Asian TA Fred Tram. The logic is very simple, it generates uparrow signal if the candle closed above its previous N number of candle highest high and generates down arrow if the candle close...
[Deleted]
Hi, I'm fairly new to mql4, so please forgive me if this question is blatantly obvious.. I'm wondering whether or not it is possible to count the number of ticks in a parabolic SAR (i.e. if the SAR is > price and previousSAR < currentSAR then it is a 'downtrend' with 2 ticks [at least], but I would...
[Deleted]
  Neebie to MT4  (3)
I am a new comer to the world of MQL4 and having a hard time opening the indicators after I have loaded them on the platform. I can see it under custom indicators on the platform but when I double click to open it, nothing happens. Can anyone help me this problem?
New article An Example of a Trading Strategy Based on Timezone Differences on Different Continents is published at mql5.com: Surfing the Internet, it is easy to find many strategies, which will give you a number of various recommendations. Let’s take an insider’s approach and look into the process...
[Deleted]
I'm a newbie to programming - when i say newbie I mean I don't know anything about it. I would like to know if there is a program avaible that can alert me via sms of the crossing of 2 moving averages . Then also an indicator with sms alert of price (candle) closing above and below a moving average
Lately I come around a few EAs that forward test fine but fails back test oroptimization. It looks like fault is in Icustom (). I did change EA that it only calls Icustom when it needs it. Anybody knows any way around it? Anyway to increase execution time limit when back testing or whenoptimizing?...
Hey there, I'm having a hard time with one of my strategies, it works perfectly but once a whipsaw or sideways trend appears it performs extremely bad. Here is an example: I work with different indicator crossovers to initiate a market entry or exit, but once this whipsaw pattern appears...
[Deleted]
I succeed to install MT4 on MAC OS X (iMAC 27" core i7), but it doesn't work well. I used wineBottler to install MT4. I cannot install MT5 on the same machine, the procedure start but wait indefinitely on the prompt : "Welcome to Meta Trader 5 Setup!" The software refuse to go further, the buttons...
[Deleted]
I was trying to code a dashboard indicator based on some sample code which I found online. The code is: //+------------------------------------------------------------------+ //| FLI_MP_HAS.mq4 | //| Copyright ? 2009, MetaQuotes Software Corp. | //| http://www.metaquotes.net |
Hi, i need to delete mt4 archives, i have 7.5 million entry so i cannot delete all with my hand, i need to know where is the mt4 database TY
[Deleted]
anybody...please help... step by step, how to change sound alert.. many thanks PL
[Deleted]
Hi all! This has been my first week with MQL4, so I can be considered as a very big newbie ;-) Otherwise, I'm a Java Developer so programming MQL4 isn't being too difficult. I have a big doubt about a question that I've already found in forum, but with no responses: https://forum.mql4.com/29916 :-(...
This is where the problem occurs for iTime()..it used to work just fine.   chartTime      = iTime(currPair,PERIOD_M1,0);Here's the code stub where the Open Order stack is disappearing...   // ---------------------------------------------------------   // Determine if there are active Buy or Sell...
Hello all, I'm currently working on an indicator for a system need some help on how to find open price for a bar at time 08:00:00 of each day ( Mt4 Broker Time ) Thanks for your help. Hairi
Hi Long time reader, first time poster.... I am trying to figure out how to delete past trend lines based on how old they are. The EA I am working on places a trend line on daily highs and lows but I only want to keep the past 7 days of high and low objects and delete older ones. Is this possible...
Hey there, I'm experiencing some big problems when it comes to determining when a newly bar is formed, or an old bar is closed. The code only needs to execute when a new bar is formed. So far I have tried: if(Volume[0] == 0) {//do stuff } and if(Bars > barsTotal || Volume[0] == 0){ barsTotal =...
[Deleted]
Hello, I have make a backtest today, from beginn this year 2010 till date from today und have use both programms, my TS24EA1 and a commercial EA, not from me, named EAShark 5.0 (Selling for 500$!) Wich Testresult do you find better? For the reason that it dont look to bad for EAShark 5.0 I have...