指标源码:(指标需要通过自定义数据计算)趋势强度指标:ALL:=BLOCKSETNUM('上市65天');ALL1:=BLOCKSETNUM('上市65天创');ES:=EXTDATA_USER(20,0);二十日均线:=ES*100,COLORSTICK;二十日向上占比:ES*100,NODRAW,COLORRED;二十日向上总数:ES*ALL,NODRAW,COLORRED;STICKLINE(二十日均线>0,二十日均线,0,1,0),COLORRED;STICKLINE(二十日均线<REF(二十日均线,1),二十日均线,0,1,0),COLORGREEN;WS:=EXTDATA_USER(21,0);五十日均线:=-WS*100,COLORSTICK;五十日向上占比:WS*100,NODRAW,COLORGREEN;五十日向上总数:WS*ALL,NODRAW,COLORGREEN;STICKLINE(五十日均线<0,五十日均线,0,1,0),COLORGREEN;STICKLINE(五十日均线<REF(五十日均线,1),五十日均线,0,1,0),COLORRED;M:25,COLORBLUE;N:75,COLORRED;M2:60,COLORRED;M3:0,COLORBLUE;M1:-25,COLORBLUE;N1:-75,COLORRED;二十日均线:二十日均线上:IF(REF(MA(C,19),1)>REF(MA(C,19),2)
AND MA(C,19)>REF(MA(C,19),1)AND REF(MA(C,19),2)>REF(MA(C,19),3) AND V>1,1,0); {生成20日线上横向数据};总数:IF(V>1 {AND
FINANCE(40)/100000000>25},1,0);二十日均线1:二十日向上:INSUM('上市65天','二十日均线',1,0)/INSUM('上市65天','二十日均线',2,0); ②对历史新高新低值的统计,出现极端值也可能是市场阶段底部