MQL4 and MetaTrader 4 - page 620

Hi all, I'm looking for a developper guy, that can develop a EA with 3 indicators, a stochastic %k- 17,%d -3, slow -7, that detect if the stocastich is oversell or over bought between 80 and 20 lines... and i would have what to open entries when EWO indicator ghive a signal to enter! If any have...

Sometimes I have problems with drawing lines. In some Timeframes the lines are shiftes and I can't understand why. Can anybody see something wrong.? OpenTime0=TimeCurrent() - (TimeCurrent()%(PERIOD_D1 * 60)) +StartHour*60*60+(60*StartMinute);CloseTime0=TimeCurrent() - (TimeCurrent()%(PERIOD_D1 *...

Friends, I am a newbie to mql4. But I know little programming in mql4. I need help in writing a code for the condition below. I want to identify the latest two consecutive bullish bars or bearish bars formation between 00.00 hrs to 08.00 hrs. Such bull/bear bar must be the one which is formed...

Hello, I am actually looking for a complete chart for the US dollar index and the Japanes index / future on mt4, which is realtime and can have loaded other indicators like moving averages, trend lines, possibly other sorts of indicators loaded. It is quiet discomfort to go to the websites who offer...

Hi Guys, I'm trying to learn MT4 programming, and this very moment I'm developing an PinBar detection indicator, which tells me to buy or sell. I developed this indicator especially for the 4 hour chart, because of the special rules for buy or sell. The rule for detection is as follows: Body of...

The performance graph and Balance/Equity. There is something that seems odd. On some EA's they plot quite separately. At other times there is no meaningful divergence. I cannot quite place my finger on what is different and why and when it does not graph in the same way. Just sometimes I am...

I am writing an EA to work with multiple pairs at same time. I attached the EA to EURUSD and the EA would do math on other 5 pairs as well. The problem I found was that: the history data in the other 5 pairs did not refresh, except EURUSD, because the EA was ONLY attached to EURUSD. My solution was...

I have an indicator in ex4 format that displays the following: -As a buy signal Underneath the last bar, it will display a red arrow pointing up. -As a sell signal Above the last bar, it will display a yellow arrow pointing down. I have attached a screenshot so you can see for yourself. What I...

Hi Guys New here, so excuse if been asked before ;( been puzzled for while on how I can save the trade and account window size to the way i want it as everytime I shutdown mt4 it reverts to the default layout every colum evenly spaced from left to right in bottom of mt4 I have reduced the colums so...

I created a custom indicator that outputs a binary signal on whether to open a trade (0 for do nothing, 1 for open long, -1 for open short). When I attach it to a chart it works as expected and I see the blips of 1 and -1 in the expected locations. I then coded an EA to simply open a trade if the...

Can anyone explain why the following code does not seem to work in a custom indicator? int start() { int TestArray[]; TestArray[5]=99; Print("T: ",TestArray[5]); return(0); } For some reason it just prints "T: 0" as if the value 99 had never been assigned. What am I doing wrong?

I know that you can measure the difference in price betweenthe current price and moving average. And there are several other objects thatcan be used for this sort of calculation. But is there any form of a straight linethat can be used to measure this difference? In particular I'm working...

Hello everyone. I need some initial guidance on how to make MT4 grab signals (buy/sell/modify, set SL, set TP) from a chat and/or e-mail sent by a trader trading manually (not on MT4). I guess such a system should have a function to grab info from the chat/e-mail, write it to a file and MT4 can then...

I would like to make the move from FXCM's Strategy Trader to MetaTrader. I have tried looking around for a resource to convert the Strategy Trader coding to MetaTrader but have not found what I'm looking for. I would really appreciate it if someone could let me know if there is an online tool that...

I know, this is not about coding, but does anyone know about a site that explains why certain changes have happend? And i don't mean something like: Today was a very bullish day ... the Euro continued its trend ... This i can see by my self ... but i want to know WHY significant changes are...

Thank you for using MetaTrader 4 mobile terminals for iPhone and Android. Probably you have appreciated all its exciting features or perhaps noticed some errors. However, we hope that you enjoy all its advantages. And now we appeal to you. We want to know your feedback and encourage you to vote for...

Hi, I just started with the demo for metatrader 4 yesterday. It was smooth sailing until today. I went short / sold usdmxn at 14.0635 at a volume of 8. The market dropped all the way to 14.0539 but my profit stayed in the negative the whole time. Can someone explain what is going on with that...

Hi, I've been working on some alert indicators and i have come across some problems. For example i want to use the PlaySound() function, in order to play one sound, and at the same time i want an Alert() dialog box to pop up, but without the sound of the Alert() function, ussualy set in the events...

Hi, simple question. If I program an expert adviser, back test it, etc. and it proves profitable, can my broker steal my expert adviser? Reverse engineer it? Is this something they're legally allowed to do through meta-trader license/ownership agreement? I guess it doesn't really matter whether...

Hi, I have an idea for an indicator based on Elliot wave method of analyzing the markets. Basically, the method strives to determine when demand/supply has entered the market by summing up the volume on individual waves. To make things simple and straightforward, I propose using a normal MT4 zigzag...

//+------------------------------------------------------------------+//| |//| In no event will author be liable for any damages whatsoever. |//| Use at your own risk. |//| |//+------------------- DO NOT REMOVE THIS HEADER --------------------+#define SIGNAL_NONE 0#define SIGNAL_BUY 1#define...

hi everyone, I wondering is there has a method to control my monthly loss? for example, I'd like to set maximum 10% loss, if I had loss 10% money of my account balance this month, then stop trading till next month. exclude using write a file to record the account balance. anyone can share how to do...