选出蕞强板块 强势板块公式源码分享

N:=20;
板块涨幅:=(HY_INDEXC-REF(HY_INDEXC,N))/REF(HY_INDEXC,N)*100,COLORRED,LINETHICK2;
大盘涨幅:=(INDEXC-REF(INDEXC,N))/REF(INDEXC,N)*100,COLORGREEN,LINETHICK2;
强板1:=板块涨幅>大盘涨幅;
强板:BARSLASTCOUNT(强板1);