My old and new platforms do not load in the required C:\users\your name\appdata\roaming\Metaquotes\Terminal…) but in the old C:\program files\MT4 terminal. In fact I can't find the required chain in my PC at all. All platforms are of course build 670. I just downloaded a new platform from a new...
[Deleted]
Hello, I installed the mobile version of the Metatrader 4 platform succesfully on my phone. I used it a while with my demo account. Now I want to go live and I wanted to clear all te old messages (notifications). So I did, but now my whole message blog is gone! Now I can receive only one...
Is it possible to single step through Backtests? If yes, how? When I set Breakpoints in my EA and press F5 I get a new Window and life ticks. Instead I'd like to get ticks from the back test engine. Is this possible? Regards
Are there any indicators or (android) apps that allow you to Chromecast Forex Charts? (with or without MT) I realize there is a Chrome add on that lets you Chromecast your browser content but I'm looking for a more elegant charting chromecast app that preferable works with MT4.
hello, Attached is the file containing the following errors: ';' - unexpected token Reader Delay.mq4 48 62 'handle100' - constant expression required Reader Delay.mq4 48 7 '{' - some operator expected Reader Delay.mq4 47 7 expression has no effect Reader Delay.mq4 46 47 expression has no...
[Deleted]
can I DLL retrieve AccountNumber so it's use can be restricted?
Please help me with this indicator which provides buy/sell audio alert. I try to do some modification to this indicator in order write a file and run a external .EXE file. The write file code is working fine but once I load the indicator it just open the so many .exe until the computer is hang. How...
Hi, Why does OrdersHistoryTotal() show one more than the real value? If I have say 12 closed trades, OrdersHistoryTotal() shows 13, even on a brand-new and "empty" account it shows 1. Why? Is it a failure or am I wrong? Thx
Hi. I've just downloaded MT4 for Android and I'd like to configure the RSI indicator so it shows a level-50 line (instead of those two default 30 & 70 levels line). How can I do it? Any help will be very appreciated! Regards, Bruno
Hi Forum, I want to check if the EMA50 is above the EMA100 in the current displayed timeframe and additionally in the D1 timeframe. The current timeframe is checked correctly but there is a problem with the D1. I think that I can't use the variable i when checking the D1 timeframe. When I use this...
[Deleted]
Hello, Does anyone know how to close an order after "X" bars have passed. The catch is, I only need it to work on the Strategy Tester (because I need it for my grad paper and I don't have enough time to run it on live) and not on live data. In live data I found that I can use time as recommended by...
Hi, when I call the iEnvelopesOnArray function I receive an access violation error. iEnvelopesOnArray(mybuffer,0,14,MODE_SMA,0,0.2,MODE_UPPER,i); any other iXYZOnArray work fine (like iStdDevOnArray, iMaOnAraay etc...) only the envelop one failed!!! any idea why? is there anything special to do when...
Hi, I have MT4 installed in a usb-drive for portability purpose + I don't want to install it on windows as it is not mine. I write the file in MT4 and read it when the file is written. But sometimes when the file is closed by the MT4 indicator and I read the file, the file content is not yet present...
switch(x) { case 1: if(USD==1) firstcurrent=1; if(USD==2) firstcurrent=2; case 2: if(EUR==1) firstcurrent=1; if(EUR==2) firstcurrent=2; case 3: if(GBP==1) firstcurrent=1;...
int init() {//---- ticketOpp=-1; if (Point == 0.00001 || Point == 0.001) pip = Point*10; else pip = Point; if (Digits==3 || Digits==5) slipFactor=10; else slipFactor=1;//----...
Hi, Does anybody knows if there is a feature in MT4 that show the trades made in live trading on the chart as in backtesting (blue line for long position between the buy and the close and red line for short position) ? Or do I have to program it myself in the EA by creating for each trade an object...
I need a code that allow's me to open only one order per hour on a single symbol. this is the sell condition if(Close[1] > Open[1]) {double S=MathAbs(High[0]-Close[1]); double Sp=S/Point; if(Sp>=20)result=OrderSend(Symbol() , OP_SELL , lot , Bid , Slippage , Bid+SL*Point , Bid-TP*Point, ""...
[Deleted]
Hi, I am new to developing OOP in MQL4 (not to OOP :) ) and run into the following when testing this base: class BaseObject { public: virtual string ToString() { return TypeName(); } virtual string TypeName() { return typename(this); } }; class...
Hi, ChartSync indicator is supposed todo this: Objectsdrawn on one chart automatically appear on other charts of the same symbol.This allows multi time-frame marking up of charts simultaneously, without havingto manually save and load templates. Example If 3EURUSD charts are open H1, M15 and M5. If...
[Deleted]
Hello, I export the balance during optimization: if ( IsOptimization() == true && AccountBalance() != AccountBalance_old ) { AccountBalance_old = AccountBalance(); int handle = FileOpen ( "Optimization Balance.csv" , FILE_WRITE | FILE_READ | FILE_CSV ); FileWrite (handle
[Deleted]
I use a verion of Metatrager 4 build 670 from IG. Everything works fine, but sometimes I have many trouble with setting of colors in the chart. If I will change the color of the bars or rectangles or Fibonacci retracements or other i can not change the color. I get the set of colors but I can not...
Hi all, Anyone here familiar with a broker that allows 0.001 starting lots so i can make my testing on such system? I've Googled for such brokers, and found some that claim to support mt4 and 0.001 lots, but when i install Mt4 it actually 0.01 minimum lot.
Hi, has any body experience with s.th. mt4 does not like to talk about - there are some discrepancies. In the MQL4 Reference I read under long Volume[]: and long Volume[]Series array that contains tick volumes of each bar of the current chart..... last_fpos =...
[Deleted]
I got Buy Sell Pressure Indicator form some where and it's a AFL Code. I try to code in MQ4 but it's not work. Anyone help me to code this indicator. _SECTION_BEGIN( "Buy & Sell Pressure - Smoothed with Histogram - V.1.0" ); SetChartOptions( 0 ,chartShowArrows|chartShowDates); sp = H-C; bp = C-L;
[Deleted]
hey guys this is for the first time i am trying to write my own EA and i am little bit successful in it but when i try to run any EA in my strategy tester it gives no result at all not even single trade. This is what my journals tell can any one help
Hi everybody, I experience some frustration in such a way that I want to draw some horizontal lines, computed according to a certain algorithm in two different charts, eg. eurusd and dax. I managed to format the lines as I want (style, color, thickness), but I'm not able to make my EA to move the...
I have read lots of information stating that back testing on generated offline renko charts is unreliable, however looking at the visual back tests it seems as though the tests are reliable when the EA does not use a fixed stop loss or take profit but rather opens and closes trades based on open...
Hello everyone, I'll post a little program that I've done: The program should report me 2 of the stochastic crosses that occur sussessivamente inclusion of ' AE in the graph instead of as soon as I insert the graphic print " DrawAllert ( " cross 2 Time = "+ TimeToStr ( curtime () , TIME_DATE ) +"
I do not know if this is right thread but I want to suggest two things for both Metatrader 4 and Metatrader 5 1. Volume (CTRL +L) to show buying and selling volume and to be colored (MT4 and MT5) and Tick Volume ( MT5) 2. HLC price representation on chart. So far there are only Bars, Candles and...
Hi, The Doc. of mt4 tells me: int OrdersHistoryTotal(); Returned value: The number of closed orders in the account history loaded into the terminal. The history list size depends on the current settings of the "Account history" tab of the terminal. But if there is a new account there won't...

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.