Forum

array out of range - Top/Bottom

I have a problem. I want to put in my EA as Stop the last bottom, or the previous one, or the same for the top. But when I run the EA, it gives the error " array out of range ". what am I doing wrong? double top =0; double bottom=0; double lasttop =0; double lastbotton =0; MqlRates candle[];

I need to group several optimizable inputs into a single input.

Good night. I have the following demand , where I need help. I have several boolean variables, which I would like to summarize to an int variable in an easier way than the example below, after all there are dozens of variables. For example: input int varSingle = 0 ; //optimizable parameter bool