MAX Function limited to 2 – looking for MAX LIST function to do more than 2
4 replies
eto
9 months ago #283117
i notice in Algowizard there is MAX function however it only can use for maximum 2 values. However i can’t find MAX list function which can use multiple values more than 2 maybe 5 or 7. The reason is to compare max list of high/open/low/close of 5 or 7 days.
Please help how to do this ?
Thank You
Optimistic
eto
9 months ago #283118
eto
9 months ago #283119
RangeFor7Days = maxlist(highd[1], highd[2], highd[3], highd[4], highd[5]highd[6],highd[7]) – minlist(lowd[1], lowd[2], lowd[3], lowd[4], lowd[5],)lowd[6],lowd[7]
above is the logic. need help how can i do this.
Optimistic
tomas262
9 months ago #283132
Hi,
you can nest the Max function. For example Max(Max(A, B), Max(C, D) to get the maximum value of those four values
eto
9 months ago #283140
Viewing 4 replies - 1 through 4 (of 4 total)