Codes

Heatmaps, color gradients and scales in MQL5 for MetaTrader 5

The purpose of the present code is to demonstrate how easy it is to create color scales, color gradients and heatmaps with the MQL5 language and functions

Simple Display Panel for MetaTrader 5

The code is designed to be a simple reference of how to create movable (drag) panels and populate it with information

Forum

WebRequest broken in build 1860?

Hello, I have been using WebRequest function to send/receive data to a server and all was running perfectly before updating to MT5 build 1860. After the update the function somehow stopped working. Does anyone have the the same error ? Can anyone please confirm this? Regards, Malacarne

FrameAdd using data file

Hello all, According to the MQL5 Official Documentation, the FrameAdd function can be called using two different sets of parameters. The second one is actually easy to handle, as passing the data to an array is quite simple. However, I'm interested in the first method, where, according to the Docs

Academic research about trading

Hello everybody, I would like to open this topic to discuss academic research papers and articles about all aspects of trading. When posting about the academic research, please don't forget to inform: 1) Authors 2) Publishing date 3) Abstract 4) Link to the paper / article Finally, it would be

How to protect your strategy from a "disaster scenario" ?

Yesterday I was reading a very interesting article (see link below) about a "disaster simulation" by a major stocks / options eschange in the United States. While reading the article I was intrigued by how concerned exchanges are in providing continuous access to operations within the stock

Webinars: do you think MQL5.com should have this feature?

Yes No Show me the answers / what are webinars

What bar types do you think should be included in MetaTrader 5?

Tick bars Volume bars Range bars Renko bars Nothing should change Other (please specify) / Show me the answers

What asset classes do you trade?

Forex Stocks Futures Options ETF's Bonds Other (please specify) I don't trade || Show me the answers

Matrix dimensions

Hi, suppose I have a matrix defined this way: #define DIMENSION_2 1 //--- Inside OnTimer( ) double matrix[][DIMENSION_2]; If I want to set the first dimension of the matrix, I can simply use, for instance, ArrayResize (matrix, 4 ); However, how can I change the second dimension of the matrix? Is

Upgrades and number of available installations for products

Does anybody know if a product upgrade affects the number of available installation for products, like indicators, for instance? Thanks in advance, Rodrigo

Can an indicator get best ask/bid volume in real time?

I'm trying to create a simple panel/indicator that retrieves the best ask volume and the best bid volume in real time... However, after reading the MQL5 docs I found the information that OnBookEvent( ) works only for expert advisors, but not for indicators. Even setting OnTimer( ) to 10 miliseconds