Forum

Get elements in an array

I would like to increment in the array. For instance, if the low of LF[0] is greater than the low of LF[1] then increment to LF[2]. And how do I draw a trendline from one element in the array to another. //+------------------------------------------------------------------+ //|

Array out or range

Hello, I am new to programming and I am trying to learn. I get an array out of range error, can someone please tell me what I am doing wrong. #property copyright "Copyright 2020, YarnnyArmy" #property link "https://www.mql5.com" #property version "1.00" #property strict int LowerFrac_1; int