ABC1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
ABC2:=SMA(ABC1,3,1);
ABC3:=SMA(ABC2,4,1)-10;
ABC4:=(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))*100;
ABC5:=SMA(ABC4,3,1);
ABC6:=NOT(CODELIKE('4'));
ABC7:=NOT(CODELIKE('688'));
ABC8:=IF(NAMELIKE('S'),0,1);
ABC9:=IF(NAMELIKE('*'),0,1);
ABC10:=NOT(CODELIKE('8'));
ABC11:=ABC6 AND ABC8 AND ABC7 AND ABC9 AND ABC10;
ABC12:=SMA(ABC5,4,1)-90;
ABC13:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<0.045;
ABC14:=LOW<MA(CLOSE,5) AND CLOSE>MA(CLOSE,5);
ABC15 := ABC13 AND ABC14;
ABC16:=C>MA(C,10);
双龙共振:=BARSLASTCOUNT((REF(ABC3,1)<ABC3) AND (REF(ABC12,1)>ABC12))=1 AND ABC11 AND ABC15 AND ABC16;
STICKLINE(双龙共振,0,2,3,0),COLORFF00FF;
STICKLINE(双龙共振,0,2,0.1,0),COLORYELLOW;
DRAWICON(双龙共振,1.8,28);
DRAWICON(双龙共振,1.6,29);
DRAWICON(双龙共振,1.4,30);