How can i solve this. If i want to sell ea via Website and give the opportunity to Download a Demo. How can it will BE solved that ea didnt work after 30 days. I think of a txt or csv file online where i can set the demo end time.l and the ea will Check before start of the date is out of Date
Please can someone spot the deliberate mistake!? I want to write headers to a file in the first instance the subsequently write data. I check to see if file exists first - if it doesn't I write the headers, if it does I just continue to write the data. When the file has been created it still goes
I am running a 1 second timer function but getting strange results - please see code and output. int OnInit(){ EventSetTimer(1); return(INIT_SUCCEEDED);}void OnTimer(){ Print(TimeSeconds(TimeCurrent()));} Print results. Why is there duplication of seconds? I thought the OnTimer() function ran off...
i cant trade on my demo account. This account is participating in this account. pls help.. metatrade4 application
Hello, May I divide 2 years Backtest period in to 24*1 month periods, and choose thebest adjustments from one report that have the best operation in MT4? You know after each BackTest file is saved in theaddress appData / roaming / metaquotes / terminal /F792711EEED0C4A88615E52DD459D4CC / tester With...
Hi, If I imported multiple m1 data sources from Dukascopy and Histdata, Do I need to delete one of them? Or is it ok to use for the backtester?
Hi everyone. I am trying to create a simple moving average cross-over EA. I have a little bit of a problem. What I want to do is to first check the total number of orders before opening a buy/sell order. If the total number of orders is zero, only then will the EA opens a buy/sell order depending on...
Hi, I am downloaded many versions of MT4 even from offical website MetaTrader also I did download MT5 and tried it to install on my PC but again it appears error! The Application was unable start correctly 0xc0000005 Click to close the application. Any other software is working well and I can...
hi i created this simple concept of my expert so i can show you whats the problem expert has to run in diffrent charts of the same currency pair so i have to apply magic number to each order and the basic concept of it is that i have to open the next order based on the results of the last one for...
I got this message and EA exit, I found the doc it means chart closed , how can I keep it running? I will be very grateful if anyone can help on this
Hello I downloaded few different EAs and ran 'em. All of them use Alerts @ different points. But not a single message shows up anywhere. I cannot find anything to change in setting which will fix this. Documentation shows a popup dialogbox. In my terminal, it is not even showing up @ Alert Tab of...
Got this preliminary result from my new advisor at Open Prices Only backtesting. But the result at Every Tick mode is quite different. It seems that orders are closed inmediately after open, letting down the curve by paying spreads. Does someone know about that issue?
I want to write an EA code to generate a 20 EMA and take another 3 SMA am focusing on the first 5 candle to creater my Array but I keep on getting a array out of range please help. thank you in advance. void OnTick() { double ExtMapBuffer1[]; double ExtMapBuffer2[]; //int bar, limit; //int...
[Deleted]
Hi Guys, i tried to code a stoploss EA, which sets the S/L on the low/high of the previous candle (see pic below). So now I wrote down some code and it does sometimes work. But actually not at every candle. Maybe it is just a simple mistake I did. Could someone please help?...
Hello I want to set trades in MT4 with one click that immediately sets my take profit in number of pips at the price that I did take the trade (buy of sell order does not matter - take profit goes in direction that positive profit goes). I suppose I can set my number of pips to take profit in...
Hi, im unsure if i name that correctly, im just wondering why this isnt a option. After i make a sell order f.ex, i can pull down to select close at certain point, and pull up above it to choose a max loss, why, if it is in the positive, cant i choose a positive stop minimum. Maybe the picture...
Have this condition not working on my advisor: for(int i=0;i<OrdersTotal();i++){ if(OrderSelect(i,SELECT_BY_POS,MODE_TRADES)){ if(CLOSE>STO_Overbought||Hour()==EndHour){ if(!OrderClose(OrderTicket(),LotsOptimized(),Bid,3,clrGold)){ Print("OrderClose error "...
Dose more cores helps to do testing fast? I have i7 4790k which has 4cores at 4.0 ghz with 16gb ram. It shows 700hrs for testing for 10yrs data on one pair. Will a CPU with more cores help reduce the timeing for this test? Or this is the max speed I will get with even 8 or 10 cores CPU?
hi guys i try to do a simply script //+------------------------------------------------------------------+//| CalicettoPS.mq4 |//| Copyright 2015, MetaQuotes Software Corp. |//|...
Version 1 1. Can read doji: a. may set minimal length of uptail b. may set minimal length of lowtail 2. Can read gravestone doji: a. may set minimal length of uptail b. may set maximal length of lowtail 3. Can read dragonfly doji: a. may set maximal length of uptail b. b. may set minimal length of...
Hello, I have an issue on using inheritance i can't access public variables and functions from the parent class here is a simple scenario. class A { public: int iProp1;};class B : A{ public: int iProp2;};B b;int OnInit() { b.iProp1 = 0; return(INIT_SUCCEEDED);}
For example is it possible to use iVolume on just the EUR and not the EURUSD or just the USD and not the EURUSD? Thanks
into the "results" of the backtester ? there is an action to see these comments, but I don't remenber which one
how to calculate the distance so that two or more open trades reach a breakeven.
Hello, I am trying to make an EA, the main point is to set a long term sell order and while it is in profit but the trend seems to be reversing, place a buy order to hedge. I would like my EA to only place 1 sell order within a single day while it can place buy orders whenever the conditions are met...
I have three DLLS I use one is for SQL and built by Sergey Lukin Runs Great ! Thanks for posting it I also TA-Lib-Core.dll and one I made . To prevent mutex I found a post from William Roeder https://www.mql5.com/en/forum/154746. Works great! Thanks! Here is the question I have two. EA_1 wins...
What is the commission per 100k amount? Can it be formulated?
Hello, I want to write an EA. What I want to do is to create a trend indicator that is based on moving average . The main idea is that if the moving average is pointing to 2 o'clock, that will give a signal of an uptrend. If the moving average is pointing to 4 o'clock, that will signal a downtrend
Hi guys... My EA has about 30 Arrays - all calculating specific values - which are stored in Global Variables that I use throughout my code. My Question is: - Will my code be faster if I consolidate all (or group) my Arrays and Global Variables in 1 function?
Has anyone else had problems displaying out these functions in a browser with the new build (509) ?? It will display them in the MT4 platform but when I open them with a browser, it only displays July 12, 2013 (I dont know why). I have tried today, yesterday, last week, last month, last 3 months,...
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.