MQL4 and MetaTrader 4 - page 19

  python script  (1)
There's a newly added feature in the mql4 wizard which is python script. How do I add the python script to an mql4 expert advisor? I am only aware that it is possible to add include files into the expert advisor
Hi Everyone! I open the mt4 and if I want to download indicators expetrt advisors in the market, and I can't login in the mql5 community. on the right top of the corner there is some bouble and I can't log in. I would like to ask you to solve this problem! Thank you
  Pending Order EA  (2)
Hello Everyone, Please I am trying to create a bot that takes a buy stop and sell stop order simultaneously at a a particular time but it seems there's a trade order error. Code attach below
hi all, I am closing all open charts and then opening a defined set of charts afterwards. void OnStart () { long nextChart = ChartNext ( ChartID ()); //closes all open charts while (nextChart > 0 || ChartFirst () != ChartID ()) { nextChart = ChartNext ( ChartID ()); if (nextChart > 0 )
Hello! So, how would one change the default data folder for the MT4 platform to a shared folder? I have a VM which I run the MT4 Terminal on, but I do want to share files between my VM and my local computer without having to copy files over from the default data folder to my shared folder which is
I tried to lock the bid price but it did not work if(price>0 && Ask<=price-70pips) { OrderSend(Symbol(),OP_BUY,0.01,Ask,slippage,sl, tp,"",Magic,0,Blue);} I dont want the condition to execute first..i want it to capture the price first and when the price is below 70 pips then it trigger the
I have fiddled about looking for design concepts to implement visuals of the data collection, aggregation, et al (pics below). As much as I love the MT4/5 platform, visuals are not its strong point. First, real estate is expensive; Second, I/O overhead on graphics rendering is high - the more
Hello all, I tried to make a panel with a checkbox, It works well, but how can I catch the checkboxevent (is checked or not) Some advices are apreciated, thank you Greetings //+------------------------------------------------------------------+ //|
  Login failed  (1)
I Have meta trader 4 and i cant login into me MQL5 ACC from me VPS Chocoping . When i Login from PC its working. Anyone have problem like this
hello friends I have a bot that runs on several currency pairs I want to save the profit amount of each currency pair in one line of a file For example: EURUSD 19.30 USDCAD 8.03 AUDCHF 13.37 whenever the profit amount changes, I want to find the previous line, correct its value, or delete it, and
I have [written] a quite simple currency strength indicator (for CAD), it just uses the average of the close price of all seven CAD crosses. Then, since that line is quite jagged, I added a moving average to smooth it out. When I call it from an EA with iCustom, it get 'similar' values, but not the
Hi all, Ive have some purchased EAs in MT4 and would like to know whether there is a possibility to customize the backtest report to add a couple extra performance indicators. I'd like to add maximum equity drawdown and recovery factor. Is this possible, I have no programming knowledge. Thanks
Recently, I've developed several trading strategies and found that creating a profitable one is quite challenging. One of the strategies involves numerous conditions, but I've noticed that these conditions affect the trading volume. However, relaxing these conditions results in losses instead. Below
Hi, I'm relatively new to MQL4 and my apologies I cannot find any examples of this or understand how to do it myself. If I have an Order at a specified OrderTakeProfit and OrderOpenPrice, how do I compute the expected Profit if it closes at the price (assuming the current Swap and Commission, the
  access violation  (3)
Hi, Can anyone help me please. I always get this error message when running the strategy tester, what's the reason for that
[Deleted]
  one-click trading not working  (22   1 2 3)
Need help figuring out why one-click trading isn't working on MT4. I go to tools>options>trade> and check one-click trading, it gives me a box, I accept, and then I right-click on a chart, click one-click trading, and it doesn't show up. I don't understand what the problem is. Trades don't appear on
Hello, After conducting several tests, I am reaching out here in the hopes that someone may have a solution or have encountered the same problem. When I use the expert below, I am surprised to find that the Ok buttons are missing! I have attached a screenshot for reference. I have tried it on
hi community, im josete and ive been a sharepoint and office 365 dev/admin al my life and i told my boss honestly i was so boring (we are also friends to say that) and i wanted to work with him directly. So he said OK, i need an app to do what MT4 app does to put more functionalities on top, my
[Deleted]
I am running an EA now for some time and I found out that it sometimes just looks like to freeze. In the picture below I coded that the open order should be exited at the top BB. And this goes good in 90% of the situations. But sometimes not, and the order is closed just after a new compilation of...
  revese order  (5)
i need the mql4 script to do if any order (buy or sell) hit take profit, should place a reverse order
[Deleted]
double macd,macd_signal, macd_hist; int signal_period = 12; int applied_price = PRICE_CLOSE; int mode = MODE_EMA; int shift = 0; iMACD(NULL, 0, MACD_FastPeriod, MACD_SlowPeriod, signal_period, applied_price, mode, shift, macd, macd_signal, macd_hist); Hello, Please, I need a help to fix an error of
Hi, I was wondering if anyone has made an indicator which places level lines on the chart using the daily open as the reference point. I wish to place levels of + 45 and -45 from the Open. If anyone has this or is willing to make one i would be very grateful. Many thanks. napeharm
  Bug with Experts  (7)
When I restart MT4, sometimes an EA is gone from a Chart
Greetings! I can't publish a signal for the MT4 server ForeignExchangeClearingHouse-Demo MT4 sees this server perfectly and connects and everything works MQL Signals website cannot find this server How do I create a signal if this server does not see the site? MT4 sees it and connects
What options does one have if their strategy is based on objects drawn on the chart? See this link: https://www.mql5.com/en/articles/1512. Quote: "Draw objects are not really set. The objects are disabled in order to accelerate the testing." So I can't backtest my strategy?
code for yesterdays high and low: how do i change it so it gives me yesterday highest "close" not the highest price. and the same for the low. i want the lowest "close" not the lowest price. //+------------------------------------------------------------------+ //|
When running the command wget https://download.mql5.com/cdn/web/metaquotes.software.corp/mt4/mt4ubuntu.sh ; chmod +x mt4ubuntu.sh ; ./mt4ubuntu.sh This command is from: https://www.metatrader4.com/en/trading-platform/help/userguide/install_linux This is the terminal output as the process quits
Dear everybody, I have an EA that I run simultaneously on several charts at once, on just one symbol pair, but with different time frames. Of course I did this as a strategy to reduce the risk as small as possible. But the problem is, if a trade is opened by the EA, on more than one chart
I need help about that error, I tried everything
I'm facing a problem with Mt4 as the platform hang off and stope stream live data whenever the price data moves fast particularly at the open, or at the news or any big and quick move in the price data, any one knows how to resolve this issue