Codes

Simple check open orders filter boolean function for Expert Advisors for MetaTrader 4

This is a simple boolean function for the EA to detect if there is any previous open market orders without using the "OrdersTotal()" built-in function which might cause the EA to calculate positions not opened by each specific magicnumber provided by the EA

Code for counting open orders by Order Type individually for MetaTrader 4

This is an Expert Advisor code for counting open running orders for each type: OP_BUY or OP_SELL

Forum

Question about Freelance notifications for developers

Is it possible to configure the Freelance notifications for developers in order to receive the notifications of new jobs only in the desired and selected language? For example, I am brazilian and I would like to receive in my MetaTrader app only new jobs of portuguese speaking costumers. Is it

Question about the Freelance section

Is it allowed for the developers who bid to a project to send the potential costumer, via the freelance chat , the link his official personal profile page on MetaQuotes so the costumer can get to know about his past jobs done on the platform and also his experience in past indicators or expert

How to get the returned datetime value of the session beginning and end time of a specific symbol?

The SymbolInfoSessionTrade() function seems to, somehow, help to find these values by comparing them. But the MQL4 documentation provides no examples in order to understand better how to execute it. The other MARKET_INFO ou Symbol_Properties also give no options to get the session beginning and end

How to plot different Close prices of different timeframes on a MQL5 Indicator?

Hi. I am struggling on how to create a way to plot on the main chart lines showing the close prices of different timeframes in an indicator made on MQL5. Any tips? How to create an array to fill it with the close prices of different timeframes

Withdrawal suspended because of third-party links on comments of my products (but I cannot delete the comments!! Please, help)

My withdrawal is suspended because I had added third-party links into my two products descriptions and also to their comments. Then I removed all the third-party links in their descriptions, but my withdrawal is still suspended. Then I concluded it's because in the comments of my two products there

What are the calculations to create a "currency strength" indicator or EA?

Is there an existing article or code or even an open code pinescript in which we can understand the mathematics and logics behind the concept and practical use of the so-called "currency strength" in a way possible to reproduce it in EA's or indicators

How does the Market Products (EAs and Indicators) rate?

I have researched, but still did not find how it really works the "rating system" of the products listed on the MQL Market. Like, is there a "SEO" system or rules to understand how the organic traffic works to increase or decrease a product rating

How to code degub/profile on the MetaTrader 4?

MetaTrader 5 has the Debug/Profiling section on its Options at the taskbar. But the MT4 does not have it. So how to code debug/profile and have same or similar details and results as using the Code Profiler but on the MT4