九毛八公式指标
要求:5日内三线金叉并多头排列的选股公式! 源码: N:=21; JJ:=(H+L+C)/3; JJJ:=SUM(JJ,5)/5; VV:=IF(C>JJJ,VOL,0-VOL); LDJ:=SUM(VV,N); STICKLINE(LDJ>=0,0,LDJ,3,0),COLOR000011; STICKLINE(LDJ>=0,0,LDJ,2.5,0),COLOR000033; STICKLINE(LDJ>=0,0,LDJ,2,0),COLOR000055; STICKLINE(LDJ>=0,0,LDJ,1.5,0),COLOR000077; STICKLINE(LDJ>=0,0,LDJ,1,0),COLOR000099; STICKLINE(LDJ>=0,0,LDJ,0.5,0),COLOR0000BB; STICKLINE(LDJ<0,0,LDJ,3,0),COLOR222200; STICKLINE(LDJ<0,0,LDJ,2.5,0),COLOR333300; STICKLINE(LDJ<0,0,LDJ,2,0),COLOR444400; STICKLINE(LDJ<0,0,LDJ,1.5,0),COLOR555500; STICKLINE(LDJ<0,0,LDJ,1,0),COLOR666600; STICKLINE(LDJ<0,0,LDJ,0.5,0),COLOR777700; LN1:SMA(LDJ,3,1),COLORWHITE; LN2:SMA(LN1,3,1),COLORYELLOW; LN3:SMA(LN2,5,1),COLORFF00FF;
公式模块:
N:=21;
JJ:=(H+L+C)/3; JJJ:=SUM(JJ,5)/5; VV:=IF(C>JJJ,vol,0-VOL); LDJ:=SUM(VV,N); LN1:=SMA(LDJ,3,1); LN2:=SMA(LN1,3,1); LN3:=SMA(LN2,5,1); A1:=crOSS (LN1,LN2); A2:=CROSS(LN2,LN3); BArslAST(A2)<4 AND BARSLAST(A1)<5 AND LN1>LN3;