N:=42;
P:=8;
LONG:=12;
P1:=12;
工作线2:EMA(CLOSE,17),LINETHICK2;
暴涨线:=MA(CLOSE,181);
DRAWTEXT((工作线2>=REF(工作线2,1) AND L< 工作线2 AND C>工作线2) ,L, ‘买’),COLORYELLOW;
DRAWTEXT((工作线>=REF(工作线,1) AND 牛 AND L< 工作线 AND H>工作线) ,L*0.96 , ‘◆工作’),COLORWHITE;
黄昏之星:=((((((REF(CLOSE,2) / REF(OPEN,2)) > 1.03) AND (REF(OPEN,1) > REF(CLOSE,2))) AND ((ABS((REF(OPEN,1) – REF(CLOSE,1))) / REF(CLOSE,1)) < 0.02)) AND ((CLOSE / OPEN) < 0.97)) AND (CLOSE < REF(CLOSE,2)));
锤头:=(((HIGH = MAX(OPEN,CLOSE)) AND ((HIGH – LOW) > (3 * (HIGH – MIN(OPEN,CLOSE))))) AND (CLOSE < MA(CLOSE,5)));
穿头破脚:=((((((REF(CLOSE,1) / REF(OPEN,1)) > 1.03) AND ((CLOSE / OPEN) < 0.96)) AND (CLOSE < REF(OPEN,1))) AND (OPEN > REF(CLOSE,1))) OR (((((REF(CLOSE,1) / REF(OPEN,1)) < 0.97) AND ((CLOSE / OPEN) > 1.04)) AND (CLOSE > REF(OPEN,1))) AND (OPEN < REF(CLOSE,1))));
乌云盖顶:=(((((REF(CLOSE,1) / REF(OPEN,1)) > 1.03) AND ((CLOSE / OPEN) < 0.97)) AND (OPEN > REF(CLOSE,1))) AND (CLOSE < REF(CLOSE,1)));
倾盆雨:=(((((REF(CLOSE,1) / REF(OPEN,1)) >= 1.03) AND (OPEN < REF(CLOSE,1))) AND (OPEN > REF(OPEN,1))) AND (CLOSE < REF(OPEN,1)));
DRAWTEXT(黄昏之星,H*1.02,’黄昏之星’),COLORCYAN;
DRAWTEXT(锤头,L-L*0.02,’锤头可能见底’),COLORGREEN;
DRAWTEXT(穿头破脚,H*1.05,’穿头破脚’),COLORCYAN;
DRAWTEXT(曙光初现,L-L*0.02,’曙光初现(放量)’),COLORGREEN;
AAA:=EMA(CLOSE,144)>=REF(EMA(CLOSE,144),1);
评论(0)