MQL4 and MetaTrader 4 - page 1011

To post a new topic, please log in or register
If I have a line of a code like: if (function_a(xxxx) > 100 && function_b(yyy)>200) but function_b() is uses the results of function_a(). Is the MT4 computs function_a() first, and then takes its results and put them inside function_b()? or maybe I should computs function_a() first, and after (;) it...
I like to use this EA for educational only, if you able tohelp me out I very appreciated. Here how I wish to codes: I want the EA to open buy if bar close above MA(12) and if this trade close out, now EA must ignores all the bars that close above MA(12) and waiting for bar close below MA(12) to open...
I am the developer of SteadyWinner EA. Now Version 2-forSmallAccount is free. The EA works on EURUSD. You can use it on any timeframe because everything is hard coded. Since the EA collects data from different timeframes, backtesting can be slow. Please have some patience. Trading principles, the...
Hi, I want to do coding in the indicator to perform Y-axis rescaling, would like to know whether any code or function in MQL4 to preform rescaling the Y-axis (Price) ? Not using "F8" --> "scale fix", I want to do it automatic in the indicator. Thanks for your responses.
Hello freinds, I understand that a function can return ONE veriable. If I want to return more then 1 veriable, (f.e. a number and a string), Can I defind within the function an aray (f.e. kuku[0,0] ), which its first place is for the number and its second place is for the string, so... I returning 2...
hi guys recently i have checked my historical datas....1 min 5 min 15 min ..... and i have found a lot of errors!!!!! in some cases there arent datas for several days!!!!!!! i know that it's possiible to download them but i presume that they are not reliable. right???? each time i...
Ok, I have written a couple of indicators that deal or address currency ring trading. One of them uses the iADX of each symbol in the given currency pair to show the iADX of each of the pairs in a single indicator. When the conditions are right, they trigger an open trade in the tradition of the...
With help of firends it is made one simple script for closing half of the open position. (Scailing out). It is working beautiful with 5-digit brokers who have micro lots available. Problem is with brokers such as FxPro who uses mini lots. If position size is 0,80 lots, script is working normal (you...
Hello everybody! Can anybody help me to check for profit some custom indicator.I was read an article here about testing custom indicator - https://forum.mql4.com/22243 and was use this EA https://www.mql5.com/go?link=https://c.mql4.com/book/mq4/experts/shared.mq4 and https://www.mql5.com/go...
I try to program a Economic calendar script to output outcoming news. I tried to import the csv. file from dailyFX mit a '\t' delimiter so that a full line should be plotted in the window. But all lines are cut to a various amount of elements although a string variable should allow text with up to...
Hi everyone, I have a question concerning the label we get on orders on the backtester. If I take the below exemple we have : "#1 Buy 0.10 EURUSD at 1.33454 Buy(#1) (1) 1.33463" I understanding the origin of everthing except the red value. 1.33454 is the Ask price of the order filled. We are in...
I need to add one more check to my EA. The EA need to draw a linear regression channel from 0:00 to 24:00 on the previous day and radiate this to the present day. The bar open price need to be compared against this radiated line and check for a breakout. This holds true for that day. As soon as...
If you Interested in that . please visit forexeazone
Hi, I am looking to have an EA coded and need assistance from someone that knows their way around code. To start with and in short I simply need the EA to: * Be ECN 5 digit compatible for MT4 upgradable to MT5 (obviously) moving forward. * Manage a single trade Ie. open and close it (repeatedly if...
  fxwin
Am very interested, please forward to andrevan.schalkwyk@gmail.com
This is really out of my field... Saw something about HttpSendRequest from Wininet.dll, but didn't make much sense to me...
I want to know how many bars ago do two moving average cross each other. Like MA(8) and MA(14). Can anyone please code this for me?
Is it possible to make that MQL recognizes such words such as open, close, tp, sl works and then automatically put in excel! I would like to share my trades with others! That's why I am trying to write such script.
Hello, Is there a way of doing in MQL something similar to the 'First indicator's data' and 'Previous indicator's data' option in the 'Apply to' dropdown box in the Indicator Parameters tab? I would like to apply, for example, a Bollinger Band on top of another indicator. Is there any way to do this...
I mean about: http://www.forex4you.com/clients/conditions/ With Meta Trader 4 platform SUPPORT. Anybody knows BROKER like that? I would like to know if the BROKER uses the BRIDGE on the FOREX MARKET?
Contact me.
Hello, I am trying to get some information on how standard fractal function works. I know a fractal is when highest point is in the middle of 5 bars and vice versa. What I am trying to figure out is what the function returns, is it the actual value ie high or low. the other question is does the...
  Traiding on next candel (12   1 2)
Hi Need some help on coding a statement that will calculate all future statemenys based on the current candel close or the next candel open value - apposed to calulating values on a tic. L
New article Creating Tick Indicators in MQL5 is published at mql5.com: In this article, we will consider the creation of two indicators: the tick indicator, which plots the tick chart of the price and tick candle indicator, which plot candles with the specified number of ticks. Each of the...
  MT4 platform (1)
I am getting an common error message on execution of trades saying plese verify operational parameters can someone assist in fixing this problem please
Hello again to all Ok. This is a real problem. Not that I have not had advise to correct this problem, but nothing seems to help. There is no smiley face on the chart? I have clicked Live Trading in the Toools > Options > Experts advisors and have Enabled Expert Advisors. I have powered off the Meta...
I would like to create my own EA! I would like to make the feature, that only desirable people can use. For instance, some email addresses are stored in MySQL database. A trader execute the EA, it asks for a email address and a password, then if he entered the wrong email, password, or the email...
Hello all, is there a MQL function to programatically get a list of all tradeable symbols of the current provider? My provider changes the symbols a lot, so I would like to parse them regularly ... Cheers, McM
Are there any known issues with calling iCustom from an indicator? I am making a signal generator indicator that checks multiple other custom indicators my system uses. I have an order management EA running on the chart hence why I have gone this route. I have the function below to check against the...
Has anyone noticed if you pull two trendlines which converge at a given price level in a 30 minute chart or 1hr chart and mark that convergence with a horizontal line to signify the price level they converge at, then look at it on a 4hr chart or daily chart they converge at a totaly different level...