Hi all, Need your help, I have create a EA, but stuck on "Put limit / One Trade Only per Condition".... My target is, if a Condition meet EA will make order until take profit or stop loss, then wait until next condition meet. Hopefully you all can help me to resolve my stuck on this script.... Thank
EA Autoscale Compounding Lots. Hi , I want to share My Codes to everybody. This is very powerfull algotrade to compound your account. You can modify and match with your trading style. Compounding lots is complicated. I made structure using percentage balance account. If you having good result with
Question regarding MT4. Do Close All position EA's/Scripts send a single order for the total size of the open positions? Or do they ust replicate the manual process of closing orders 1 by 1? or are both possible, but depends on the code? ie if I have 10 seperate 0.1 lot orders open in EURUSD and use
Hi all, I have a simple question! I just want to know whether it is possible to use chart index as chart ID in an expert advisor when I call the function ChartSetInteger to change chart's properties such as color? I have tried to use index assuming 0 is the current chart which is not closed yet and
Hi, Can we view magic number in Trade list tab in Terminal Window (marked in attached image) window in MT4.. Or where we can check trades magic number
Has anyone developed a Macd line that would go in the main chart... ? Thanks
Hi my EA open 1 order and several order stop. I tried to delete the order stop if the open order is closed or get stopped out. void DeletePendOrder() { for ( int i= OrdersTotal ()- 1 ; i >= 0 ; i--) { if ( OrderSelect (i,SELECT_BY_POS,MODE_TRADES) && OrderSymbol() == Symbol ()
hi guys, im having problems to build a volume profile in my mt4 experts, iVolume and Volume[] just returns the candle volume, can someone explain me how to do this? thanks
I already have it, but I need it in a new machine. I went to this page and downloaded the file that is clearly identified as MetaTrader 4 for Desktop, Windows. I received a file named mt4setup.exe. I already had mt5setup.exe stored in the first machine, the same one I used to do the download, and
I'm not sure how to ask this question. Is there such a thing as a mostly common practice to extend the return=true even after the initial trigger is no longer true ? bool up_fib() { { //Print(A_low()," ",B_high()," up_fib"); if (A_low() && B_high()) {
Hi there, I would like to download a dynamic trailing stop to use instead of the one that come pre configured on MT4. Does anyone know where I can download one to use with the platform? Thank you, Chris
Hi all. I am trying to submit an EA for validation. And here's the error report. But after some search, I still can't find the related documentation or posts. The EA can only be used to trade gold. And how do I ask the validation program to check the EA only in 5min or 1min? Or do I have to fill
[Deleted]
when i start mt4 and open a new chart it sais \\profiles\default\chart01.chr was not found. i have tried re installing mt4, making a new account, switching profiles. I have just recently moved to a new computer, everything was working fine on old computer.
I am working on updating a bunch of MQL4 code for someone that was last compiled by its original author with a pre build 600 compiler. The code involves working with long-term cyclic patterns which means it does lots of manipulations of 32-bit timestamps which it frequently treats as integers when
Hi everyone I'm new to mql4 and I tried someway to get high and low price but I couldn't make it. I want to get previous high and low between datetime '2022-09-01 : 18:00' to '2022-09-02 : 18:00' , then I will check every tick between '2022-09-02 : 18:00' to '2022-09-03 : 18:00' to check if my
I have an issue with the MT4 client in general. I tried many MT4 clients and none of them work for me. Whenever I open any MT4, it always crashes inmediately without loading/showing any data. This is the exception that causes the problem, it is from the crash log file: Exception
Can anyone please help me to get the live macd value in mql4 ? Thanks
Hello, Looking for a way to find the closing time of the latest position I have created the following functions : int FindIndexOfLastClosedPosition() { int index ; datetime LastPosition = 0 ; for ( int i = 0 ; i <= OrdersHistoryTotal() ; i ++ ) { if ( OrderSelect
[Deleted]
Good Afternoon I've just started an EA, and I coded the Stochastic Oscillator aspect of it. Upon running it and checking results, i found that metatrader has closed the trade before the close signal and the opened a new trade. All the trades of this nature all seem to close at approximately the same
When I create button and label from expert advisor ObjectCreate ( 0 , "button0" , OBJ_BUTTON , 0 , 0 , 0 ); ObjectSetInteger ( 0 , "button0" , OBJPROP_CORNER , CORNER_LEFT_UPPER ); ObjectSetInteger ( 0 , "button0" , OBJPROP_XDISTANCE , 10 ); ObjectSetInteger ( 0 , "button0" , OBJPROP_YDISTANCE , 10
I have written this small function which helps any programs to do the normalize of prices (without having to re-type the long normalize command), but it keeps giving this error. How can i solve this?
//+------------------------------------------------------------------+double normMe(string ins,...
How to make text align left. Not center. MQL4 no have this properties for OBJ Text? OMG
hi guys i have this indicator RVOL in mql5 i want convert in to mql4 i tryed but not work and i am not expert in mql5 , and in mql4 if someone want help me i will appriciated MQL5 original //+--------------------------------------------------------------------------------+ //|
Hello, Does anyone know how to quickly identify or expand a specific symbol chart (e.g. EURADU) in a MT4 in which many charts are already in there? Does any HOT Key can do that? I want to quickly locate a specific chart in a second rather than using eye search. Thank you
Its there a way to set a Trailing stop to a negative trade? I have an EA that opens trades at a specific time, the trailing stop code works if the trade is in profit however if the trade is negative it never set the SL/TS The idea is for the EA to set a SL based on the current price and then trigger
Hi I tried to open new order when last order is close. The last order can be closed by price hitting the SL or TP. To do that I used AnyBuyOrder() to check whether there's an open buy order or not, bool AnyBuyOrders() { for ( int i= OrdersTotal ()- 1 ; i >= 0 ; i--) { if ( OrderSelect
Hello all, I am wondering if there is a way to get multiple lines of text using Comment(). I have tried to search, but no luck so far. Thanks in advance, LW
do u have indicator for MT4 auto refresh please i need it like crazy...
My leverage is not showing when i hover over my account on navigator tab however when i try another PC that has MT4 installed, up and running it shows the leverage. It's not my account that's the issue or the broker because i can see my leverage on other PCs with no issues. It's a particular PC
I managed to extract this code from some Youtubers, however I have not been able to add the code to be able to license my strategies focused on the account number of any broker int start() { int hard_accnt = 1818798 ; // <--- Type user Account int accnt = AccountNumber(); if (accnt !=

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.