General - page 89

hi friends. I'm new in coding. the following is part of my code, i want to caluculate the volatility in a certain period, i used Log() and Sqrt() to calculate the number. but sometimes, the outcome is negative, but it shall not be negative according to the formula. please help, i want to know why or
hi, ChartSymbol() function return error 4102 in MT5 build 4231, please advise, thanks. while (! IsStopped ()) { //printf("IsStopped"); long chartId= ChartFirst (); //printf(chartId); while (chartId>= 0 && ! IsStopped ()) { long chartId= ChartFirst ();
Hi Guys, I am troubleshooting my EA as its not taking trades on the MQL5 MT4 VPS. The below directory is not on my PC and its trying to find an indicator that i use on my EA. The EA works fine in the local MT4 as i have stored the indicator KAMA.ex4 in the MQL4 indicators directory. I have installed
Every time I try to install it gets stuck at 26%, then fails. How can I fix this problem
I am currently running an EA I purchased at mql5.com on a different VPS. I want to switch to the mql5 VPS. I understand the migration etc. instructions. My questions pertain to what happens after the installation is done: 1. As I will cancel the old VPS, how to I monitor the EA? Do I install a new
What the title says. I know that there are some articles on genetic algorithm alternatives, but are far as I'm aware they aren't multithreaded and if I'm being honest I don't understand half of what they say
datetime SetOrderExpirationTime( int halfhours) { return ( TimeCurrent () + halfhours * 1800 ); } bool BuyStop_Func( double volume, double orderprice, ulong slippage, double stopLoss, double takeProfit, ulong magicnumber) { MqlTradeRequest request = {}; MqlTradeResult result = {};
I used to have Heiken Ashi candles on my MT4 app and somehow I messed up the settings when I was half asleep. Does anyone know about changing them?T Thank you
I have a MT5 platform running on a VPS and I'm no longer able to open the "My Purchases" tab or search for one of my EAs I purchased. The market tab only has a small selection of EAs and the EA I'm looking for (trying to download the updated version of the EA) does not show up. I've tried restarting
Hey guys, I am really desperate about the function ChartNavigate(). The following script should scroll to the the start of yesterday's daily candle on the m1 timeframe. The variable "pos" is absolutely correct. Why doesn't ChartNavigate() work? The chart jumps to random dates instead to the
Hello, A little confusion about Stop Loss distance with Stop Level. Which one of the following statements is correct regarding the calculation of stop loss? 1. Stop Loss should be a distance from the Order Open Price/Order Entry Price by Stop Level. Or 2. Stop Loss should be a distance from the
  [request]Privacy issue  (16   1 2)
Happy new year metaquotes admins You must correct this. When someone removes you from their list they pop up in your outgoing list of requests . This is a huge privacy issue . The user should be able to freely remove anyone from their network without the site snitching them to the other person
Hello friends        I am new at this ....with axi trader and mql5. I am Canadian and was trading using the user friendly etoro platform before our Govt regs stopped that!. You could  set your  risk 25x 100x 200x ect. I am unable to find this is this format ! Also I am unable to find when i select...
Hey, I bought a VPS and started it but everything is stil like i did not start it. The ping should be something like 13-14 ms but it's much higher Any ideas
Hello guys, I am just coding a little tool to calculate the position size. I always used SYMBOL_TRADE_TICKVALUE for my calculations but I noticed today that there are two different tickvalues. With some pairs both tickvalues are identical and with some pairs they are different. Can someone please
  [Solved] VPS problem (January 2024)  (64   1 2 3 4 5 6 7)
VPS is stuck at status: starting Receiving virtual server status
Hello guys... I need help managing Orders, the code so far works fine except that it seems to sleep after opening orders...its like it doesn't opening again once the SL is Hit..but the idea was to close and open on the opposite direction obviously once the pattern is detected. if
My code below calculate average price in MQL4 and it run ok on mt4, How to re-write it in MQL5. void getAveragePrice() { double sum_lot_b = 0 ; double sum_price_b = 0 ; double sum_profit_b = 0 ; double ave_price_b = 0 ; double sum_lot_s = 0 ; double sum_price_s = 0 ; double
Hello! I have a button on my EA that opens another chart and tries to apply a template on it. Here's the code that deals with the action caused by the button. I even wait 5 seconds after the chart opens to apply the template: if (sparam == "abreJanelas" ){ long chartid = ChartOpen ( "BMOB3"
Yes, it is dangerous and does not bring profit, Yes, it is dangerous and profitable, No, it is not dangerous and does not bring profit, No, it is not dangerous and brings profit
Hello dear teachers and friends, I am considering obtaining the source codes for my EA in the Metatrader 4 version through the Freelancer section of the Metatrader 5 version. However, I am concerned about whether hiring a freelancer and providing them with the source codes might compromise the
Hello friends I have a question, I have a paid indicator installed on my mt4.... I needed to install Windows and MT4 again... Before that I saved the mql4, profiles and template folder... After that I installed mt4 again, and replaced the folders, but the indicator doesn't work... I did this
Hey, I recently subbed to a signal and bought a vps and saw a message pop up saying " signal subscription diabled, enable realtime subscriptions in "Signal" settings. Im alittle lost as to where to find this "Signal Settings" page. Can anyone guide me to where I need to go so i can enable this
hi admin, function =>HistoryDealGetInteger(ticket_number, DEAL_MAGIC) may have bugs. Type=sell and Direction=out, use HistoryDealGetInteger(8,DEAL_MAGIC) can get "66606"magic number(YES! work) Type=buy and Direction=out, use HistoryDealGetInteger(6,DEAL_MAGIC) cannot get the magic number?(X)
Hello, I'm running MT5 over Wine emulation plateform for Linux Ubuntu and everything works fine except the redirection from www.mql5.com website. When clicking a link to buy a product, subscribe a signal or downloading free version of an EA then Firefox say there is no application associate with...
Everytime I try it keeps leading me to the MT5 VPS, can I use that and add a MT4 account
I'm on a MT4 Platform and trying to run a virtual server on it, but to rent the vps they're payment page is stuck on processing. Not sure what to do next
  dojo candle  (5)
Hi Dojo candles not showing on my mt4 platform. Is there any way I can get them to display on chart. Thanks
I want my expert send notifications to me if order open
hi, since 4150 lan network farm hangs. i have older pc connectet. 4040 was fine. anyone else? greetings joe