General - page 49

I am using MT4. But I am finding myself in need of using MT5 also and it seems I cannot use my old templates and indicators, as M5 cannot see them (properly). Could you please help and let me know how to do so, successfully ? Thank you
I don't know weather this is a problem or not. I just don't have enough experience working with class functions to know. For example CPositionInfo sets Magic as a long. class CPositionInfo : public CObject { protected : ENUM_POSITION_TYPE m_type; double m_volume; double
I have no idea why the following code doesn't close the deal at the specified point. It opens the deal correctly but doesn't close it. Here is my code. I appreciate your help in advance: //+------------------------------------------------------------------+ //|
hello everyone I have an indicator where I want in input through the logs I need to get out the indicator buffers I already have a void that via a for automatically adds the buffers to the various features so I ask you for this trivial problem for accuracy I would need that the output would be
Quite complicate for me to coding this kind of function. Someone has knowledge please help
Please take a look at this picture, which is an indicator in pine script that I wrote myself. And I used it to trade XAU with very good results. If anyone can help write an EA, I'll send you the Code pine script and I'd be very grateful. Please contact me directly
//+------------------------------------------------------------------+ //| ATR_Trailing | //| Generated for MetaTrader 5 | //+------------------------------------------------------------------+ #include
I am looking for opportunities by sector. According to them, I can then select shares using the screener. I have a problem with loading data into indicators: only the current symbol from the chart is always loaded. The exception is when I close MT5 and then open it - that's when all the indicators
Hello? why am i getting the constant value of ema 20 50 and 100 as ema 20 = 10 ema 50 = 11 and ema 100 = 12?? //+------------------------------------------------------------------+ //| EMA Bot | //|
Is there a way to connect the Metaeditor (User Guide) API to see if it has an API? reference work An API connection would be extremely helpful to me. Does anyone know of such a possibility
  Copy trading  (4)
I copied the trade, and I had previously opened orders myself, so when the copied orders are closed by my expert, will it result in my previously opened orders being closed. Tks
The practice of backtesting and optimizing strategies is fundamental for developing an effective trading system. Let's discuss the best tools and software for backtesting, and techniques for optimizing strategies. Which software do you use for backtesting? How do you ensure that the backtesting
In MT4, you can create horizontal lines using objects. These horizontal lines can be specified up to 6 decimal places. Changing the subject, in the USD/JPY chart, the value of digits is 3. However, when drawing horizontal lines, it can be specified up to 6 decimal places. Why is this? I would like
Hi, I am getting following errors Test report for version 6.2 Validation state: Validation completed with errors Errors count 1 Started 2024.05.25 03:45:24 Finished 2024.05.25 03:46:05 Type Expert Advisor test on EURUSD,H1 there are no trading operations test on NZDUSD,H1 there are no trading
Hello everybody, I'm using an EA which is working based on hedging strategy. Everything is OK and it's profitable, but sometimes it opens a number of positions because of market situation. Although I set the EA that be able to open up to 50 positions, due to balance of the account it's limited to at
Hi everyone, I'm looking for a way to access the MetaEditor handbook via an API. Does anyone know if there's an API for this or another way to programmatically retrieve the content? Thanks for your help
Hi Team, I can not login to account due to lost iPhone and can not receive code verification. Please help me. Thanks
I am a new seller and I have uploaded my MQL4 indicator to the market and also published it. But I don't know when I try to download it but it became an EA in my MT4 Market EA. Anyone can help
  Please help  (2)
In the following code the EA is working perfectly fine if I drag it into the chart But in the strategy tester it shows the previous bar high and low and not the daily (tested on the 5M chart)
Hello, I wrote a very simple EA that opens a trade when there is a difference between 2 EMA's. All seems good to me except it does not open any trades on mql5. Here is the code: #property strict input int EMA_50_Period = 50 ; // EMA period for 50 input int EMA_200_Period = 200 ; // EMA period for
I was using the strategy tester and I noticed that it does not follow the first in first out rule that we have to in the US. Is there a way to have that included in future versions. Thank you
The ''Market Watch" is a section of MT4/MT5 which shows all BID/ASK prices and allows you to view instruments, place orders, open charts etc. In order to see all instruments available for trading, please right click in the Market Watch window and select 'Show All'. To manually add the instruments
Hey All I was watching multiple tutorials on youtube about creating lines (objects and stuff). The problem now is i cant change the color in my last EA practice script. The lines stays red and i had this problem last week for the first time with another tutorial. First i thougt i did something
Hi i read this https://www.mql5.com/en/book/applications/events/events_mouse in this paper say exist this file ,i suppose in metatrader 5 , but i not find EventMouseWheel.mq5 or EventAll.mq5 anyone have this file ? thanks
Hi everybody. I just learned to code about EA on MT5. Is there any advice for me? And can you provide structured study tips
When optimizing ea in MT5 strategy tester for the best results for inputs into ea - MA, RSI, TP, SL, Trailing, etc. for the previous 3 weeks (as an example) on Slow Complete algorithm, do optimizations results skewed towards the end of the 3rd(last) week of the optimizations period or results
[Deleted]
This will be used to see if the slave account (myfxbook) has the same performance as the master one (mql5). This allow you to spot any significant difference between the two accounts. In case the discrepancy is too big and not in your favor you might want to stop copying the signal. The only purpose
Hi, I did rent an ea from the market and for testing purpose i used to install it on my laptop. now i want to run it on my vps on a demo account but unable to install the ea on demo account on VPS on pressing install it does nothing what is to be done ? Thanks ckm
Hi, wenn I test sending a notfication from my MT5 Terminal on Windows to my mobile MT5 on Android, it works without problems. When I try this via mql5 code, I get 4014 error code. Does anyone have idea where the problem is? MQL5 code: bool result = SendNotification("test"); if (result) Print
Hi, I am using MT4 with Pepperstone and I would like to use python to retrieve all the infos from my trading account like open orders, order history, profit/loss etc. Thank you