MQL4 and MetaTrader 4 - page 579

hi guys,   i have recently created my own EA, but there is more than 30 error which i have no idea how to fix. Sorry, im not from IT background. and i was using the expert advisor builder instead of typing the code myself.   i need help..................
Hello everyone, I would like to fix the arrow in the candle just there but the signal must not disappear if the condition disappears. thank you #include <stdlib.mqh>#include <stderror.mqh>//--- indicator settings#property indicator_chart_window#property indicator_buffers 1#property indicator_type1...
[Deleted]
Hi. I am using Metatrader4 with my Oanda live trading account. When I wanted to use the EA Wizard I was not allowed to access the indicators in the Wizard - basically the Wizard was empty. The indicators were visible in the normal window of MT4. What do you think is wrong - something to do with...
Hi, Im trying to find a way to import a library (or .dll file) with the filename being defined externally. For example, this is what I am trying to accomplish: User creates a file "MY_FILE.mq4" ("MY_FILE.ex4" after compiling), saving it in the libraries folder. User runs my EA, "supertradesEA.ex4"...
[Deleted]
I also have the same problem. Ea works great on backtesting but not on live trade. There s no problem with my brooker. The script s below. I dont know anything about writing an expert advisor. Please have look and tell why it s not working. regards...
[Deleted]
Hi all, I compiled and tested an expert for the EURGBP M15 pair. I attached the expert to the EURGBP M15 chart, enabled live trading (without manual confirmation), and got the smiley face at the top right of the chart, next to the expert's name. The problem is that the expert does not make any...
If I have the name of an object, how can I program opening the object properties window, like for HL: https://scr.hu/MweRn2
Hi Guys! I am on MT4 and have about charts for 20 currency pairs. How do i set every chart's candlesticks to have similar length in terms of pip value? What i meant is that on some charts per grid is about 50 pips while on others per grid is about 100 pips. How do i set them to be the same on all...
Hello, i need to decide if to close or not an operation of buy/sell after 10 more sticks appears after the buy/sell operation.   I want to take an average of that 10 new sticks so then i decide if i should close the operation or not. I know how to do with the previous bars before the buy/sell...
Hello people i need your help , I m using a linux ios and i d like to run mt4 in my virtual machine windows 7 in virtualbox but when i install mt4 and trying to run it the terminal in the process crash i don t know the problem I ve change a lot of ios but the problem is the same the terminal crash...
Hello everyone,  for a few months, I was trying to do some backtests and I realized something (I also search the forum but other topics are different than my problem): Yesterday I did some backtest, close my laptop etc and today I tried to run one of profitable results but with same parameter that...
I got in the '.log' file with 'Print()' and on screen from 'Comment()', number with double like this: 6.807918429796922e+016. I got the value without the decimals with 'DoubleToStr(,1)' as: 680791842979692216.0. My problem, and because it's kind of unknown to me how that number is translated into
  trade copier  (3)
Hi, would it be difficult to create a trade copier software? I've seen there are some programs available on the internet but I'd like to create one myself and I couldn't find any resource on that, like dedicated books, articles etc. How can I get started? I mean what kind of knowledge do the...
Hi cant seem to make my indicator work if i have an inside bar , i want the indicator to display on graph the number of times price hits the high and low of the candle before it reaches its target of 1:1 R:R  atteched is i want it to work and the indicator i tried to write, its a problem with...
Hi Folks! Facing an issue when trying to run the code attached via backtest. Getting a array out of bounds error and a failure of the backtest saying that a critical error had ocurred in the pass. Debugging does not show this error for some reason. NoTradeOnDates is a variable containing a comma...
Hi all, and thank you very much for keeping this awesome website. I am learning about exchange data between some platforms and now i am with excel. I am trying to download data of metatrader in real time (this step is succesfull) I am trying to plot data of excel in mt4 (Not succesfull) Maybe, this
[Deleted]
Hi all, i want to ask one question. I still cant solve my problem and i saw much code but nothing like what i try, or i did not see correct the codes. The problem is that i want to do calculations of other timeframe when bar of current timeframe close. For example, text with close bar of first H1...
Hi guys There are any way to Open orders in MQL4 in asynchronous mode like MQL5 function OrderSendAsync
[Deleted]
Good morning all. Totally though i'd gotten the hang of it then started receiving the following issue... 1. Just for general awareness: I've elected for the current bar to be the value of IndicatorCounted () - and consistently refer to this as "i" - therefore, the oldest bar on the chart is always...
Hello all, I've been searching throughout the internet on a way to call an indicator's value that has registered after an elapsed time and my search has been confusing and fruitless. The reason is because when calling an indicator in your EA, it gives you index values but in actual usage, this...
Hi all I am desesperatly  looking for historical data of binary option pairs for the broker GDMFX (not the forex pairs, the binary option one, with the bo extention in the name). I need the one minute candles historic data, for as many binary pairs as possible (EURUSDbo, GBPUSDbo,...), for as far as...
please give me a link for standalone (offline) installer for MetaTrader 4 please DO NOT ask "why do you need this", and many other questions, and answer exactly what I asked (i read similar thread in mt5 forum with no answer but many reasonings about why would you need this) if I asked, then I need...
Hi, Is it possible to move the text label to the left side of screen.             if (Monthly==true)          {           TimeToStr(CurTime());           ObjectCreate("PivotLine", OBJ_HLINE,0, CurTime(),MN1_priceH);           ObjectSet("PivotLine", OBJPROP_COLOR, Magenta);...
[Deleted]
I wrote an indicator that shows Open of current candle is equal to Close of previous candle. but I don't know how to change the color of High/Low shadow for bullish and Bearish candles. Is it possible to change the color of each candle in for loop? is it possible to change the color of High/Low...
how does one send data from MT4 to Email, example Ask, Bid data...
Hi, With the help of Mr. GumRai Code I try to modify the code to get VLine when iMA Crossed. First I would like to know about professional coder opinion. Is this the right way for writing code? Second I have question about the VLine.  How to stop the line to not drawing in subwindow? int...
In a static StrategyManager class I want to have a static array of Strategy Singleton classes who's functions i call depending on the current market's behavior. The static functions like OnInit() in the StrategyManager class are being called in the Expert's mq4 file. When I try to compile this, the...
I know this is a common thread but I'm trying to modify my market order to breakeven (adding a stop loss to be equal to the order open price) when I make 100pips profit. Everything is NormaliseDouble'd & there's even a mechanism that continues onto the next order select in the pool when a stop loss...
Since build 900 allows us to make parametrized classes I was trying to find a way of creating a Singleton base class. There is nearly no information about Template classes so i tried to mimic c++ kind of template classes. template < typename T> class Singleton { private : static T*
New article Calculator of signals has been published: The calculator of signals operates directly from the MetaTrader 5 terminal, which is a serious advantage, since the terminal provides a preliminary selection and sorts out signals. This way, users can see in the terminal only the signals that...