1.è¡ç¥¨å
¬å¼
è¡ç¥¨å ¬å¼
VAR1:=C-REF(C,牛股调整结束公式源码1);
VAR2:=*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);
MA5:=EMA(C,5);
MA:=EMA(C,);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA,MA5))+1),LLV(L,BARSLAST(CROSS(MA,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA))+1),HHV(H,BARSLAST(CROSS(MA5,MA))+1),0);
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA))+1),HHV(H,BARSLAST(CROSS(MA5,MA))+1),L=LLV(L,BARSLAST(CROSS(MA,MA5))+1),LLV(L,BARSLAST(CROSS(MA,MA5))+1),0);
HR:=HHV(HIGH,);
HRY:=LLV(LOW,);
HRY:=HR*HRY;
HRY:=SQRT(HRY);
çç:=(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) AND
REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);
ä¸ç:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,)*0.;
大ç:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY;
éä¸çä¹ä¸:IF(CROSS(çç+ä¸ç+大ç>0,0.5),1,0);
{ æè }
éä¸çåä¸:çç+ä¸ç+大ç=3;