Expert Advisors and Automated Trading - page 55

  EA load error  (1)
I am loading my EA and it gives me this error, but I don't understand what the problem is, in Test it works fine. Can anyone help me? Thanks Errors count 22 Started 2023.12.05 08:44:44 Finished 2023.12.05 08:45:39 Type Expert Advisor test on EURUSD,H1 (netting) 2022.02.01 10:00:40 failed instant
Hello everyone, I am completely new at programming in mql5 and unfortunately I have some problems to build my code based on a simple moving average. I am basically trying to : buy the position when the closed price < SMA sell the position when the closed price > SMA When I compile my code, there is
input ushort InpSignalsFrequency = 10 ; // Search signals, in seconds (< "10" -> only on a new bar) datetime m_last_signal = 0 ; // "0" -> D'1970.01.01 00:00'; // search for trading signals no more than once every 10 seconds if (InpSignalsFrequency >= 10 ) {
#property tester_file Assuming an optimization starts with the files declared with these properties no longer changing (since the terminal needs to restart before the test). So does that property just move them to the agents folder for each agent that starts a test or does it keep it open in memory
  Stop Level = 0  (5)
Hi everyone, I hope you're well, I have a demo account with a broker and I have a stop level of 0, is this normal? how do you interpret this? Where's the trick or the trap? 😉 Thank you in advance for your insights Best Reguards, ZeroCafeine
Hello team. I have 12 cores but as you can see on the attachments there are only 6 cores running how can i run all the 12 cores to earn more ? thank you
2 questions, just as much curiosity as anything else. a) which reads faster. worsTics[ 0 ]=worsTics[ 1 ]=worsTics[ 2 ]=worsTics[ 3 ]=worsTics[ 4 ]=worsTics[ 5 ]=worsTics[ 6 ]=worsTics[ 7 ]=worsTics[ 8 ]=worsTics[ 9 ]=worsTics[ 10 ]=worsTics[ 11 ]= 0 ; // OR for ( int i = 0 ; i < 12 ;
Hello team Agent not showing even due all the settings are correct Please advice what to do? Thank you, Medalla
we know : handle = iCustom("....", smybol, timeframe, ...); But how the other way around. According indicator handle, how to get symbol and timeframe of this indicator handle
Hi.. I run full optimization on some strategies - MT5 in my last computer. Now when i bougth new pc i copied that past optimization results (.OPT) in new pc. When i am opening this results in new MT5 in new PC. its showing only Result, Profit, Profit Factor etc columns only. No columns for input
I have attached screenshot of the tesla stock. I am using mt5 account from [broker name redacted]
Hello, I bought an ea and it came with 2 ex4 files. one with the robot and the other the license. I know I have to put the robot file in expert but the second ex4 file with license? I'm lost
im backtesting , one with IC markets MT5 and the other with ThinkMarkets MT5 and the tester is only pulling in data until june or july of 2023, testing this on totally two different brokers... its like a universal problem. As shown you can see the backtesting dates from june 2023 to nov 2023 and
[Deleted]
I am using a custom indicator but it opens many instances the EA is multi-timeframe hence the handle is called multiple times. But when I use MQL5 indicators eg iMA, iRSI it works perfect only custom indicators open multiple instances how can I solve this on the custom indicator This problem is only
Please see this Photo :- https://charts.mql5.com/38/78/audusd-s-m5-jm-technologies-ltd.png Code :- int iBB_handle; double BB_Upper[], BB_Lower[]; int OnInit () { //--- iBB_handle = iBands ( Symbol (), PERIOD_CURRENT , 23 , 0 , 2 , PRICE_CLOSE ); //--- return ( INIT_SUCCEEDED ); } void
I need help in mql5 2 dimensional arrays. what i want to achieve, kindly give me hint how to solve this task ? Double PointsToWait = 500; Double MyArray [] []; MyArray [0] [0] = Here we will save the ticket number of the previous open trade. MyArray [0] [1] = Here we will save the Open Price of
I have an EA developed in mql5 that operates in multicurrency. I would like to be able to program a different Comment() on the screen for each pair. I am not able to see the solution. Does anyone know how to do it? Many thanks in advance, Juan
Hi all, I grabbed an EA off market place which seems good a placing orders but I think could be improved with judicious use of a trailing stop. I know I can only add one EA per chart - so is it possible to: * Add EA1 to one chart - this paces the orders along with a fixed Stop Loss. * Add EA 2 to
  Scaling Out  (1)
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
hi i try to write a mql code to write macd of symbol for three timeframes in excel with filewrite command. but macd numbers in result excel file is only one-column and all macd data stored in rows. [ size of cells are 1000 x 1 for three time frames] but i want to stored each time frame in a column
Hi everyone, I need your help. I have tried my best to fix the code, but this error still keeps on occur. How to fix this? I have tried all the method mentioned below, but it seems still did not work. Volume limit reached problem when publishing the EA - Easy Trading Strategy - Expert Advisors and
[Deleted]
This code works by executing buy or sell orders after a predetermined series of candlesticks..the problem i have with it is if you input it should sell after a 11111...it will also sell after 111111 and then do so after 11111111 and do so after 11111111 and so on..id like it to do the 11111 and then
Hello. I have developed an EA. I send the important part of the code: OnTimer () { string url = "https://api.telegram.org/bot" + InpBotToken + "/getUpdates" ; int code = WebRequest ( "GET" , url, NULL , 900 , data, result, result_headers); if (code == 200 ) string message_text =
Hi, I need to set a pending order that calculate the entry and place itself exactly at 9am every day (Mon to Friday) I've set the following code, but seems that it is not opening anything. I have to backtest it so I'm not sure if I'm using the "system time" or the "backtesting time", not sure how to
I'm developing trading program in MT5, when I tested the strategy, whatever strategy I developed, it always execute an other order after taking profit or stop loss. Anyone know why and how to stop it, thanks very much for your help
Hi all! I need your help. I need load data from csv to EA MT5. This is signal for EA decide BUY/SELL. This is sample csv data: time trade_Symbol trade_Type rule_Choose kTP kSL ATR 1/4/2023 0:25 EURUSD Sell ASK25 < ASK02 2 1.5 0.000299294 Please help, or give more sugessttion. Thank you so much
I still have 4 activations left for the EAs I bought 4 weeks ago but the author got banned and his EA's are removed. According to the rules, even if the EA's are removed from the market for rent or sale, the purchased EA's are still in the account of the buyer and can still be activated until the
how to 'track' error CHistoryPositionInfo::HistoryPositionCheck > Error: the selected position is still open. Just don't know how to figure out where this is occurring and how to fix the problem. Should I be 'closing' something, somewhere Any pointers appreciated