Expert Advisors and Automated Trading

Let's look at the results of the tests on one and a few characters. The tests will be conducted in All ticks mode. You can use your own multisymbol EA schemes to reproduce the problem and share your results. Let us denote the problem. For example, if you test one symbol, the test time takes 1
Hello, what happened to http://ec.forexprostools.com/ this link is not commercial neither advert I dont see why moderator should delete it. I am trying to access the rss news feed on the link above but I am getting " You don't have permission to access / on this server. " what is the new alternarive
Good evening, I am trying to create my own expert advisor for the U.S. indices, I have implemented various controls and they seem to work well, such as whether a symbol is valid, whether the market is closed or open, the program shows me the moving averages and RSI correctly but when it tries to
Hello, i have problem with my ea. I have more order limit at level price. But EA creat many order with duplication price. I want count order price at level. And I will filter order duplication. How to fix? int OpenSellOrders( double Level) { int sellorders= 0 ; int selllimit= 0 ;
I am trying to get a total count of buy (open buy + buylimit + buystop) and sell (open sell + selllimit + sellstop) orders at a particular price level. The following function code seems to get the count correctly in some instances but shows a zero count in other cases. I am not able to figure out...
Hi friends Please I have an indicator which have 3 buffers. The 3rd buffer should return EMPTY_VALUE for buy condition OR same value as second Buffer in sell condition. But in strategy tester, the indicator constantly returns thesame value for first and second buffers. Please help me take a look
Why is it i failed the validation for OrderSend due to invalid trade volume but i am able to send orders in the strategy tester
A must ! Before using it or asking any question : please read the Online Help (Also accessible by F1 on your MT5 platform) Strategy Tester For Traders General overview of the possibilities. Overview of results : Visualize a Strategy in the MetaTrader 5 Tester The general information about
i have an EA that continuously loose money what should i do to inverse it effect
hello every one I failed to write code that enables me to close all opening orders and pending after achieving a specific profit on a specific symbol and need to make that profit as a variable
What is MQL5 Wizard : The MetaTrader 5 Trading Platform includes the MQL5 Wizard , which allows to quickly generate code of an Expert Advisor (Expert Advisor builder). With MQL5 Wizard, knowledge of programming languages is no longer a prerequisite for creating trading robots . In the past, it
Hi, I observe weird behavior on this method. There are cases that I can reproduce every time but also there are those which seem like random... Package version: 5.0.36 OS: Windows 10 NOTE: I have deals on every (working) day in last 30 days, so there should be a lot of deals listed. Observed
Hi, I'm traying to add ONNX models without using resource (because I want to add them to the parameters input). Is there any way around to make this possible
My goal is to create some code that I can add to me EA. I would like the ability to have my EA trade the Asian session, the London, Session and the New York Session. Sometimes I might only want it to trade during the London or New York Sessions. I am very new to coding. If anyone could take a look
I’m looking for a function that returns if the last trade was a win or lose trade. In other words, if the price hit the take profit or the stop loss of the last trade. If someone decide help me, so, PLEASE, give-me a function that you have sure that work correctly, because I’m not programmer and I...
Can you tell me if this is a realistic tester figure? And is this a good or bad result for a year with a deposit of $3,000
Does anyone know if there is software available that allows for MANUAL backtesting in MT5? I know MT5 has the Strategytester to backtest automated strategies but I would like to test Semi Automated strategies where I manually place discretionary trades. I was looking for something that does chart
Hi, while backtesting, there are tons of messages that I don't need: - order performed - deal performed - position modified - stop loss triggered - market buy - market sell - deal #100 done - etc. If there are 100 of the above messages every second, it is difficult to keep track of the important...
Hi, I've come to a bit of a hiccup. In 1 of my programs, I need to make automated chart screenshots. The function for that is: ChartScreenShot(chartId, fileName, ss_width, ss_height, align_mode); Prior to that I ChartNavigate to some time in history, where bars_navigated is much larger than...
The DD% in the tester optimization is "Equity DD% Maximal", but I want to see "Equity DD% Relative", what should I do? please help, thank you
When i try this code to get the number of events; It doesnt give any results in strategy tester but it works in real data. Why doesnt it give any data in the backtest? How can i fix my code? Thanks void OnTick () { datetime start_of_day = iTime ( _Symbol , PERIOD_D1 , 0 ); datetime end_of_day =
Hello. I have code that opens a file using int file_handle = FileOpen (file_name, FILE_READ | FILE_COMMON | FILE_TXT ); ...... FileClose(file_handle); If I run it with optimization disabled and visual mode disabled, it runs fine the first time, but after that any additional runs return
I have an EA as below. I want: - limit the number of ending order = 20 (EA place ~200 order) - When there is a profit of 200 points (20 pips), shift the SL and TP by 20 pips (using CheckAndAdjustProfitableOrders () and ModifyPosition ()) - At the same time, close half the volume of active position
Hi all, My funtion: double ProfitCheck(long const magic_number){ double profit=0.0; HistorySelect(0, TimeCurrent()); int trades_total = HistoryDealsTotal();   for(int i=0; i < trades_total; i++)     { long ticket = HistoryDealGetTicket(i); long...
  Help open parenthesis expected  (22   1 2 3)
I have no knowledge of coding yet while compiling an ea i managed to reduce the 15 errors to just 2, both are the same '' 'if' - open parenthesis expected '' and when i click on this error it leads me to this point in the code which i cannot rectify void tick22() {if {tick22==true} { and
  MQL VPS Service  (7)
Hi, I'd like to have few infos about how that service work. I found it very convenient as you can set it up on the fly with no login on a server etc. But ... The terminal I used to sync it on : Once migration done, is it still connected on my side ? If it's still connected do I have to...
Hello I have this problem, can someone helps me to fix it? Thanks
Hi I am a newbie who doesn't know how to write the code properly and found this kind of error using ai, please help fixing this I am hopeless TT Error logs & MQL5 Respectively Description File Name Line Column 'SELECT_BY_POS' - undeclared identifier Lastone.mq5 168 29 ' OrderSelect
Hi, is there a way to let a bot trade looks like a manual trade in mql4 and/or mql5? Somebody told that there is a "self" or "shelf" attribute when you place a trade with an EA but I didn’t find anything a out that. Thanks for any hint
Hi Everyone, I am having issues with the method PositionSelectByTicket (ticket_id); After I open a new position (ctrade.Buy) and a few lines later call bool res = PositionSelectByTicket (ticket_id); it returns a false. But the position is sitll there and it is visible in the table. Any ideas how I