老师好! 当能量指标出现红柱时,做个选股公式 源码: VOLUME:VOL,VOLSTICK; MAVOL1:MA(VOLUME,5); MAVOL2:MA(VOLUME,60); AA:=SUMBARS(VOL,CAPITAL); 倍量红:=VOL>=REF(V,1)*1.91 AND C>O; 地量绿:IF(CAPITAL=0,AMOUNT=LLV(AMOUNT,34),VOL0) ,LINETHICK0; 天量黄:IF(CAPITAL=0,AMOUNT=HHV(AMOUNT,34),VOL>MA(VOL,AA)*33/10),NODRAW; STICKLINE(倍量红,VOL,O,2.5,0),COLORRED; STICKLINE(地量绿,VOL,0,2.5,0),COLORGREEN; STICKLINE(天量黄,VOL,0,2.5,0),COLORYELLOW;
爱约股解答:
VOLUME:=VOL;
倍量红:VOL>=REF(V,1)*1.91 AND C>O;