龙回头:
u8:=SUM(VOL*CLOSE,8)/SUM(VOL,8);
uu8:=IF(u8 =0,CLOSE,u8);
ms8:uu8,colorblack;
DRAWTEXT(ISLASTBAR,ms8,'8'),align0,shift2,colorblack;
u16:=SUM(VOL*CLOSE,16)/SUM(VOL,16);
uu16:=IF(u16 =0,CLOSE,u16);
ms16:uu16,coloryellow,linethick1;
DRAWTEXT(ISLASTBAR,ms16,'16'),align0,shift2,coloryellow;
u32:=SUM(VOL*CLOSE,32)/SUM(VOL,32);
uu32:=IF(u32 =0,CLOSE,u32);
ms32:uu32,colorred,linethick1;
DRAWTEXT(ISLASTBAR,ms32,'32'),align0,shift2,colorred;
u64:=SUM(VOL*CLOSE,64)/SUM(VOL,64);
uu64:=IF(u64 =0,CLOSE,u64);
ms64:uu64,colorcc9900,linethick2;
DRAWTEXT(ISLASTBAR,ms64,'64'),align0,shift2,colorcc9900;
u128:=SUM(VOL*CLOSE,128)/SUM(VOL,128);
uu128:=IF(u128 =0,CLOSE,u128);
ms128:uu128,color6666CC,linethick1;
DRAWTEXT(ISLASTBAR,ms128,'128'),align0,shift2,color6666CC;
u256:=SUM(VOL*CLOSE,256)/SUM(VOL,256);
uu256:=IF(u256 =0,CLOSE,u256);
ms256:uu256,linethick1;
DRAWTEXT(ISLASTBAR,ms256,'256'),align0,shift2,colorwhite;
u512:=SUM(VOL*CLOSE,512)/SUM(VOL,512);
uu512:=IF(u512 =0,CLOSE,u512);
ms512:uu512,linethick1;
DRAWTEXT(ISLASTBAR,ms512,'512'),align0,shift2,colorblack;
WS:=MOD(REF(C,1)*100,10)/100;
FD:=REF(C,1)/10-IF(WS 0.05,WS,WS-0.10)/10;
涨停:=C=REF(C,1)+FD;
跌停:=C=REF(C,1)-FD;
STICKLINE(涨停,L,C,2,1),colorred;
STICKLINE(跌停,L,O,2,1),colorgreen;
指标:
一字涨停:=C/REF(C,1) 1.0975 AND H=O;
停牌:=(DYNAINFO(4)=0);
A1:=COUNT(C =REF(C,1)*1.1 AND C/O 1.01,2)
A2:=COUNT(C/REF(C,1) 1.095,3) 0 AND SUM((C/REF(C,1)-1)*100,10) =40 AND NOT(停牌) AND NOT(一字涨停);
XG:A1 OR A2;
!聚集最新热门的股票指标公式源码,包含同花顺、通达信、大智慧等最新热门指标公式,还可以发布股票指标公式编写需求及解答网友的指标公式疑问获取更多积分。
九毛八公式指标,一个优质的公式指标平台!
九毛八公式指标 »
同花顺强势龙回头均线主图
加入收藏