MQL4 and MetaTrader 4 - page 858

How to make 1379.000000 => 1379.0000 ??? in MT4?
Hello, I am looking for a script or something that update the chart every second or shorter. I need that for an offline Chart that run with extern Data into the .hst-File but which will not update the Chart by itself. Thank you C4ME
[Deleted]
Hello, I am currently writing an EA (have a small amount of programming experience in other languages but nothing worth mentioning) that has a section for opening orders. In the open buy orders section, the code works perfectly with no erros. In the open sell section, the code was copied, pasted and...
I've seen in alot of indicators that if there is any sub-indicator, like an indicator based on moving averages, stochastichs or so, those sub-indicators inside an indicator either have the symbol set to NULL or to Symbol(). Whats the difference between it
the fuction is mean,what's read his for binary 's principle
So the strategy I have is based on a pattern. The pattern can be found across all currency pairs. So, thus I'm interested in trading all the currency pairs that my broker offers. I believe it is around ~30. I have an EA that will be trading all of these pairs. With trading that many pairs using...
I have made a custom indicator on window, and a EA to test the indicator, but instead of read the result from the report, I think it's better to show the result on window with some special shape, to indicate the order is stop loss or take profit, I just set the order sl and tp, without manually...
[Deleted]
  A little help?  (34   1 2 3 4)
So I'm learning mql4 after a few other languages, and I (or so I thought) just finished the first version of my first EA, a simple moving average trader. I left it to run throughout yesterday with no concerns, entry and exit were as expected, and I thought it was ready to go. This morning I have
Good morningeveryone!! Oneof my teachers used to say to the students: "The class is wise", referring to the knowledge of all the class is enormous. The same feeling I perceive in . That’swhy I want to propose you the creation of a trendautomatic system. With the experience of everyonewho wants to...
  50:1 leverage?  (1)
HI All, I came across a robot that will only trade on the above leverage, the trouble is that when setting up a demo account with the brokers I have come across I don't see such an option in the lverage drop down list. How can I set the leverage for the robot or is there just a select number of...
  this is mean of%  (11   1 2)
tm -= tm % 44;
[Deleted]
Hey guys, i'm searching for an indicator. should be very easy but i can not do that :( maybe someone can help or post a link. indicator should plot 2 lines. previous High + x and prevoius Low + x. For x a variable "x". thx
[Deleted]
hello guys! sorry for english, because I'm using the translator ggogle (I speak Portuguese) would help to get a expert that I am trying to program. it works well in texte, but does not work in the demo account. * In texte he buys and sells lots usually with increased * In the demo account he buys...
[Deleted]
Many of you should know that the forex market is intevened frecuently by bankers. Some of the mayor banks are under investigation for some practice as delay for 6 seconds the incoming orders to know this information 6 seconds before than other users and take adventages of the situation. So there is...
[Deleted]
Hi all, I'm using Fcharts pro and there is a facility to use a DDE to link to MT4, could anyone help in this matter, really confusing, thanks Rob
Hello. I have normal CCI period 84 on my chart. But still the movment of CCI is quite zig zag. I want to make the zig zag smoother. Plz tell me if any changes needs to make in code. //+------------------------------------------------------------------+ //|...
[Deleted]
Hey everyone, This is my first post as you can probably tell and I am having some issues: Could somebody tell me how I can create a block of code or use some kind of function (or whatever is necessary) to make my EAs operate so they only run at the opening of a new bar and don't run on every tick....
Dear friends, I am having quite a hard time normalizing double prices for certain instruments, for examples, cfd's, because the broker only allows certain values. For example, some indices allow only SL, TP and TS values which floating value are multiples of 5. Ie: 5000.05, 5000.10, 5000.15, 5000.20...
New article MQL5 Cookbook: Sound Notifications for MetaTrader 5 Trade Events has been published: In this article, we will consider such issues as including sound files in the file of the Expert Advisor, and thus adding sound notifications to trade events. The fact that the files will be included...
[Deleted]
My account show disconnect on iphone ipad. It show error code in this attach picture. How can i do continue? Help me please. Thank you.
New article Technical Indicators and Digital Filters has been published: For several years, Code Base has accumulated a large number of indicators. Many of them are copies of one another with only slight modifications. After many hours of visual comparison of indicators on the chart, we could not...
Please help me, I tried to reinstall application MT4 but I can stay online 5minute after that MT4 could not update data . My IOS=6.1 [Normally I used to trade every day,but today I can't] Help me please Ratchapon
Is there any posibility to decode JSON(prefered) or XML in MT4? JSON/XML are simple, several entries of key-value.  It can be 3rd part library, doesn't metter, it just needs to work correctly.
[Deleted]
I have three labels that pop up in a custom indicator at the same OBJPROP_YDISTANCE value (all in the same row)but are spaced at different OBJPROP_XDISTANCE values to create columns. Everything works fine on my computerand most other but one of my beta testers has an issue where the three labels are...
1.int GetPrices(int &m, int &a, int &b) This is a fucion of get price,buy i can't understand the "&" is mean,why add the symb 2. int start = FileOpenHistory(Symbol() + Period() + ".hst", FILE_BIN|FILE_READ); int m=FileReadInteger(start); Print(m); why the up code output is 400,why
Hi, how can I detect (in mt4) if an order with ticket v_ticket is open or was closed by stoploss or takeprofit ? Thanks a lot. Alessandro
[Deleted]
Hi people, Im completely new to this whole concept of writing codes and having it executed automatically. My concern is, how does this work?? Do i have to pass my completed code to my broker who then uploads it in his system? Does my broker have to be using a MT4 in order for my codes to be executed...
[Deleted]
  EA not trade  (2)
Hi.. I have created one EA and I have tested it on strategy tester. Using the Strategy Tester the EA work fine and make trading. But once i installed into live, the EA did not execute any trading ? Why ? The smiley icon is smile.. Please guide me... I have no ideas why its not working... Thank you
I am not sure if this Forum is the right place for this topic, I am just trying. The question is about testing the MQL software, not about a trading strategy. Long time ago I realized, that manual testing of the developed script after an update is insufficient. As time passed, I end up with pretty...
Hi, I am experiencing a very weird 800 EMA miscalculation in my EA. I make use of the following EMA's: 10,30,50,100,200 and 800.. and use the following code to calculate them: iMA(NULL,0,xxx,0,MODE_EMA,PRICE_CLOSE,1) where xxx = 10,30,50,100,200 or 800. Using the Comment function in a custom...