通达信正宗秘诀指标公式

正宗秘诀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;

(0)

相关推荐