小李买卖点
2016-8-13 21:42:26点击:
//开关:=0;
开关:=1;
TJ:=REFX(&CLOSE,6)>0;
VAR1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
指标:IF(tj+开关,EMA(EMA(VAR1,5),5)*3,0), COLORSTICK;
VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2))
AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));
VARD:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2))
AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3));
零轴:0,coloryellow;
STICKLINE((VARC=1 AND (tj+开关)),(-14),0,4,0),colorred,LINETHICK2;
STICKLINE((VARD=1 AND (tj+开关)),14,0,4,0),colorgreen,LINETHICK2;
VarF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR2:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR3:=VarF<REF(VAR2,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);STICKLINE(VAR3 AND COUNT(VAR3,30)=1 AND (tj+开关),1,10,5,0),colorff00ff;
有未来函数