Expert Advisors and Automated Trading - page 61

To post a new topic, please log in or register
Hi all, Thank you for looking at this thread. I've got an EA which trades a variety of strategies simultaneously on the same chart. My question is this, is there a way that I could distinguish between live trades from different strategies from a single EA? The problem I'm having is say strategy 1...
Hi. Guys I am a newbie on MT5. I bought one indicator. I have a question.  I want to trade automatically through indicator i bought. How do i have to for making a trading bot(EA)? Thanks. 
I have an trading strategy which when a set up is seen produces an alarm in form of beep from an alarm ea and on experts tab shows on which TF and which pair and whether to go long or short? Can an EA be made based on the alarm read on the experts tab of mt4 platform?  regards Balaji
Hi everyone :), I've currently got a freelancer working on an EA for myself and there's one strange bug that I can recreate but they are unable to. Basically when changing variables in the 'input' tab on the strategy tester I find that they get automatically reset if I tab out of the 'input' tab and...
double H_LastOrderOpenPrice(int Type)  {   double price=0; ulong ticket =0;   HistorySelect(0,TimeCurrent()+1);   int orders=HistoryDealsTotal()-1;   for(int i=orders;i>=0;i--)     {      ticket = HistoryDealGetTicket(i);      if(ticket>0 && HistoryDealGetInteger(ticket,DEAL_TYPE)==Type &&...
Hi everyone, I am currently working on automating MetaTrader 4 via Docker. I'm quite satisfied, almost with what I've achieved so far. Starting instance, automatically logging in and running it with multiple Expert Advisors already works smoothly. It is also able to start a backtest for a single...
Hi how can i get the time of 10th candle later on H1 timeframe?
Hello developer's. I really want someone who able to developed my Renko EA. That EA have some awesome logic to place trade also have good exit logic there. Not a single indicator use under this EA. If anyone have awesome knowledge in Renko then most welcome for my upcoming project. Also you not...
Hi, For simplicity, I have inserted only the basic code of an EA below. I believe it is enough and easier to understand my question. void OnTick()   {   CountBuyOrders(); //gets the BuyOrders   CountSellOrders(); //gets the SellOrders   if(BuyOrders+SellOrders==0) //check if there are any...
Metatrader 5 succeeds at loading tick data but not bar data. Source is FXCM historical data. I can't load more then ~7000 bars into the 'Import Bars' menu without it failing, no error message either, then when i click 'OK' it fails to keep any of the data. :( Same with tick data, i can load it into...
Hello friends How I get 99.9% modelling quality on MT4 build 950 ???
Hello all, I didn't see a SEARCH function on this particular forum, so please forgive me as this is probably something very trivial to the rest of you. I am literally hours old into coding for EA's and have thus far pieced together a SMA EA that gives me the ability to tell me to "BUY" or "SELL" in...
I can not get my strategy tester terminal to test a new EA strategy ever since the previous one went to zero dollars but somehow it got stuck and now all the Journal says is ( The robot is still working, waiting for some funds to appear...) Does anybody have any suggestions one what I should do. I...
Is there an EA out there that lets you scale out by triggering an automatic partial close off your position at a particular price level? The closest I know of is Smart Trader Tools Mini Terminal but you have to manually execute the close. Cheers
Today when I withdrew some balance to another account I notices all the open trades were partially closed (via signal provider). These were trades with a 0.21 lotsize and then they were closed with a 0.08 lotsize and what remained was 0.13 lots of that trade. Is this normal behaviour for a hedging...
Hi everybody, I need to get the current datetime in a string, possibly in a SQL format (e.g. 2019-04-07 15:37:02). I've tried three methods of MQL5 standard library:  TimeCurrent, TimeGMT, TimeLocal but during backtest they all return the same date that is not the actual date. I need to get the...
Please help with the following: I installed the last Windows 10 update yesterday and my MT4 from IG Spain, stopped working. This is a real account platform. Other platforms with demo accounts from IC Markets and Oanda, also stopped working after the update. When I try to reinstall mt4 from IG...
hello everybody, I want to use signal indicator in my EA, this indicator uses arrow in top or bottom of price for trend recognition, Please help me in using iCustom function in MQL4 for usisng this indicator. the indicator is attached.
I use Standard Library Generic Data Collection CSortedMap. To getthe values out of the object I like to use CopyTo with an array ofCKeyValuePair. //+------------------------------------------------------------------+//| Script                                             tryCopyTo.mq5...
Hi, I am looking for a answer regarding free signal. Say I published a free signal. is there any benefit like increase profile rating point? Thanks
I want to get the info for a symbol using: what is wrong with my code? it prints: 7.0 but it must print : price of the last deal which is: 3588 ENUM_SYMBOL_INFO_DOUBLE symbInfoDouble;SymbolInfoDouble(Symbol(),symbInfoDouble);double last=(symbInfoDouble.SYMBOL_LAST);Print (last);
I found an EA copy trade on the internet As far as I know, it can be copied from one MT4, to another MT4 via PostgreSQL server But I don't know how to install it to be able to use this EA Please help me - https://github.com/kr0st/trade_replicator -
I am not using the cloud network, it is disabled in my adviser window. How do i fix this error?
Hello Guys. I found this EA that open pendening orders on news time. It's work very good. But, there is only one option to set it. I would like to have more 5 option news time that run at the same chart (same symbols).I tried to paste the same code in mql4, include etc. and didn't work. In mql4...
Hello friends! Peace for all! I'm new to forex and mql, can anybody help me? Which of these experts: https://www.mql5.com/en/code/mt4/experts Are they profitable and secure? And what would be the starting balance of $ 100? Which ones did you test and work? Thank you all! Hugs!
Hi everyone, is there a way in mql5 to convert double value = 0,056 into 5,6 and 0,00024 into 2,4? Thanks in advance!
Hello All, Good afternoon! I have the following piece of code:       if(setalert==1 && shift==0)          {                Alert(Symbol()," ",period," ",pattern);                            setalert=0;         } The alert works, but every time I open the same chart time period, the alert dialog pops...
Hi, I've been working on an MQL5  EA for a friend. In my code I've got a snippet at the end of successfully placing an order (see below), notifying the result (from the standard documented MQL 5 MqlTradeResult result structure) to the Experts console and notifying it to email and phone push...
So I have an EA that I purchased and it's doing pretty half assed as far as hitting target points. It is landing in profit about half the time and hitting SL the other half. But virtually every time, it runs about 20-30 pips into loss before coming back up. Is there a way to write a new EA that will...