TYP:=(HIGH+LOW+CLOSE)/3; CI15:=(TYP-MA(TYP,15))/(0.015*AVEDEV(TYP,15)); CI10:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10)); CI5:=(TYP-MA(TYP,5))/(0.015*AVEDEV(TYP,5)); CI3:=(TYP-MA(TYP,3))/(0.015*AVEDEV(TYP,3)); EMAH3:=EMA(H,3); EMAL3:=EMA(L,3); EMAH5:=EMA(H,5); EMAL5:=EMA(L,5); EMAL10:=EMA(L,10); EMAZ:=(EMAH3+EMAH5+EMAL3+EMAL5)/4; EMA3:=(EMAH3-EMAL3)/6+EMAL3; 超B:=L2_AMO(0,2)/10000.0; 大B:=L2_AMO(1,2)/10000.0; 中B:=L2_AMO(2,2)/10000.0; 小B:=L2_AMO(3,2)/10000.0; 超S:=L2_AMO(0,3)/10000.0;大S:=L2_AMO(1,3)/10000.0;中S:=L2_AMO(2,3)/10000.0;小S:=L2_AMO(3,3)/10000.0;资金流向:=(超B+大B+中B+小B)-(超S+大S+中S+小S);大单动向:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7) ; PBX1:=(EXPMA((C+H+L)/3,4)+MA((C+H+L)/3,4*2)+MA((C+H+L)/3,4*4))/3;PBX2:=(EXPMA((C+H+L)/3,6)+MA((C+H+L)/3,6*2)+MA((C+H+L)/3,6*4))/3;XT1:=C>O AND (C-L)>(H-C);