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)金叉:= CROSS(MA1,MA2) AND XZ AND XZ1;
多头:=MA3>MA4 AND MA2>MA3;
修正:=C>O AND H-C
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;