MQL4 and MetaTrader 4 - page 71

Hi everyone, i want to change the default settings for price alert from sound to notification! When i add new alerts over the chart than the expire date is activated. I want this also off as a default. Thanks@all!
  Scalp_net  (725   1 2 3 4 5 ... 72 73)
Scalp_net EA. M1 timeframe. EURUSD
I have been asking myself if I could really save run time with a current project I am working on. This project utilizing many indicators, and I was wondering if I really should be utilizing the the in-built functions and the custom indicator functions I created for myself or should I calculate the
Is anyone having problems with MQL storage? If I try to update old projects, no problem. As soon as I create a new project it works, but after a few hours the folder turns yellow and the project no longer syncs with the storage. The problem has been going on for a week and I don't know how to fix
Hi guys, I just can´t find why my EA is showing this error when I use the Trailing Stop option. I am attaching here the code where I call the function Trailing Stop and then the function itself After that I am showing the messsages from the Alerts That I have inserted in the code In short, The...
Hi everyone, I want to apply a custom template, so that my EA immediately starts to change/show the chart with that template. It is called "normal.tpl" Before, I want to check if that file is existing. So I print my terminal data path // Print the terminal data path string terminal_data_path=
anyone please add buffers to this indicator #MT4- StochasticRSI -Oscillator_wTrend_Alerts thanks
[Deleted]
Hi guys,       I am looking for two answers here. First to partially close an open order automatically on a specified profit target. I know that i can do that manually at market value by right clicking on the 'order', going to 'close order' and change the 'volume' as desired and close the partial...
  Strange problem  (12   1 2)
Hi, I have a loop where I compare double values with another double like this: double x = 4.0 ; for ( loop ) { if ( value > x) Print( value ); } The problem is the output looks like this: 14.94 0.79 4.50 2.61 3.97 1.50 9.34 0.85 Why does it print values that are not greater than x
Hello, I need a code snippet to get the delay of execution of the lasts trades in history. The reason is I have an EA which, very rarely, can have a bug : It opens and close orders within less than a second, and repeat that forever. It can wash the account. So the idea is to to return true if the
i am looking for an add on alert for mt4 , alert on cadle closing above or below 21 sma,100 sma, 200 sma, and 300 sma working on all timeframes , any help would be appreciated , please send answers to : <Deleted> ffedback would be appreciated thank you
  How to solve it?  (16   1 2)
//+------------------------------------------------------------------+ //| for lim indi 2.mq4 | //| Copyright 2022, MetaQuotes Software Corp. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2022, MetaQuotes Software
int OnInit(){//--- indicator buffers mappingObjectCreate("txtMaxTrades", OBJ_EDIT, ChartWindowFind(), 0, 0);ObjectSetText("txtMaxTrades","" + "0",13, "System", White);ObjectSet("txtMaxTrades", OBJPROP_CORNER, 0);ObjectSet("txtMaxTrades", OBJPROP_XSIZE, 25);ObjectSet("txtMaxTrades", OBJPROP_XDISTANCE...
MT4 build 1353. AccountFreeMarginCheck() is not reliable, sometimes it returns strange value GREATER then the current freemargin (resulting in a negative margin). I have also seen positive margin but completely incorrect (0.12 instead of 217 for example). For example on my broker (running on all 28
can some one tell me how can to stop modification evry miliscond for exemple if i open trade .. EA should stop to modify trade every miliscond what function i should use it
Hi guys? Iam sorry my MT4 Evaluation Terminal takes me to MT5. Please how should I resolve the below technical errors? The EA has no errors but it is not trading.I shall appreciate if you would advise me on how to fix the technical errors.Below are the images of some of the results that I am getting
Hi, I am trying to partially close some orders (2 or more) in a way that I can get some desired profit out of the trade...let me better explain with an example: Say that I have 2 (or more BUY orders) ongoing, say that all orders are in profit of, for example 567$, and my risk is 100$, with this, we
As the question describes, let us assume that we have an index corresponding to a higher time frame candle. Now, I am interested in getting the range of indices of all candles which are included in that specific candle. To make things clear, let me give an example. Let us say that I have the index
  MqlRates Struct  (10)
Hello! Why would I need to use MqlRates struct? Instead of Rates.high(1)… to get the high of candle 1… I can Use iHigh() or High[]… any reason for that? Thanks
Hi when i uploaded my EA to market place it gave me errors after checking error type "Invalid volumes in trade operations" although my ea working well in live market and backtest what is problem here? please, Rewrite these codes again and make the necessary modifications, taking into account this
Hi All I have an EA works on the last bar completed events, as described in this article: https://www.mql5.com/en/articles/1511. So I would like to test it with Open Prices Only (OPO) method. In the two pictures here, If EA places a BUYSTOP at the end of the first bar with predefined SL and TP, now...
Hello! I'm new here. I have this code, where I receive a signal from an indicator and based on it I open operations. but here it opens operations as soon as I connect it, and also opens infinite operations. double Lots = 0.01 ; double TakeProfit = 600 ; double StopLoss = 200 ; input int
Hi there? This MACD sample EA has no errors but it is not functioning.Please what could be the error? Error Results: EURUSD Currency ininitialized,etc.Please how can I make it functional?Thanks!!!! //+------------------------------------------------------------------+ //|
Anyone know how to fix this? Every time I try to open MT4, it quickly pops up a window, then quickly disappears and closes. I have tried restarting computer, redownloading MT4, and searching on the internet but nothing seems to work. Thanks
  vertical lines  (5)
hi these codes draw verticale lines (where  datetime t and string p are known) ObjectCreate(0, p, OBJ_VLINE, 0, t, 0);ObjectSetInteger(0, p, OBJPROP_COLOR, clrYellow);ObjectSetInteger(0, p, OBJPROP_STYLE, STYLE_SOLID);ObjectSetInteger(0, p, OBJPROP_SELECTABLE, false); Here are the lines drawn  I...
Why is symbol change and timeframe change both bunched up in REASON_CHARTCHANGE? One may require a lot of extra processing time and the other typically should not. Please create new constants to distinguish the two. Regards, JT
Hello team, I'm having issues finding symbols. Im running this app on android and the symbols cannot be found. I have 2 friends who started trading the same day as me and they are on iPhone and they have the symbols on their phones. Any help fixing this issue will be great
Hello Gents/Moderators Is there a way i can change my profile name as it were (Ghost Trader) after registering as a seller ? I would like to remain anonymous. Thank you
Hello experts, I need your advise to understand why OnCalculate doesnt work in my EA. I have the following compilation warning " OnCalculate function declared with wrong type or/and parameters" and the print statements always return 0 when EA is running. 2023.02.08 15:10:22.523 TestOnCalculate
i have some times this message (order modify error 130) and even i use big stoploss input string EaName = "ATLAS" ; double priceNew1 ; extern double lot = 0.01 ; extern double TP = 0 ; extern double SL = 0 ; extern int MagicNumber1 = 1917 ; double MyPoint,sl,tp ; int Ticket,Decimal; color N =