MQL4 and MetaTrader 4 - page 53

Please someone should help me, I want to know how to disable any kind of order on mt4 or 5, I want all both manual and auto trade be disabled if an account is down by a certain loss %. That means that the trader can not trade on the account again after the set loss % is reached. I need suggestion
I was thinking if there was a way to code forward tests in MT4 into OnTester() function. It's a pain having to do it manually while optimizing. Does anyone have any idea if this could be done? 
I tried to have a whole tickchart, I enlarge it but it didn't fill the whole canvas like for this guy https://www.youtube.com/watch?v=j4gN_0T8PIs Did I miss something ? I'm on MT4 V4 Build 1380
Hi all .. sorry becaouse my english is bad .. i wanna ask , how can I use value extern string Input_Indicator ="20.0,0.0,0.0,0.0,50.0,0.0,0.0,0.0"; // I wanna give value "Input_Indicator" from the input coloumn , use comma saperated but I dont know how... if (iCustom(NULL, PERIOD_CURRENT
1.It seems that the problem of being unable to download and install MT4/MT5 on a German zone VPS has not been resolved. I had posted to report this 2 weeks ago. I have recorded a video for you to see the real problem. If you need to investigate, you can contact me. I will provide my VPS IP for
Hi; Wrote this code to display two buttons that represent an OFF/ON switch. They work as intended. With both buttons set to OFF mode they are the same exact size. However when I press one of the buttons to change its mode, the button clicked seems to appear larger and is no longer in exact alignment
Dear All, I'm trying to install MT4 on Debian 11.7 using Wine. I'm following the instructions given on this page, but I'm receiving an error message about the wrong Windows version ("Upgrade to Windows 10 or later". The Windows version set in Wine config is 10, but no effect, re-login to the system
Hello, Prior to build 600, I wrote a C# DLL that worked perfectly but it seems that build 600 broked my EA calls. The C# DLL define some functions like this (using RGiesecke library): [DllExport("loadAllDatabase", CallingConvention = CallingConvention.StdCall)] public static bool...
HI everyone, I am new to metatrader, and I have heard great things about it and decided to give it  a try.   I went to MT4 home page and clicked the box that said "download MT4" ,  however, it downloads MT5. Can anyone tell me why this is happening?  I have looked and looked for the answer however,...
[Deleted]
Hello, Please any one tell me, that how to edit and run EA on Mt4 with screenshot I'll very thank full to you...??? and suggest me that which EA b est for trading ..?? Than x every one .
Hello, I dragged my TimeFrames toolbar out of its line in the toolbars bar, now it is a disattached box in my screen like in the picture. I tried deleting it, moving it, closing many times the MT4platform, I got like 6 hours trying. I need help. I don't know what else to do. Thank you
i am looking for an EA or trading tool in market section in terminal of mt4 what i need is, i like to open multiple position at a time without clicking market watch in the terminal i need some panel or trading tool which allows me to open multiple position of any pair with stop loss and take profit
is it possible to calculate the total risk in mql4. simply calculating the loss in $ when ALL stoplosses would be hit
Hello, please can someone help me to find the solution for the problem, as you can see in the Print screen that the EA SL and TP targets are different than the Values printed in the logs (which is circled in Red and Green). then i noticed that there is difference in the price that the EA took in the
how to get the handle of MT4-Terminal tab? i wanna modified Terminal tab's rec size programmly by the function MoveWindow() in "user32.dll". Thank you
[Deleted]
Suppose an EA begins the init process and realizes that the "ABC_abc" indicator is not available in the ..\experts\indicators folder. How would the EA "shut itself down" and remove itself from the chart
Hi evryone, How to code variable number of inputs on mql4? Example first we enter number of inputs: input int NumberOfInput = 5; Then the input window will show 5 lines of Input to enter value: input double data1; input double data2; input double data3; input double data4; input double data5; Thank
  ex4 decompiled  (31   1 2 3 4)
ex4 files seem to be getting decompiled and unlocked. Someone sent me an ex4 and then the mql4 file decompiled, the ex4 being recent. Market place EAs are also available via this service. Does MT4 change it's encryption or is every ex4 now decompilable
Hi,I am a novice I wish to modify the Ichimoku Kinko Hyo code to give it a new function: when Tenkan-sen and Kijun-sen cross, make a notification and alarm sound. I directly at the end of the original code, add //--- OnTick event handler void OnTick () { //--- Check for Tenkan-sen and Kijun-sen
Hello guys, I have an issue with calling an indicator in my EA. It is loading multiple times as. I call this EA in a function as below: void OnInit () { double BV( int buff, int shift){ return ( iCustom ( _Symbol , 0 , "BetterVolume 1.4" ,NumberOfBars,MAPeriod,LookBack,buff,shift));} ) /// /// ///
"I am using the iCustom function to call different indicators in an EA. Some indicators work perfectly, but others like the 'kaufman_ama_averages_filtered_ATR bands' load multiple times within the chart, which slows down the processing as it performs the same calculation hundreds of times. I wanted
Hi all, is there a way to recall the stop trading time indicated in every contract specification? In the below example 19:30. Thank you
Hello, experts Please help me how to create line like this one Lines can draggable. Urgent!!! Many thanks
  error 0  (4)
So I have created this it seems to work ok, but I get an error every new bar in the experts tab in mt4 . I suspect I need to check if the condition is true before running, I only have experience with easylanguage.. Can anyone help? Is it ok to use the onchart event rather than ontick
Hi just a quick question if anyone has the answer I pulled the window up on my strategy tester (MT4) to the very top so that it is full screen (see screenshot). And now i cannot drag it back down. I have tried hiding it and then unhiding. Also closed mt4 and restarted. Does anyone have a fix, its
Hi, I have a problem. If I change the timeframe on a chart with EA running, the object what my EA writes stay unchanged. I like the write on the chart example the profit. After TF change the profit write refresh doesn't work, I see example 0 if the start profit was 0. Here is my code from my EA: int...
Hi guys, let me say first up, I am absolutely not a programmers butthole. Right, now that’s clear, recently I put a job on the freelance page for a EA to be created that observes 2 moving averages cross, then waits for a pull back. The pull back is defined with a minimum and maximum figure in pips
Hi, i am trying to code an indicator that draws lines between swing hi and lows but the code I have is connecting the hi/lo of the candles in between. In the diagram I would like 1 line between the H and L or L and H as shown in yellow in the diagram and not many segments for a single line. Thanks
In MetaEditor, "Edit" menu, "Advanced" option, there are 'Comment' and 'Uncomment' options. They work for me, but only from that menu. Can I use those tools from the keyboard? Next to the 'Comment' option, there is an indication of key combination Ctrl+'. I am not sure what character is that. Is it
Hi ! Why my EAs do not reopen trades after midnight, but closes open trades after midnight that was opened before midnight ? Thank you. (MT4 on macOS Ventura 13.3.1 with Wine for Windows emulation)