MQL4 and MetaTrader 4 - page 482

Hello guys, I'm new to this group and i need a hand to fix an indicator I make binary options I'm using MQL4 and a very nice indicator I found in the site, But I have many false signals. Use Tipu MACD + indicator, and I would like to add to remove false Parabolic SAR and ADX signals. Can someone
I developed a computer program for Metatrader4 and worked with specialists to create a prototype that implements the innovative strategy.The product is further developed as a Creative Commons right, whereby the current version is issued as an applicable programming code for 15.- to interested...
  Alert Problems  (2)
Why when I use this code to sound an alert it behaves okay and sounds only when the statement is true. #property indicator_chart_window   // External Input Variables extern string SECTION_A  = "*** Arrow Color Settings ***";input string SoundFile = "alert.wav"; input bool playsound = false; // Play...
Hi there, does anyone know if theres a version of the Dynamic Breakout Box Indi with push alerts? Couldn't find it anywhere. Thanks!
I am trying to implement a function that looks back a number of candles and then finds the local minimum price and the moment in time they happen. I am not sure if I understood correctly the behavior of iLow.  So my iteration may be wrong. If I call this min_local(PERIOD_H1, local_extreme,...
Hi, Need a little help. Trying to find the code to use for the issues i have. Example So here is an example for a buy. I manage to get the rules to open order and take profit. so i'm trying to find a rules for the StopLoss. Thank You {    int err;       for(int i = 0; i < OrdersTotal(); i++)...
Hi, In my algo I just want to check if the close price crosses over or under the SMA. My code look as follow: ...  double MAkurz = iMA(NULL,0,MA_kurz,0,MODE_SMA,PRICE_CLOSE,1);......   if(NeuePeriodeBegonnen == true)     {      // Buy Signal      if(Close[0] > MAkurz && Close[1] <...
Hello !   My name is Sima and I'm new in this community!   I use <deleted> and I want to set an pop-up alert every time when a yellow dot appear in chart, like in this video .  Can anyone help me with this, please?      I uploaded it for anyone who want to try it and I hope someone will help me...
//MODIFIED VERSION //--------------------------------------- #define KEY_LEFT 37 #define KEY_UP 38 #define KEY_RIGHT 39 #define KEY_DOWN 40 //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ void...
I registered to a signal service on Friday and it worked. My MT4 synchronized trades for that day. Today the MT4 cannot copy the signals for no apparent reason. I can see my signal services has already opened trades today but All am seeing is this message "Signal - connecting to signal server". I...
hi friends Is it possible to draw Vertical Lines using buffers in a custom indicator ? thanking in advance for your guidance
Hi all I have question about how to coding in order to count OrderSymbol() I open trade  buy  USDJPY ,EURUSD ,AUDUSD sell  USDJPY ,AUDJPY ,USDCHF I want EA to count only 5 pairs but my EA count 6 pair. if that same pair just count 1. Please kindly help I don't know what to do. This my code. int...
Hi guys Please find some trouble in the code Receive a double value through a function called " UpTrend ". Each bar shows a number of digits such as 0, 9, or 1.1.0722. The former is 0 and now tries to catch only the moment when tick is not zero. ex) 0,0,0,0,0,1.0684      Buy Please find the...
hello everybody i am trying to program an expert advisor using parbolic SAR indicator  and i have some tiny problems that affect the result in a huge way 1- i want the order open price to be exactly the open price of the candle (the problem : there are always delay in opening price) as you can see...
Hi, I'm very new to mql4 programming and I can't figure out how to adjust my lot sizes for different brokers that have different LOTSIZE and LOTSTEP values. The code below is an excerpt from an order script that calculates the lotsizes used for each trade based on inputs for my stop loss, spread...
Many Articles has mentioned that semi-log scale on Y-Axis provides more accurate data if Fib Retracement and Extension are used and also better for trendline and channel lines. Is there a way, code or script that allows me to change my scale on Y-Axis to be Semi-log? Thank you.
  Log Scale??  (3)
Can a chart in metatrader be displayed on a semi-log scale?
<Deleted - Please Only Post in English on This Forum> -- Hello! There is a script that works in the background (while true), and when switching accounts in the terminal continues to work ... and I need to restart it! Question: how do I catch logout or login? Or how resource-intensive is the...
I would like to have a dot on my screen everytime a specific pattern is reached. I can see that something like this could be used: SetIndexArrow(2, 251); // cross code in Wingdings But i'm sure i need more code than this one line.
Hi, I'm have a good indicator that gives-me great signals with arrows that indicates the moment to make mu operations. I'm making an EA that need to get the moment of the arrow, and the direction of the arrow, to analyse it with other metrics... There are a way to do this?
  Close[]  (2)
While a candle (or bar) is still open (e.g. minute 00:57 on the H1 timeframe), what is the close price of the current candle? In other words, what value is returned for Close[0] when the current candle has not closed yet? Thank you.
[Deleted]
Hello everyone, I have this code to delete pending orders after Take Profit .. works fine. How can I modify to delete orders after Stop Loss? int LastOrderProfit(int Magic) {  int profit =  0;  datetime dt = 0;    int cnt = HistoryTotal();  for (int i=0; i < cnt; i++) {    if (!OrderSelect(i,...
Is anyone here capable of coding a simple ea using a renko chart generator found here:  <> either omnibar or Basic Renko?  Does anyone know of anyone that might be able to code a EA using these renko chart generators? This ovo omnibar indicator is included in mt4 by default F.Y.I.
How to draw this type of graph in mt4 with montly , daily and weekly graph on one graph as shown in figure. can some1 explain this
I have setup EA on my vps. Let call it as GOLD EA..it run well but when i setup another account with the same broker and same GOLD EA it does not work? Why is this happen? Is it because of Magic Number? I have also change the magic number but still can not. Appreciate your help. Thanks in advance
Hi, I wrote a small algo which use the indicator of KDJ. This could be download from https://www.mql5.com/de/code/9173. My algo in the program is simple as follow: if K crosses over D -> Long if K crosses under D -> Close Long and go Short And vise verse. By backtesting I found some Buy and Sell...
  Ticket numbers  (2)
Hello everyone, I would like to know how ticket numbers created. Are they randomly assigned to orders?
Hello there, After 2 years learning about forex,test some strategies and create new, i deside to automated my strategy.I have knowledge in java and now i buy a book and start learning mql4. Before start coding i want someone to help me answer these questions: 1.Let's say that i use 1 hour chart.Can