在0轴上同时出现红柱和白柱的选股
2019/12/5 18:05:00
公式编写说明:
{犀牛}VAR1:=MA(AMOUNT/(100*VOL),5);VAR2:=MA(AMOUNT/(100*VOL),13);VAR3:=MA(AMOUNT/(100*VOL),34);VAR4:=DMA(CLOSE,VOL/CAPITAL);VAR5:=WINNER(CLOSE)*100;VAR6:=100*VOL/CAPITAL;成交额:(CLOSE-VAR2)/VAR2*100,LINETHICK,COLORYELLOW;Y0:=ABS(WINNER(C)-WINNER(OPEN))*70; Y7:=IF(VAR5>=90 AND VAR6<3,15.82,成交额); {控制}高:=MAX(MAX(成交额,ABS(WINNER(C)-WINNER(O))*70),15.82);低:=MIN(MAX(-成交额,-ABS(WINNER(C)-WINNER(O))*70),-15.82);STICKLINE(C>REF(C,1),0,Y0,3,1),COLORRED; STICKLINE(C<=REF(C,1),0,Y0,3,0),COLORCYAN;STICKLINE(成交额<=0,0,成交额,2,0),COLOR005C00; STICKLINE(成交额>0,0,成交额,2,0),COLORBLUE;STICKLINE(CROSS(C,VAR3),0,15.82,2,0),COLORRED; STICKLINE(CROSS(C,VAR4),0,15.82,2,0),COLORRED;STICKLINE(CROSS(VAR2,VAR4),0,15.82,2,0),COLORRED;STICKLINE(Y7>0,0,Y7,1,0),COLORWHITE; STICKLINE(Y7<=0,0,Y7,1,0),COLORWHITE;
公式源码示例:
VAR2:=MA(AMOUNT/(100*VOL),13);
VAR3:=MA(AMOUNT/(100*VOL),34);
VAR4:=DMA(CLOSE,VOL/CAPITAL);
VAR5:=WINNER(CLOSE)*100;
VAR6:=100*VOL/CAPITAL;
成交额:=(CLOSE-VAR2)/VAR2*100;
Y7:=IF(VAR5>=90 AND VAR6<3,15.82,成交额);
Y7>0 AND (CROSS(VAR2,VAR4) OR CROSS(C,VAR4) OR CROSS(C,VAR3));
看股吧公 式 www .kanguba.com
其它股票公式列表