Hello guys, Can you please point out why the following script cannot be imported into MT4 history using the history center Thanks much appreciated
The script builds usual schedules a tic-tac-toe. I have no good knowledge of the mql 4/5 language. The script loads my CPU percents from 60 - to 100%, all the time under loading. In what can the reason be? Whether really to correct it and how? A script from CodeBase.
Hey guys! I found an indicator online EMAPredictive3 by Matthew "Dr Chaos" Kennel. The only problem with it is that it doesn't really update. I have to click refresh after every tick, otherwise it will look overlapped (as in the picture attached). I really tried to do something with RefreshRates()...
Hello every one the Below Function is to get the Last order lot size and multiply it by 2 it is is lose trade but it is not working properly , can you help double fLotSize(){double fnewlot=Lot_size;int i =OrdersHistoryTotal();for (i;i>=0;i--){ if (OrderSelect(i,SELECT_BY_POS...
Hello, This was probably asked before, but I couldn't find information online, which I'd be able to put in practice. How can I setup time based orders in MT4, like MOO or MOC. Maybe not exactly the second market opens or closes, but more or less as well as time stops (say close a trade after X...
Where can I get an EA/indicator that counts the number of price fluctuations that occurred within each candlestick before it was closed? Cheers,
Hy, how is it possible for my Ea to read my Enum-Choice? enum selectChoice { Banan=0, // lolol Apple=1, // lala };input selectChoice WhatIlikeMost=Apple;//later in EA..if(WhatIlikeMost==Apple) //Do my stuff...;// Thats how i did it, and it doesnt work...Do You know better?
Hi everyone I have some problems with MT4. Hope you can help me regarding that. I am using FBS broker on MT4. While I bid for sell or buy, the value set on the trade bar is different from the value I chose to bid on the graph. Also, when graph is going below the line of my proposed bid for sell, the...
[Deleted]
Hi, I have an EA. The EA can open orders according to some rules. It can set a take profit and stop loss point. if my statement is true, the EA should not wait to stop loss and close the order. Forexample, if SMA(15)>SMA(50) for a sell position. I read PositionClose but there is not an example. Can...
Hi, I have a lot of EA´s on some mt4 accounts and all of them are registered on the mql5 virtual servers. But today i tried to put a new EA on the virtual server and when i synchronize the experts it gives an error. All of the other EA´s are working but this one no. Can someone help me?
Hi guys, I have a problem with a 2d array, i have never worked with 2d arrays before, so its kinda expected. I read a lot, both forum and google, but found nothing . I have a 2d array to store ticket numbers for past orders, the orders are divided by series, this is why i have a second dimension....
Can somebody please tell me how the heck my stop loss was triggered for my nzdjpy trade!!?
Hy, i cant write the code to get the actual OrderProfit() of an already opened Order to a Point/Tick value... does anyone knows better? (mql4) double realOrderProfit = (OrderProfit()-OrderCommission()-OrderSwap()) / OrderLots() / MarketInfo( OrderSymbol(), MODE_TICKVALUE ); //???????
Having trouble with my indicator, does anyone a good heart to help me about the problem, just 1 week leaned in coding. please Thanks.
Hi I am studying mql4, and am trying to convert a code in Pine Script to mql4 The code is simple, it is to know the direction of the trend. pos = lowest(mom(ema(ohlc4, el), ml), cl)>0neg = highest(mom(ema(ohlc4, el), ml), cl)<0bgcolor(pos ? red : neg ? green : white, transp=70) I would like a tips...
Hi all, I have the latest version of the MT4 App on Android installed on my phone but for some reason the notifications are not coming through until I wake the screen up on my phone, has anyone else come across this problem and fixed it? All my other apps work fine but just not MT4.
Hi! I'm looking for an expert that calculates the lot size automatically. I'm trading on a low tf, so I just want to draw a vertical line, and I want the program to calculate the lot size from the distance between the vertical line and the current price. Does anyone have such an expert?
Hello everyone, I have been trying to pause my EA while testing to see what part of the code is running at the time. The pause button isn't responding, why would this happen? what would make this possible?
Hi All, I've spent the better part of a day trying to do something I thought would be extremely simple - getting my account's closed trades using a very basic EA snippet. I've made sure all of my account history is showing on the 'Account History' tab, my broker is Oanda and my account was recently...
[Deleted]
I'm embarrassed to ask this question because not sure if it was asked already, however I couldn't find a better way top explain the nature of the problem. Neither i knew what to search for! steps of my robot's workflow: 1. The robot calculates M1 data 2. detects signals on M1 too! (remotely...
I wrote a function to check if the market / session is open. I'm mainly interested to see if there's a better way of doing it or if you think there's any error in my code that won't give me the desired result. For the backstory, please read my other thread: https://www.mql5.com/en/forum/292843 bool...
Hello : I subscribe virtual host server ; but it show : failed to subscribe MQL5 New York 11 , my Pepperstone-Edge03 account can not connect to host server . How to process ? thank you so much . Best regards
I need to program the EA that is running the Super-Point-Signal.ex4 indicator. Please advise me how to program it correctly. Thank you. =============================================================== double sps_UP = iCustom(NULL,0,"Super-Point-Signal",0,0); double sps_DOWN = iCustom(NULL,0...
Hi. I have a strategy but need to implement an exponential lot size. Does anybody know how to do so? The code is the following:
[Deleted]
I wonder why in MQL5 forum you can discuss features of both MQL4 and MQL5 (see https://www.mql5.com/ru/forum/289020), but in MQL4 forum you cannot discuss the same features? I think it's absolutely unfair. Moreover, I think that MQL4 forum members have a right to know the whole truth about MQLQLQL
Hello how can i fixed indicator that send email , alert and notification for past when metatrader was opened ? i use this code but when i open the metatrader send many notification and alert of past signals ! if (EnableSoundAlert){SendNotification(TimeToStr(Time[0], TIME_DATE|TIME_MINUTES) + " BUY...
hi everyone,im new into coding and i have created several EAs using a 3rd party software, and i also optimized them too using the same software. How ever i have a problem. after exporting the EAs to MT4 i discovered that te EAs cant be optimized on MT4. and some of them that can worked on on the 3rd...
Hello, i'm trying to find out does a registered Signal Seller on mql5.com has to be a so called licensed Investment Advisor (or anything else?) to be able to perform copy trading activities and sell them via mql5.com to subscribers worldwide? By law in many countries, to independenlty offer forex
Hi, Do you know how to move the server location? When I register MQL VPS, my broker was in London so that London MQL VPS server was selected. But, recently I changed the broker which is near NewYork. How can I change the location of MQL VPS server from London to New York? Is there anybody knows that...
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.