MQL4 and MetaTrader 4 - page 1193

[Deleted]
Hello I'm new on the block. Not new to programming but new to MQL4. I'd like to access a specific candle in a chat. I'd like to analyse the last closed bar. I think it has the index 1. For this particular bar I'd like to access High, Low, Open and Closing Price. If one of you guys has an idea where...
[Deleted]
  Help with code  (12   1 2)
Hi all I have been trying to solve a problem I have on a code, without the results I want. The code is (only part of the code): if (Ordem==OP_SELL) { Ordem1 = 0; Ordem2 = 0; while (Ordem1<=0) {...
[Deleted]
I'm new to coding EAs and have a question regarding the best (as in easiest and most robust) way to manage orders. My strategy will open up either 2 or 4 different orders with: a) 1/2 set with a TP (set with the order and held on the broker's server) b) the other 1/2 set for other exit criteria as...
[Deleted]
  image test  (2)
[Deleted]
Hi everybody, I'm currently working on an EA that use bollinger Bands and would like this EA to only take one trade per day. In other words, If a position is close on a day T1, I do not want the EA to open a new position (Short or Long). I tried using the following "function": int TotalOrder =...
When I close MT4 and start it up again, I have to go into the tools menu and check all of the tools that I want to have on the screen. What could be causing this
[Deleted]
It would be awesome if there was an indicator that you could have a gif floating at a particular point in the background that was stationary to spice up boring charts.
[Deleted]
Hi, I'd like to code the Adam Theory by Sloman and Wilders, but I don't know how to code mql4 or mql5, I'd like to find some coders that I can explain the theory to and they'll code it out, the theory is using velocity and inversion symmetry to show the future price structure for a given time range...
int ArrayResize( object&array[], int new_size)  can Sets a new size forthe first dimension.  but if   the array[4][][3]  i want tochange the size of second dimesion of it. how to do that ? thank you.
  Found the talent  (312   1 2 3 4 5 ... 31 32)
Greetings, trendsetters. In fact, I think there are quite a few contenders. So in this thread in the future we will post the results of Mr. sever30 . I leave the terms of use, so that it was clear what it is about. I propose a small contest. I am looking for traders who work in forex (currency
i got the "error 1" on ordermodify function. i searched the error code, it means that no error but my ea still showing this error. how to fix it? please help.
My history data shows the last closed position below the table while all the previous were above it.Total=OrdersHistoryTotal()"for(int i=0;i =0;i--) "Please which of this will select the last close order if the table is as aboveor can someone explain how the history table...
[Deleted]
Hi all, How can I stop https://www.mql5.com/en/code/8126 this report expert to flood? I mean everytime I refresh the html file, page goes long and long.. Any idea how to stop it ?
[Deleted]
the pic is a trade from last nite.a pending order I put in. green line was my sell entry,red line a 20 pip stop.look at the history - got filled at 11:42 gmt at 0.98384 (candle under red line) stopped out at 12:00 gmt at 0.98541 on the next candletrade lasted 13 minutes...
  Deleting Objects  (2)
I was writing a deinit() to try and delete all the objects associated with the indicator that created them on close of that indicator. All the objects created by the indicator start with the letters T16 followed by some other identifiers including a number for each arrow. I wrote this short code to
[Deleted]
It happens very often that we get unwanted calls in our life but you can do nothing about it. It maybe someone you are familiar with or someone you never know, it maybe a relentless salesman, or an annoying ex, or a harassment call from freaks. It is disturbing, it is torturing, you are totally...
[Deleted]
Function "Trailing_Stop_Handler" is not referenced and will be removed from exp-file Function "Trailing_Stop_Handler" is not referenced and will be removed from exp-file Function "Trailing_Stop_Handler" is not referenced and will be removed from exp-file The above where WARNING message...
Please coding of EA i have done keeps opening same position as the one closed before it instead of waiting for the next opposite signal. i want order history control that will select the last closed order that has same ordertype andsymbol with that of which is to be processed by the EA for making
can someone help me with an indicator. 3 vertical lines drawn on markets open. ( adjustable time would be a good idea as times of metatrader changes from broker to broker ) Tokyo - London - USA Using 15 mins chart, the high and low is marked with horizontal lines. eg. using FXCM... a screen shot...
New article Using Pseudo-Templates as Alternative to C++ Templates is published at mql5.com: The article describes a way of programming without using templates but keeping the style of programming iherenet to them. It tells about implementation of templates using custom methods and has a ready-made...
Hi Programmers! Can I check whether the chart used by the EA is the active chart in the MetaTrader? Thank you. Relative
Hi All.. Is there a way for an indicator to get the current time when using the testing Platform using visual with FromTo Dates?An indicator by itself does not know whether its running in TestMode or not(To my knowledge, that function works for EAs/Scripts only). I have had to resort to a dummy EA...
[Deleted]
I was wondering if anyone has written an indicator in MQL4 of the Kase Peak Oscillator (KPO). I have found mql4 codes based on the following algorithm: KPO = RWI(high) - RWI(low) where RWI(high)=(High[0]-Low[n])/ATR*sqrt(n), RWI(low) =(High[n]-Low[0])/ATR*sqrt(n), and ATR is the average true...
Hello !! Once again about RSI. I looked around on this forum for RSI EA and ….. it is a lot of it. Some of them simple – some of them serious robots. But …… I couldn’t find RSI EA which cross level 80 from the top to the bottom and level 20 from bottom to top. . I am not sure you are...
[Deleted]
Hi I have an EA that uses ATR: res = iATR(Symbol(),Period(),theAtrPeriod,shift);      return(NormalizeDouble(res,Digits));   return(res); I have comments on the chart showing what the EA is seeing, I have found that sometimes the EA misses a trade because it was showing a very slightly different atr...
  BUY PROFITABLE ADVISOR !!!!!!!!!!!!  (193   1 2 3 4 5 ... 19 20)
Hello all. I started to write an Expert Advisor and started testing Bill William on history. I've been thinking, there are profitable Expert Advisors, so I don't have to reinvent the wheel. ( Besides, the Championship has even been organized). If I have a developer who yields 50% per month on demos
Hello! Please advice on how to change these values or somehow else squeeze chart. Here is what I am trying to achieve. I apply template to a chart and my resistance\support levels look just fine on Daily Chart, but when I change timeframe to let say 1H, windowspricemin and windowspricemax are...