修正Z:=REF(H,1) REF(O,1)+0.02 AND REF(H,2) REF(O,2)+0.02 AND REF(H,3) REF(O,3)+0.02 ;
BD:=Abs(REF(C,4)-REF(C,3));
BDD:=BD/REF(C,4) 0.05;
修正结论:=修正Z 0 AND BDD AND COUNT(H=O,9)=0;
大值:=MAX(C,O);
上映:=(H-大值)/REF(C,1) 0.03;
XZJH:=COUNT(上映,7)=0;
MA1:=EMA(CLOSE,2);
MA2:=EMA(CLOSE,4);
MA3:=EMA(CLOSE,21);
MA4:=EMA(CLOSE,55);
MA5:=EMA(CLOSE,5);
XZ1:=REF(MA2,1) REF(MA1,1) AND REF(MA2,2) REF(MA1,2);
G2:=EMA(C,2);
G4:=EMA(C,4);
G3:=EMA(C,3);
G6:=EMA(C,6);
VAR1:=HHV(HIGH,5);
VAR2:=LLV(LOW,5);
VAR3:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,5);
VAR4:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,3);
XZ:=REF(G2,1) REF(G4,1);
金叉:= crOSS(MA1,MA2) AND XZ AND XZ1;
多头:=MA3 MA4 AND MA2
修正:=C O AND H-C
龙回头:=金叉 AND 多头 AND 修正 AND 修正结论 AND XZJH;
STICKLINE(龙回头,0,龙回头,3,0),COLOR000044;
STICKLINE(龙回头,0,龙回头,2.5,0),COLOR000088;
STICKLINE(龙回头,0,龙回头,1.5,0),COLOR0000AA;
STICKLINE(龙回头,0,龙回头,1,0),COLOR0000CC;
DRAWTEXT(龙回头,0.9,'★龙'),COLORYELLOW;
DRAWTEXT(龙回头,0.6,'★回'),COLORYELLOW;
DRAWTEXT(龙回头,0.3,'★头'),COLORYELLOW;