BOLL:=MA(CLOSE,20);
LO:=BOLL-2*STD(CLOSE,20),COLORLIMAGENTA;
Z:=2*STD(CLOSE,20);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
D:=(SMA(SMA(RSV,3,1),3,1)*2.5)-100;
K:=(SMA(RSV,3,1)*2.5)-100;
J:=3*K-2*D;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CC:=IF(CCI>=100,BOLL+Z*CCI/100,IF(CCI<=(-100),BOLL+Z*CCI/100,DRAWNULL));
XG1:=CROSS(BOLL+Z*CCI/100,LO)=1;
XG2:=CROSS(BOLL+Z*J/100,LO)=1;
XG:XG1 AND XG2;
本文来自: 股海明灯 详细文章参考:http://www.178448.com/thread-334621-1-1.html |