I have some issues in using mt4 on mobile. Using Ichimoku cloud indicator, but can't get it's full view, i.e. the senkou span is not showing of complete 26 period. The same can be viewed in mt5, how can that be resolved.
Hi Everyone! Hope all's well with all! Which is the appropriate return statement to use(return(0) or just return;,,,,,and is there a difference) just to exit the "if" loop without exiting the entire program? All feedback highly appreciated. Thanks yo'all.
Hi, In MT4, sell order limit or buy order limit set in server side or client? I mean that if I place sell (or buy) order limit and I disconnect from internet then price touch that order limit, what happened? order placed or when i disconnect that order removed? thanks
Hello I have several .ex4 indicators that I need to convert to.mq4 so I can use my expert builder with them. How do I do this. Thank You
Hi, I have monthly historical data for GBPUSD as from the 1900. When I import the historical data file, MT4 does not show before the 1970. I changed the max bars in history and chart to 250000, but the same issue. Sorry for my english. Help me please.
Hi there, I added some logging code to my EA and due to an ill thought through change, the logging got caught in a tight loop and now, the Experts Tab is spewing out comments. If I shut down MT4 and MT Editor and go back, it keeps on outputting the comments. I've tried deleting log files but nothing...
Hey guys, I wanted to build a really simple EA based on MT4's built-in Pivot Points indicator that would sell if prices reach resistance levels and buy if they reach support levels. I have not used the iCustom function a lot and so that might be why it does not work although I am not sure since the...
Hello, I use the MT4 app to monitor the chart and trade from often. The MACD app is not showing the correct MACD indicator . It's missing the MACD line and representing the difference of 12 and 26 ema with the histogram. This histogram is suppose to be difference of MACD line and trigger 9 SMA line
[Deleted]
Hello I am blocked on a simple thing... I am using the strategy tester with PERIOD H1. And I want to calcultate height of M1 candles. So I have entered if (nbBuy>=1) { double height=iHigh(Symbol(),1,1)-iLow(Symbol(),1,1) Print(DoubleToStr(height,2)); } But the calcul return 0.00. If I want to...
Before I start, I know this isn't neccesarily the way people usually do things. But I am trying to write a small piece of code that will calculate a lot size that will enter a trade using a given percentage of the available balance (including leverage) in my account. I can obvously do this during
Hi there, I'm new to MT4/MQ4 and have, with some help from this forum, just created a processing class that effectively produces a collection of values for plotting highs/lows on a chart subject to methodology rules. When I first started programming MT4, I was just using the Indicator/EA template...
Hi guys I have experienced quite often in MT4 that when an EA sends an order to close orders , a new order gets opened with lot 0.01 and a comment from #somenumber where somenumber is the number of a trade that was closed. I understand this is something of partial/multiple closing . The existence...
Quick Question on Modifying SL&TP of different orders based on the close of a first order in an EA
(1)
Hi Guys, First time posting here, with just a quick question about how to approach coding the following into an EA I'm working on. The psuedocode is something like this: EntrySignal is true -> Open 3 positions each with their own TP & SL If position 1 hits TP1, then positions 2 and 3 modify their...
hey guys i need this ea pls make for me when time opening order , hedge all open orders (hedge on +20pips for profit ) and (hedge on -20pips for stop losing) all symbols opened and similar lotage Example : we have now one EUR/USD order , now ea waiting for -20 pip or +20pip for making hedge , and...
Hello everyone, EventSetTimer() appears to work the same sleep(). Is this correct or, can the program still in EventSetTime() run code while the time is set for a period set OnInit()?
Hello, Is it possible to modify the take profit/stop loss on mobile platforms using dragging directly on the chart? Greetings,
[Deleted]
Anyone had this problem? Terminal.exe starts as a process but no window opens, and it can only be shut down with Task Manager. Last time this happened - complete reinstall followed by hours of setting up indicators and profiles. This time, tried deleting terminal.ini which produced a window with...
Hi, when we limit the number of bars in the chart, the Buffer stays static, with a new bar the value of array [0] not turn array[1] and is overwritten. Is there a simple way to inhibit this, or is necessary to transpose the array using ArrayCopy or copy one value by one value? Thanks
Hi guys, I wanna know how to import more history in mt4 for backtesting the oldest history as possible. Thank you.
Hi.. Below is my ReadUrl() function to read remote http sites... and works fine! But it only works with valid valid content. If an error occurs(404, 500, etc) there is no solution so far. So i need to detect HTTP errors. Anyone have any idea on how to do this? #define READURL_BUFFER_SIZEX...
Hello,I wrote a very simple EA based on a custom indicator. Everything was perfect until i tried to change it from selecting by position to selecting by ticket, so that it can be used on multiple pairs. Now, in it's current state, it opens a new order each tick, and does not keep track of the ticket...
Hi, I have noticed that when my EA starts, by default it sets bars not candle. I would prefer have candles since the beginning automatically. Is there a function that can help me? Regards
[Deleted]
Hey guys, I use a button in an indicator and I wonder if it is possible to simulate a mouseclick on a button object? I only know that the visual attributes of a button can be changed with a script but not its function. Do I miss something or is it simply not possible?
Hey guys, I wrote these indicators using Jim Sloman's formulas, which you can read about in his "Ocean Book". The first is call the natural moving average, based on 20 bar calculation. The second is using the natural market river formula and moving average based on the river data. Entry rules -
Both me and a friend are having the same problem in MT4 when using the Strategy Tester. Sometimes I test a currency pair with an EA and it works from Jan 1st, or whatever I set. But sometimes it starts from August or something else and won't load the previous history. Even if I import tick data from...
hey guys, i am not really talanted in coding but want to fill an array with information of of up/down candles. If its an up/down candle the array should be filled with 1/-1 but the else statement seems not to be filling the array correctly. Any Idea why? I don't know what i am doing wrong with the...
Hello everyone, I am trying to figure out how exactly this indicator works. It appears to deal with UPPER and LOWER values.
seeking set file for blahtech sd indicator tested and optimized. tf h4,d1,d1 .results and reviews
Hi, I have lost the frame with the symbols/currencies on the left, just those, i still see the Indicators list, Advisors etc., I'm looking and looking but i cant find the way to make them reapper, i dont need any script just basic interface instructions, Thanks

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.