同花顺正宗操盘秘诀副图源码
2017-09-25网络 编 辑:翔博软件
K0:=(3*H+C+O+L)/6;
K1:=(K0+2*H+(C+O)+REF(K0,1))/6;
K20:=SUM(K1,4)/4;
A10:=SUM(IF(K1>K20,K1,0-K1),0)/100;
万剑归宗:A10,colormagenta,LINETHICK1;
气走丹田:LLV(SUM(万剑归宗,2)/2,5),coloryellow,LINETHICK1;
三元集结:REF(HHV(A10,1),1),colorgreen,LINETHICK1;
STICKLINE(CROSS(万剑归宗,三元集结) AND 气走丹田>三元集结,万剑归宗,三元集结,2,0),colorgreen;
STICKLINE(万剑归宗>三元集结 AND 气走丹田<三元集结,万剑归宗,三元集结,2,0),colorred;
STICKLINE(三元集结>万剑归宗,万剑归宗,三元集结,2,0),colorgreen;
STICKLINE(CROSS(三元集结,万剑归宗),万剑归宗,三元集结,2,0),colorred;
STICKLINE(REF(CROSS(三元集结,万剑归宗),1) AND 三元集结>万剑归宗,REF(三元集结,1),三元集结,2,0),colorred;