Reply

MAX Function limited to 2 – looking for MAX LIST function to do more than 2

4 replies

eto

Customer, bbp_participant, community, sq-ultimate, 16 replies.

Visit profile

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

0

eto

Customer, bbp_participant, community, sq-ultimate, 16 replies.

Visit profile

9 months ago #283118

To be specific i’m looking for max list when i am creating Custom block.

Optimistic

0

eto

Customer, bbp_participant, community, sq-ultimate, 16 replies.

Visit profile

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

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

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

0

eto

Customer, bbp_participant, community, sq-ultimate, 16 replies.

Visit profile

9 months ago #283140

Thanks Tomas

Optimistic

0

Viewing 4 replies - 1 through 4 (of 4 total)