Forum

Why MQL5 reference material is so damn confusing?

I am an experienced EA programmer (100+ working EAs) and not so novice indicator programmer , and this is just a outbusrt. Everytime I try to learn or re-learn something in MQL5 I face the worst possible reference/help explanation text with worst possible reference/help examples. I have been trying

Get an Array out from a Structure

I would like to get an array of last tick info from a MqlTick strucure to use with ArrayMaximum. I gey the MqlTick array/structure with CopyTicksRange, but I do not know how to get an array with only the value of the last ticks out of the complete structure... MqlTick tick_array2[]; datetime now =