Expert Advisors and Automated Trading - page 186

To post a new topic, please log in or register
  MetaLang.exe (2)
I have to Introduce MetaLang.exe File to Etasoft Program. does anybody know where can i find it?! Thanks.
Just starting to code in MQL5, I tried to make very simple martingale EA which will double the lot size if we lose and stop after we win. When I tested this on strategy tester, its always written failed instant buy if I input Buy in the position input variable ( extern variable ), but it works if I...
I would like to draw line like the chart above. (It's from MT4). Does anyone know how? Thanks
Please, how to change this line in the way to write a MARGIN LEVEL % into a file MARGIN.TXT? if(!FileWriter("SEURUSD.TXT", (string)(MarketInfo("EURUSD",MODE_SPREAD)/mult) )) return(false); ===> if(!FileWriter("MARGINL.TXT", ???...................... return(false);
How many pending orders of one pair with the same price can the MT4 platform open at once? When i have to many pending orders open and it reaches the price it goes wrong, trade context is busy…. Ed
I want a EA for binary options. I would like the MqlTraderRequest expirate every period. I don't need takeprofit or stoploss for trigger the order. My proposal: mrequest.action = TRADE_ACTION_PENDING;mrequest.price = NormalizeDouble(latest_price.bid,_Digits);mrequest.sl =...
Hello, i'm looking for program test Expert Advisor on history with ticks and spread, what you recommend? Thanks for your help!
how to stop a running scripts itself? In ea ,I can use ExpertRemove() , but it dose not work in scripts. please help. ExpertRemove();
I building a way to interact with the python django framework. Before starting I am asking if anyone had had any success with Python MQL5..?
elliminate Ban slow agents (that exceed average by specified multipler in most optimizations) Enable option to use only 64-bit agents Enable option not to use slow agents for additional percentage fee Enable option to use also slow agents for a discount Not pay for slow results Use only agents...
Hi, When I start folowing a signal it also opens the trades that are open which already excist for some time (sometimes months) and are in big losing position. Is it possible to start following a signal without copying the current open trades, so just accept new trades from then onwards?...
Is there a trigger, which will inform me when position is closed by stop loss ? or i have to check every sec for history ? thanks
if i want to buy some signals, how many signals can follow in one meta trader? can i follow five signals in one meta trader 4?
I need a large size of array buffer to store testing data in my ea.such as the code below: double Buff[size];double BuffDym[];ArrayResize(BuffDym,size); when the value of size is to large,the compiler will come out a error said :array is too large. I want to know the largest value of size...
Hello, can anyone help how to solve the requote problem. If i do a buy or sell with CTrade, i get sometimes no transaction because there was a requote. (I set also the SetDeviationInPoints to 100, would should not be the solution in real trading) This is from backtest log: CG      0       17:20:16...
Hello, anyone can say what price is passed to the OnCalculate function: bid, ask or last ? Found nothing about in the documentation.
keydcuk
Hello, This is my first post to the community and I need some help. I have built an EA which I will be running only on EUR/USD but possibly exploring other pairs in the future. Based on the results, I am confident that for every 25 Euro in my account balance, I can trade 0.01 lot. Can anybody...
Hello, When developing a EA, is it better to use "Enter at Trade on Open Bar" or " Tick Data" i understand both are using different ways to trade while even the S/L, P/T and indicators can be all same. Anyone can enlighten me on this ? Thanks !!
Hi DLL with EA work Well in my pc (i test it in two metatrader and no problem) but i get error in my vps ! i put DLL in right place see image, but MT4 can't load DLL or Call it. unresolved import function call cannot call call DLL : #import "demo.dll" int Account_check(int acc,int...
When I go to subscribe to a signal it doesn't connect properly anymore. I am signed in to the community tab properly, but after signing up for a signal my signal tab always shows that I am not subscribed. What can I do to fix this?
  News EA (10)
Good Morning, I had an idea to develop a news EA. Maybe someone already had it, here is how it would work: EA would get the forecast of news releases from http://www.fxstreet.com/economic-calendar/ and other similar websites. EA would also receive the real data when it is released from the...
Hello to all anyone have Scalper or Arbitrage EA??? Ea work on news time and running 24 hours on VPS 
  VTSO (4)
Hi there, I'm looking for info about VTSO . I would like to know how that is working internally, in the code, some sample would be nice. All I know is that it is virtual. Also, I would like to know if before placing a VTSO i need to place a normal stop loss order in order for the VTSO work. Thanks
I've been verify all necessary parameter and procedure, but not any trade which program made after test , why ? anybody can help me ? I test the program downloaded from here https://www.mql5.com/en/articles/647
  Order Ea (1)
Hello profitable traders, pls i need an ea that can open as many trades i want at the same time and with predetermined take profit and stop loss. I will really appreciate if i can lay my hands on such ea. Thank you in advance
Hello everyone i want to know how can find metatrader folder like this address (it is possible or not) C:\Users\SpeedON\AppData\Roaming\MetaQuotes\Terminal\5554F4H5J4S5E4TDDAS&G&D9 to access to MQL4\Expert and indicator folder to install EA. or if you know software can install EA and DLL in...
I am using CTrailingPSAR trailing class, there were two stop losses triggered at 2014.06.19 00:35 and 2014.06.09 01:01, the stop losses not supposed to be triggered. Below is the journal captured: 2014.06.28 22:23:37.342 2014.06.19 01:01:00 order performed buy 0.10 at 1.35884 [#5 buy 0.10 EURUSD...
hello if i follow the xxx system whit a 1:500 leverage whit max 5% used for operation(capital of 2000 euro),any operation are: 1:5=0,2 Buy10.00USDCHF0.891240.888550.896432014.06.25 22:030.89284179.20 in 179*0,2=35,8 or loss 2014.06.26Buy10.00EURUSD2014.06.26-310.00 310*0,2=-62 Is...
Comments that do not relate to the "MQL5 Cloud problems - very slow agents blocking genetic optimizations. How to solve it?", have been moved into this topic.
I have found accidently that the historical spread (Ask-bid) used to open and close orders during backtesting in the strategy tseter is different from those stored in the Mql rates. For example, you can get historical spread using the following code (Lets say your EA is attached on M1 chart)....