MQL4 and MetaTrader 4 - page 450

To post a new topic, please log in or register
Sorry, for this possibly stupid question ... But as I am trading binary options sometimes, I really could use a candle clock timer, which shows the remaining time of a 15 minute candle in a 5 minute chart window ... I have tried modifying some existing indicators I have found on the net, but I...
I wanted to test out a simple closing condition if(accountbalance()<accountequity()) (then I use the close trade close after order select ect, I also used the for loop counting down) I used a guaranteed calling condition, if(60==60) because I am calling the function which contains the if statement...
We have had a problem now a couple of times where the MetaTrader 4 platform has reset after the laptop has restarted. We have now turned off automatic updates on Windows, etc, but the recent shut down occurred after a optimisation had run for six days and the laptop restarted, possibly due to heat,...
New article Creating Non-Lagging Digital Filters has been published at mql5.com: The article describes one of the approaches to determining a useful signal (trend) in stream data. Small filtering (smoothing) tests applied to market quotes demonstrate the potential for creating non-lagging digital...
Hi All, I have created a custom indicator. It has 5 indicator buffers But am seeing only the one indicator buffer in data window, which has index of 0 I want to see all the indicators in the Data Window. How to do that? Thanks Tahseen
Hi, I am trying to include a money management function in an EA (actuallly it shouldn't be called MM, as it should only calculates how many lots can I buy so that when I hit my stop loss I only loss a certain percentage of my account). I created the EA with a code generator, I`m not a programmer,...
I need to bypass the firewall restrictions at work. I've used a broker that uses "HTTP tunneling" that, in many cases, will bypass firewall or router restrictions. Is this an option in MT4? If not, what are my options? Thanks for your help . . .
I modified Heiken Ashi to be Yearly Candlestick Chart. But it use Histogram to draw the candles. I want to draw the candle like the real one candle ( not use histogram ), is there any way to do that ? Here I attach the indicator and the image.
When importing minute data into the strategy tester, there is a "SHIFT" factor option. What does this do? I'm importing Data from a broker who uses GMT time data... Daily open/close time... and my broker time is GMT +2 Can I set this "Shift" factor to "2" to have the strategy tester convert...
Hi I am wondering what is going on with my TP level with this ea I'm programming it returns me a tp error on the ordermodify sequence here is the code double takeprofit = 25;double stoploss = 50;double sl;double sldistance;double tp;double tpdistance; // within init      if(Digits==5)...
Good aftenoon, for cortesy help me convert file ELD TTRADESTATIO to EA MQL4 Thanks Cordially LORENZO
hi, i want to learn the construction of MetaTrader software. As i am newbie to computer programmes, please suggest me some easy language tutorials to follow so that i can understand the working of the software. thank for your time.
Hi Guys Is there any MQL code that i understand last trade is close by TP. I wrote below code but it is not work.Because sometime ClosePrice=TakePrice is not True. I attach picture that u understand that ClosePrice=TakePrice is not always true. How can i solve this problem. double GetLastTrade()...
Hi there, Firstly, thank you clicking on my post! I've previously tried my hands on writing Indicators (good enough for personal use, despite having no prior training in programming) but, please, assume that I have zero knowledge about programming when answering my queries. I'd like to get started...
hi, I have the problem...when i excute the EA. appear the error " ERROR: code=4059 - function is not allowed in testing mode" double StopLoss=500;double pips = 0.00001;extern double TakeProfit=1000;TicketNumber=OrderSend( Symbol(), OP_BUY, LotSize, Ask, 3, Ask-(StopLoss*pips), Ask+(TakeProfit*pips),...
Hi, is it possible to save variables which are calculated in an expert advisor even if i close the metatrader and restart the programm? In this case it would be very nice to have the parameters! If this is not possible is there a chance to whrite the parameters into the log file in case of a...
In case others experience this same issue I was, of not being able to download m1 historical data, I'll post what I had to do to get it. Going into my History folder of mt4, I deleted the downloads folder. Then I deleted the m1 .hst file. After that it did down load the m1 historical data for me.
Hello Is it possible to install MetaTrader unattended? I would like to run MetaTraderInstaller.exe without having to click any of the prompt boxes Thanks for your help. George
Why is it that downloading the MT4 installer from the MetaQuotes official download location results in software that connects to different servers? I have seen installers that connect to: MetaQuotes DemoAlpariFXCMWhat is the reason behind this (from MetaQuotes' perspective)? Because from user...
I have very strange case that I never seen it before. First I put an EA on the chart and it starts working fine but after a while I found some thing is going wrong so I decided to turn it off and fix the issue. The strange thing that the EA keep running and still opening more positions "no pending...
Hi, I've been unable to download m1 EURGBP data this a.m. Just woke up and it was gone. I"ve tried copy/paste .hst files, over from another platform, I've tried deleting all history and downloads in mt4. and I've tried importing .txt files I've downloaded from other sites., I've tried import .hst...
Hello! I know we are not allowed to discuss brokers on this forum. But is it ok to discuss broker types, not mentioning the actual firms? What is an ECN broker? What are the main differences between ECN brokers and others? Which type is best? What should I look for and look out for when choosing a...
Hello. I want to display current time frame label on chart. Is there any indicator of it? Thanks.
Hello mt traders, I am looking for a tool or something like that where i can be informed per email or mobil if the mt4 changes the connection status to offline/restart. There i use a vps i max. want check my mt4 1-2 times a week. Hope someone someone can help.
Hi, can anyone tell me what is the best EA for 1000$ deposit? Thanks.
Is there a way (software or available download) I can show my profit/loss on closed orders on a spreadsheet?
Hi, i would like to have an indicator created that measures the rate of change of the Stochastic indicator. Specifically, it would measure the ROC of the fast moving Stochastic line; the slow moving Signal line should not be measured. Stochastic settings: 8,3,3 Moving Avg type: Simple Price...
This is probably a basic question but I cant find the anwer on the site or in help files anywhere. I am running windows xp and version 4 build 225. I dont get a pop up window alert on my alerts. What am I missing? I do get an audible alert and a message in the terminal under experts, but I am not...
Hi guys, I want to calculate the profit for my trades. Does anyone knows how to do it? Below is one of the closed trades. How will the profit be € -5,19? Closed Transactions:TicketOpen TimeTypeSizeItemPriceS / LT / PClose TimePriceCommissionTaxesSwapProfit52261612014.01.06 18:35sell0.05usdchf0...
Hello, I am new in all this of programming, i am trying to build my first indicator. I need that the indicator, draws a single line at opening price for the first minute candle of each day, at 00:01 (t=1), and erase it at 23:59 (t=1439). i need that the price for this line does not change in...