Hi, hhvbars(v,20) reply with no of day's from highest volume day but i need no of day's from second highest volume day. If you know how to write afl code for this , pl. Reply .... Happy trading, garry.