Forum

String Array example in MQL4 book

https://book.mql4.com/variables/arrays I am working through this example in the book. The website code is reproduced for your convenience however it differs from the download code stringarray.mq4 I believe both examples are erroneous. Is this book even a good way to learn MQL

GlobalVariables for Client Terminal

My question is based on this lesson in the MQL4 book. https://book.mql4.com/variables/globals The code used in the example is reproduced for convenience //-------------------------------------------------------------------- // globalvar.mq4 // The code should be used for educational purpose only

Finding and marking the largest range within the previous n periods

Just to clarify I am asking for coding help (to learn) more than a quick fix for this particular issue. I am modifying an existing indicator that marks any range larger than a minimum value (minRange) over a lookback period. I want it to mark only the largest range of the lookback period. So I

Elementary array question

I apologize for asking such a basic question but of course documentation does not help since my question is why this does NOT generate an error, when I think it should. //you can also assign array values at declaration int myArray2[ 3 ] = { 1 , 2 , 3 }; //recall that array indexing begins at

Activations on the MQL5 market

I've noticed an odd tendency for market sellers to have the same number of activations listed for each of their products. However there is a unique number for the number of demos downloaded. So does the 'activations' number beside a marketplace product include that user's lifetime activations for

Possible loss of data due to type conversion (warning)

I've consulted the article on casting, https://www.mql5.com/en/docs/basis/types/casting and seen some other responses on this forum, but this particular instance seems different, possibly because it contains an array? The affected line is highlighted. You can see that TradeList and ctTrade have

Small arrow next to 'for' keyword

As I'm typing into the metaEditor I noticed a small arrow flashing next to the 'for' loop operator. What is its significance

How do I report spammers?

The amount of spam that I get through the MT4 terminal is becoming a distraction for me. I would like to see MetaQuotes corp. taking some steps to cut down on spam registrations. For example most of the spam comes from users who have only recently signed up. How can I help flag and identify these