Hi i have a code and i use this library https://www.mql5.com/en/code/16006 with this include #include <MT4Orders.mqh> // if there is #include <Trade/Trade.mqh>, add this line AFTER that #include <MQL4_to_MQL5.mqh> // ONLY for this example in apart of my code string formatOrderArrowInfo( int ticket)
Is it possible to use multiple indicators in the strategy tester? I am testing an expert advisor where manual orders can be opened, I want to add another indicator that I have bought in the market during the test If it is possible, how do I do it
Hello everyone, Moving from mql4 to mql5, I'm trying to code a simple EA to know about mql5 (coding an EA with MA5 and MA20 cross). But i'm very confuse to place an order buy (or send) by OrderSend and OrderSendAsync. Anyone can share to me a example about place order on mql5, please ? Thank you so
I have been studying Renko charts and their implementations in EA for a long time. Is there anyone here who does the same thing, what are the results? I would like to discuss Renko EA
Hello! I need a program that opens a position when the candle closes below or above the line placed on the chart. For example: if you close below or above the neckline of a double top or double bottom, you open a position. Simply put, a pending order to close the candle. Main points: - Work on
I'm trying to run some code if in a tester optimization. My code below doesn't seem to work and MQLInfoInteger(MQL_OPTIMIZATION) seems to be false. The function is called from OnTesterPass. Should that make a difference? Cheers E void WriteTestResultsToFile( string & parameters_list[], int pass
Hello Traders and Programmers ,I am trying to get started with python from the Metaeditor but i keep getting an error message due to numpy version compatibility. Here is the exact error message: "A module compiled with NumPy 1.x cannot run on NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
Hello friends. I have now completed an expert I am working on. Expert has a lot of variable input data. I have to do serious optimization and it takes an incredible amount of time to optimize all the input data. For this, I bought a VPS that is a little better than my own computer, but the
My problem is the following : Even after create a python script into the MQL5 IDE and select the MetaTrader 5 library into my script I receive the following error ModuleNotFoundError: No module named 'MetaTrader5' can somebody help me with that problem
Hi every one. if any one can help me , i would be really happy and thankful . i want to set slippage in mt5 and also i used both order send and ctrade but for both of them there is no option to set the slippage, also i found the function Mytrade.SetDeviationInPoints() but it still does not control
hi vereyone How do I make profit appear above the candle? can anyone help me to get this code plz
HELLO, I have recently bought the ai gen xii ea, I'm trying to use the mt4 vps I have purchased the monthly plan for 15 dollars, under the cpu tab it says 0% being used but under disk and the network thing it gives regular readings, and the ea itself doesn't use dll I think but uses the api thing, I
hi, i am a junior developer and i have a question i have a Expert advisor that is run on a live account on my VPS , in some cases i need to trade manually for example opening a position , closing , adjust tp or sl , placing pending orders ,... so i want to do these things from my mobile or my pc (
below is my code for a simple panel using CAppDialog class. the problem is when change pairs this panel gets minimized automatically. for example, let's say I loaded this to EURUSD and I switch to USDJPY and comeback to EURUSD, I can see only a minimized panel. I don't know why this happens? is
I decided to ask here before taking some action with having a new EA written or modifying my current one. Basically my EA that I had developed and converted to MT5 gets its buy/sell signals from an indicator, and to determine TP and SL, it gets some info from the objects the indicator displays on
I ma looking to make an EA,based on bullish or bearish fakeout candles, any past works are highly appreciated
Cant seem to figure out why I am not getting a good response from the mt5. 2024-10-11 08:42:42,641 INFO worker.py:1786 -- Started a local Ray instance. Initialized MetaTrader 5 (downloadasset pid=16728) Fetching data for ticker: GBPJPY (downloadasset pid=16728) No data available for GBPJPY. Error
Hi. I have a farm of 20+ dedicated 24/7 strategy tester agents and I would like to sell this service to users for testing their strategies. Is this possible ? Regards Denny
I conclusion, Yes it is possible to do that when using visual mode. In MT4 you can just drag the indicator over the chart and drop it. That way the Custom Indi will work simultaneously with the EA. For me this is extremely important because we use the indicators to save information in the global
Test report returned the "tester agent authorization error' on a second symbol indicator being applied to.. I have used OpenCL commands and the indicator works quite fine on my pc although it is a bit slow for longer charts. It has its own 3 temporary buffers, and it shows on a separate chart two
Hi Everyone I'm on develop my EA for RSI and i got 1 issue, when i print this code i found that RSI = 10 all the time #include <Trade\Trade.mqh> // Include the trade functions input int RSI_Period = 14; // RSI period input double RSI_Buy_Level = 30.0; // RSI level to buy input double RSI_Sell_Level
I only ran two backtests simultaneously, which resulted in 8GB of memory consumption
Hi, I going to complete this function to draw closed positions user added to chart. two type of positions we have here : those that opened and pending orders that deleted by user. I have position ticket of all positions in array Closed_order_list[].ticket. problem is for pending orders that never
Hello, there is an issue with the strategy tester where, when I run the backtest with a multi-symbol EA in 1 OHLC, the trades are correct if I run it in visual mode. However, if I run it without visualization, the results are different, and from debugging, I noticed that it does not correctly load
Hi all, I'm using OrderCalcProfit() funciton but I don't understand how it works. I opened and immediatly closed a sell position on Gold (CFD-leverage). Size 41.13 Open 2.617,73 Close 2.670,60 The result is a loss for 1.021,46 Euros. Then I immediatly use OrderCalcProfit() function with same inputs
Hi i have this part of mql4 // Bid and Ask prices for the instrument of the order. double BidPrice = MarketInfo(OrderSymbol(), MODE_BID); double AskPrice = MarketInfo(OrderSymbol(), MODE_ASK); i want convert to mql5 , how can do it ? i find double BidPrice = SymbolInfoDouble( but
hi Is it possible in mt5 to develop and test second based interval strategies? For example an expert advisor which runs on 10 seconds time frame
I have run into an intermittent problem with the OrderCalcProfit() function, can anyone help me see what might be causing it? I am using OrderCalcProfit() to determine the lot-size of a position such that it has a given risk based on percentage of my account. e.g. I want each trade to lose 0.5% of
Hello. Kind regards to anyone who might read this. I would like your help. My EA compiles without errors, but when I backtest it, it does not open trades automatically. Can you please help me fix this? So that I can open the trade when the conditions are met? Thank you in advance. #include
Hi people, this is my first post and I'm starting right away with questions. I've done some EAs with the help of YT and, documentation and chat AIs, but nowhere can I find an answer to the question of how I should create working code so that my EA can run on the same Timeframe and Symbol at the same

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.