MQL4 and MetaTrader 4 - page 174

Hi, I normally start my terminals in portable mode by a short-cut: path..\terminal.exe /portable. Yesterday I saw in Windows' TaskManager-Command-Line-Tab: path..\terminal.exe /portable /skipupdate. The terminals were started automatically after the last terminal-update last weekend after my...
Hi, I attached an indicator to a chart on MT4. Since than MT4 crashes when I tried to open it/ restart it. How can I open the MT4 terminal? Should I reinstall it
Hi, We have a example code in IndicatorBuffers page that use rates_total and prev_calculated, My problem is that in this code it calls candle zero information But when we try to get the information of previous candlesticks, it gives an error: array out of range Full edited code
Hello, here it is for me to open the MT 4 platform (broker traders' way), I uninstalled several times, try to open as administrators try, on 2 different PCs, at the end of the 'installing mt4 sa connects me to the MQL 5 Service, I connect and I can always open the platform, if anyone is why, if you
Hi. I want to run it during 24 hours. If I set it up as following, EA does not work. Start time=24:00 End time=24:00 What should I change it? If I remove these code, it does not compile it either. Thanks in advanced. bool sleepTime() { string dt = TimeToString ( TimeCurrent ()); string
Not sure if there is a technical solution to this, but I am trying to move an MT4 terminal from one VPS to another. So currently the live MT4 terminal is on VPS1, its a demo account via IC Markets, with 99 charts and 99 expert advisors running. On VPS2 I have set up a new MT4 terminal, inputted my
  *** EA  (1)
Hi Can somebody pls assist, as I cannot get this trading bot to work on my MT4 platform. I purchased it 3 days ago, and I still cannot get it to work on my mt4 platform? I sent the developer a message, and i just get a general answer, which I tried anyway and got nowhere. Can I get my money back
I have a problem with Metatrader 4 1090 this week after upgrading Windows 10  Pro N with the latest version to fix the processor hardware bug recently discovered. My system is an intel Core i7 8 core Sandy Bridge mobile processor with clock speed of 2.2Ghz and 16Gb or RAM.  It is fairly old now but...
Something is off... I've tested my EA before successfully, but now it does not work. The value for the CCI is always "0". cci_long= iCCI ( ChartSymbol (),cci_timeframe[pos],cci_bars, 6 , 0 ); Print ( " CCI_long = " ,cci_long, " " , iCCI ( ChartSymbol (), PERIOD_M5 , 13 , 6 , 0 ), " "
I have a MA line, say 28 exp close, and I want to have some kind of "shadow" line that mimicks the exact same trajectory, but a certain number of PIPs or points or rather price figure above or below the main MA line. I've been thinking about it and I can't figure out how to do it. Someone help
I just wrote an indicator for a friend, which draws several TEXT objects near/at each Low[] of several bars, only on D1 chart. I also added a fixed "padding" to move those objects a tiny bit away from Low[] price. This indicator works fine for me. But my friend has a habit: he often opens a chart
I am working on a trade copier and sometimes the copier cant open, close or modify an order at all , and it throws an off quote error. whats the best approach to deal with this situation to make sure every order is executed on the client account? because I was thinking of sending the order again (if
Sorry for the weird post title , I dont really know what to call this it , looks like a curved progress bar or half pie chart but dont really know the name of this type of charts. Can someone please have a look at the attached image, I was hoping to draw something like this in an EA or indicator but
Hello, I have a Simple Question that may seem elementry to you. How do i wright a Line of code that shows me the Time of Opening of an Order? i know about the time Operators, but they all can return the time of a Bar, not time of an Order Opening. even when i use TimeCurrent() in the Function of
Dear all. How do I code if I don't want to make EA run on certain symbol? I took the code from other topic. Thanks in advanced. int OnInit () { // Check Licensing Restrictions if ( boolRestrictOnInit() ) return ( INIT_FAILED ); // ... return ( INIT_SUCCEEDED ); // Initialisation complete }
hi guys , i wrote an indicator, and when i use it in expert in strategy tester, it just comment me true valumes for only 5-6 candles. then it comment a fixed wrong value like 2147483647.00 void OnTick () { if ( NormalizeDouble (Volume[ 1 ], 0 )<= 200 && NormalizeDouble ( iCustom ( Symbol ()
I want to draw many horizontal lines across the chart and use them as some kind of grid. I want to have a certain distance between any two of them. That "gap size" has been determined by eye. I look at it and decide whether it's good or not. My first attempt at it was to divide the chart area into a
I am trying to find the correct code to display the Day and time Date & Time :"+TimeCurrent()+" Day: "+TimeDayOfWeek(Time[0]) It currently displays as Date & Time: 2021.09.07 13:50:40 Day: 2 What I want to do is: Date & Time: 7th Sep 2021 13:50 Day: Tue Or something similar. Any guidance would be
good evening people, i was wondering if i could get some advice off anybody regarding my code (see below) so one of the basic but important factors in my strategy is the EMAs (50 &200) when 50>200 buy and when 200>50 sell. i was wondering how i could exit a buy trade if the EMAs switch over while i
Can anyone help me that in mql4 if I test an expert advisor and place an indicator on the tester chart, can I achieve the balance and equity values of the tester from that indicator? On real chart it works but during the backtest it gets the live balance and equity.(I tried with AccountBalance() and
Hi there! I am a newbie in MQL4 although I have managed to do some ea or indicator, now I need to make a "Panel of multiple Fibos", this panel has several buttons to draw different fibos of different colors and another button to clean the chat. In principle and taking advantage of the original Mql4
Hi there, i am coding the EA for buy and sell but in somehow, my EA only open the buy order, please help me a check :( . This was really weird :( //+------------------------------------------------------------------+ //| Scalping System.mq4 | //|
I have a special equirement for an EA I am building I want to read an email subject.. this is for a signal.. so I can open a trade automatically
void OnChartEvent ( const int id, const long &lparam, const double &dparam, const string &sparam) { string lastmove; if (id== CHARTEVENT_CLICK && lastmove!= "ctrl" ) { Print ( "clicked" ); lastmove="clicked"; } if (id==
  strategy tester  (2)
hi guys , i tried to test my strategy, in strategy tester from 1/5/2021 until 16/8/2021 but it returns me results of 3/5/2021 to 14/5/2021 ! whats the problem? there isnt any error, and also i need to test my strategy from 1/1/2020 , but there isnt data, what i should to do
Hello I use a number of EAs which have been generated using software for non programmers. A feature of this software is that all outputted EAs are coded to only trade one at a time, instead of trading all potential set ups. I am not a programmer but I imagine the code instructing the EA to only
Hi Everyone! I'm trying to make my EA checking order exist or not by order's ticket as the code below: bool orderexist = false ; // Global variable bool BotStatus = true ; // Global variable void OnTick () { if (BotStatus) { if (CheckOrderExist( "orders.csv" , 351851389 )) printf
  Restoring MT4 terminal  (16   1 2)
Hi fellow members/experts Is there a way i can get back my previous mt4 terminal setting (opened charts) A while ago terminal was working fine with all opened charts (including all indicators applied on) but due to power failure when restarted all gone blank even not a single chart,means removed all
  ARROW  (2)
HELLO How can I add an ARROW when the price breakout the hidhest asian session and the lowest? this is my code but it does not work well, it shows many ARROW #property copyright "test" #property link "" #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1
Reading through the various threads on the forum, the idea for such a list was suggested . Number one on my list is Satop! Everyone who wants to have their own EA, I guarantee that your wishes will be granted. I also propose to do a vote among the pros to add to the white list of pros people from