鹤立
上线:=SMA(CLOSE,6.5,1);
下线:=SMA(CLOSE,13.5,1);
上线1:=SMA(CLOSE,3,1);
下线1:=SMA(CLOSE,8,1);
STICKLINE(上线>下线,上线,下线,2.5,0),LINETHICK2,colorFF;
STICKLINE(下线>上线,上线,下线,2.5,0),LINETHICK2,colorFFFF;
DRAWTEXT(CROSS(上线,下线),LOW*0.98,'全仓买'),colorFFFF;
全仓买:=CROSS(上线,下线);
DRAWTEXT(CROSS(下线1,上线1),HIGH*1.02,'清仓'),color80FF00;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
UPR:=BBI+3*STD(BBI,13);
DWN:=BBI-3*STD(BBI,13);
安全:=MA(CLOSE,60);
LC:=REF(CLOSE,1);
RSI:=(SMA(MAX(CLOSE-LC,0),6,1))/(SMA(ABS(CLOSE-LC),6,1))*100;
DRAWTEXT(CROSS(82,RSI),HIGH*1.02,'减仓'),PXUP4,colorFF9966;
A7:=(2*CLOSE+HIGH+LOW)/4;
操作:MA(A7,5),LINETHICK2;
操作1:=MA(A7,5)*1.03;
操作2:=MA(A7,5)*0.97;
VAR1:LLV(A7,21);
VAR2:HHV(A7,21);
SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
DRAWTEXT(IF((COUNT(CLOSE[6/10 AND VOL>=1.5*MA(VOL,5) AND COUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW*0.98,'买进'),color99FF;]
买进:=SK>=SD;
DRAWTEXT(IF((COUNT(CLOSE[6/10 AND COUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND OPEN>REF(CLOSE,1),1,0),LOW*0.98,'买进'),colorFFFF;]
D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWTEXT(IF(CLOSEMA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE
抄底:=CLOSE
|