B线:=LLV(D,13)COLORYELLOW,LINETHICK2;日平:= MACD.MACD#DAY (12,26,9);
周平:= MACD.MACD#WEEK (12,26,9);
JC:=(A线-B线);
壹:=COUNT(JC REF(JC,1)AND A线 REF(A线,1),5)=1 AND JC REF(JC,1)AND A线 REF(A线,1)AND D =REF(D,1);
G1:=FILTER(壹=1,10);
G2:=BARSLAST(G1
G3:=IFF(G2 0 AND G2 =10,1,0)=1 AND ((C-REF(C,G2))/REF(C,G2))*100
概壹:=(SUM(FILTER(G3,10),0)/SUM(G1 0,0))*100;
加1:=COUNT(日平 =0 AND 周平 =0,5)=1 AND 日平 =0 AND 周平
加2:=FILTER(D=A线 AND REF(D,1) REF(A线,1)AND REF(D,2) REF(A线,2),10);
①:=FILTER(加1=1,10);
②:=BARSLAST(①
③:=IFF(② 0 AND ② =10,1,0)=1 AND ((C-REF(C,②))/REF(C,②))*100
概加1:=(SUM(FILTER(③,10),0)/SUM(① 0,0))*100;
TJ:=FILTER(COUNT(D=B线,3) =2 AND D B线,5);
XG:TJ;