Expert Advisors and Automated Trading - page 10

Good afternoon, community members. I am developing an EA that exclusively trades the EURUSD pair. The strategy involves opening a new position to average the price whenever the price moves against the current position. This part is working perfectly. However, I am facing difficulties with the
I have roboforex account, can you explain how I can copy my account at IC markets, and what about spread, on IC markets I have better spread, do both trades close at the same time? I use MT4
//+------------------------------------------------------------------+ //| ma.mq5 | //| aniruddha | //| https://www.mql5.com |
I had a broker and account in MQL5. It wasn't an issue to transfer money in but when I tried transferring money out from MQL5 back to Coinbase. My wallet was totally wiped out. I traced the transaction hash and can see another wallet other than mine that it was transferred to. How can I file report
Hello! I like to change the lot size of the following MT5 EA ExpertMAMA-mq5. Does anyone have a idea how i can adjust the lot size? Many thanks for your support! Kind regards, Frank //+------------------------------------------------------------------+ //|
In general, my performance with backtesting and optimizing got worse and worse since I started with MQL5, but for some reason, since 2 days, some cores have just been disabled out of nowhere and get auto-disabled when I enable them again. Today, when I tried to optimize something, all my cores got
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...
I have created a custom symbol using CustomSymbolCreate(). The sole purpose of this symbol is to create a chart that will be used for displaying data, so I am not interested in any tick data. When I run my EA, I switch to the new symbol using... ChartSetSymbolPeriod ( 0 , "MySymbol" , PERIOD_M1); My
I have 8 Core with 32GB RAM, still get this error. 2024.07.26 18:10:35.495 Core 1 not enough available memory, 11500 Mb used, 16322 Mb available, maximal available block is 16322 Mb How can I handle this? Thanks and regards
Hello fellow traders, I'm running optimizations on an EA I'm currently developing and when I backtest on a 4 years period from 2020.01.01 to 2024.01.01, this is the results I get: And when I backtested it on a 3 years period from 2021.01.01 to 2024.01.01 here are the results I get: I don't
Hi, I have a MQL VPS bought recently. I am using an EA which requires an indicator. When I setup the chart and try to upload it says, 2024.07.25 14:06:44.504 Terminal ' ': 0 charts, 0 EAs, 0 custom indicators, signal disabled, last known ping to Access Server - Singapore is 2.35 This indicator
Hi guys, i have this code: bool PriceMovedFar() { double distance = 0.0; double pipValue = SymbolInfoDouble(_Symbol, SYMBOL_POINT); distance = (price2 - price1) / pipValue; return distanceInPips > 50 ; } if i use this code in usdjpy, that function return true as soon as the price moves higher
Hi I like to copy my trades from an account to other. But I already use an EA with specific HotKeys. Is there a technical solution to copy the trade between accounts to this situation
Hello, Can I use the zero value of a magic number in a EA to control the manual trades I opened? thanks GL
i have an EA that continuously loose money what should i do to inverse it effect
Hello All, I'm sure the answer is buried deep within this forum and I have attempted to look just didn't find anything I might be able to use. Well any ways. Here is what I am trying to do. Basically once an order is closed I want the take profit booleans to be set back to false that way the current
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
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
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 ;
Hello, i have a very simple strategy based on 3 indicators that i would like to turn into an EA for better Backtesting and trading if it turns out to be profitable. My problem is that i cant code at all so im looking for someone who maybe would code this for me. I think it would not take too long to
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
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
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
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
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...
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...