MQL4 and MetaTrader 4 - page 352

I would like to calculate TP and SL by percentage of my balance . is there any format to do that ? thanks in advance
Hi, is there a special place/forum for Android builds? Release notes, bugs, etc. Since build 1231 and the version b4, I'm getting an Android UI crash every time I start the APP. Furthermore, it is impossible closing the app from foreground. On Android Levono TB-X304F, Android 8.1.0 RGDS hk
Hi, I am very new to trading and the mt4 platform. I want to test the demo version of the <Deleted> EA. I have downloaded it into MT4, and when dragged onto a chart it tells me to test in the strategy tester. I click the test button, and the tester opens with prepopulated fields for the symbol and
I have an IC Markets MT4 trading account (set up today) and I have not been able to connect my mql5 community market tab (But it displays my community username when I hover over the purchased tab). Prior to this it was working in the demo account. If I now log into the demo account it no longer
Hi all, I have a CAD funded live account, MT4, and when testing EAs looks like the Profit / Loss is shown in USD and not CAD. Is that how MT4 performs the tests, it assumes the account is in USD? Also, does MT4 testing takes in consideration my commissions per trade? For example: say the EA takes a
I wanted to test an EA in a period from 2009 to 2019. I have downloaded all the historical data which goes back to 1999 and I also have set the max. candles to 2147483647. But for some reason when I start the backtesting it just stops and there is not even an error. I have attached a screenshot of
MT4 Strategy Tester has a big limitation. it doesn't show multi timeframes when running tests. Like I want to see the Daily, H4 and H1 timeframes at the same time when it runs. Any solution to add multiple charts/timeframes to the runner on Strategy Tester at the same time
Hello everyone, i have a problem with metatrader 4. I just installed MT4 into my new computer which has Windows 10, but whenever i try to run MT4 it just open for few seconds and then shut down by itself. Has anyone had this problem? i also tried to re-install MT4 but it didn't work. Please help
Hi everybody, I am doing several tests on my micro account, passing lot 0.01 as hardcode on EURUSD gives error 131, whereas on USDJPY which has distinct point compared to EURUSD it works normal, however the USDJPY lotstep specification is 0.01 whereas on EURUSD it is 0.10, both have minlot on 0.01
datetime dt = iTime ( NULL , PERIOD_D1 , 6 ); datetime dt2 = iTime ( NULL , PERIOD_M5 , iBarShift ( NULL , PERIOD_M5 , dt)); Print (dt); Print (dt2); When executing the above code, I get the following: 2019.12.28 16:38:12.284 test EURUSD -ECN,H1: 2019.12.17 23:55:00 2019.12.28 16:38:12.284
I've tested some expert advisor with DLL functions. With one computer, many MetaTrader4 Platform running on each another named folder copied. But One certain MetaTrader4 has problem.   I invested the log of data folder, MT4. After 20 EA loaded successfully, 'login on through first.. previous...
Hi. i'm trying to wrote a simple expert based on indicator buffers. but when indicator send a Sell or Buy signal , my expert make many buy or Sell Orders! while i want to Run the order just once , not dozens of times. also i want to close the past order when a new order runs. can anybody help me
In the EA of MT4, I want to extract the transaction results by specifying a specific date and time in the past. As a result of writing the following code, OrderOpenTime ()> "2019.12.10" will be extracted, OrderOpenTime ()> "2019.12.15" is not extracted Some cases cannot be extracted by date. *
Hi. When I trace trend lines, horizontal lines, ... when scrolling the graph, my finger touches drawn lines randomly and ruins my patterns and it's on my nerves. I really need to lock the lines especially when I've drawn many resistance and support lines along patterns. Please help me
  Custom EA mt4  (1)
Hi everyone, does anyone know an Expert mt4 who performs automatic operations but customizes the parameters ? like doing a buy or sell action above or below a ema, for example? Thanks
  OP_BUYLIMIT Expiration Time  (18   1 2)
I need an example of how to set expiration time in a pending order. In this example, the expiration time is 0. I need example of pending order "Goodfor the Day Only". ticket=OrderSend(Symbol(),OP_BUYLIMIT,1,1.3104,3,Ask-25*Point,Ask+25*Point,"My order #2",16384,0,Green); Thanks, Wackena
Does anyone have an indicator or operation like this I can use …. I'm hoping there is one out there. Thanks This is for the meta4trader. I. Think in Canada we can only use this platform. looking for an alert support and resistance function
Hi, I need help to add percent risk on capital to the EA provided because I don't understand how to add it in. Help is greatly appreciated! Thank you! This is not my EA though
  HELP PLEASE!!!!!  (6)
for(int b=OrdersTotal()-1;b>=0;b--){ if (OrderSelect(b,SELECT_BY_POS,MODE_TRADES)) if(OrderSymbol()==Symbol()){ Comment( Ask + "-" + (TSCompra*_Point) + "=" + (Ask-(TSCompra/100))); double slcompra= Ask - (TSCompra*_Point) ; if (OrderType()==OP_BUY){
Hi, I'm trying to figure out function that return true when the last 3 closed orders are loss continuously in a same day. Can anyone help me with this? bool Check3Loss{ //if last 3 closed orders are loss continuously in a same day. { return(true); } return(false);}void OpenPos(string Trade
[Deleted]
  mt4 application  (3)
Windows Phone system will be available when the application meratrader4?   Thank you, Have a nice day
Does MouseWheel Event work for anyone in MT4 ? //+------------------------------------------------------------------+//| Expert initialization function |//+------------------------------------------------------------------+string system_tag="tests_";int OnInit() {
The IP address in .srv file located config folder... it should be the data center IP. which is not the broker's trading server IP . I try using wireshark to analyze the trading server IP. I am not capable to recognize which is ? pls see attachment . the following step on connection of MT4 terminal
Dear All who are experts and newbie like me, well MT4i is copy trader and its free which copy trade from master to slave on same computer, but it copy all the trades. I want to request /ask experts is there any way that we could ha ve option programing that only profitable trades copy from master...
HI i have an EA that works of timeframe, is there a way to change the timeframe if there are more than 4 orders placed ? Also is there a script auto close the chart after trade is complete
  Waddah Attar Explosion Indicator  (171   1 2 3 4 5 ... 17 18)
NOTE If you are new to this indicator, Ihave started the strategy thread here. I do however also encourage reading this thread for some back ground. Thank you. I found this very interesting indicator created by Waddar Attar on the Codebase site. His take on the use is "Indicator...
Hello All, I want to use the moving average values of the DeMarker indicator in one EA I created. Reading some of the posts available I saw that the best option to go about that is to create first such and indicator and then call it via iCustom in your expert. So I created the following code
Hello, after installing the new operating system I have a problem with MT4. I always used to run MT4 WITH Play on mac software, if I do it now nothing happen, the Mac open Play on mac but MT4 doesn't start. Is there anyone who can help me? Thanks
Hi there, I followed all instructions to set up an EA for my demo account but for somer reason I don't see any trades made by the EA. I am using MetaTrader 4 on a Mac and I am currently based in San Francisco, USA. Does someone know what the issue might be? Thanks! Chris
Dear MQL4 developers, What would be best practice to develop pattern recognition EA which is looking on multiple time-frames at same time? My goal is to find candle pattern (using OHLC prices) on H1 chart and at the same time want to check for same pattern in H4. If/when both patterns are found