第一张图明显的三个波浪,信号当天出现后接近收盘时基本可以确定不变了,出现的信号收盘后绝对不变!
NC:=17;N1:=14;M0:=35;M1:=5;M2:=5;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,NC))/(0.017*STDP(TYP,NC));
{DRAWICON(CROSS(CCI,3) AND CCI>REF(CCI,1),L*0.98,34);}
DRAWICON(CROSS(100,CCI) AND CCI<REF(CCI,1),H*1.02,35);
MTR:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
AT1:=MA(MTR,N1);
FAR1:=CROSS(100,CCI) AND CCI<REF(CCI,1);
FAR2:=(REF(OPEN,1)+REF(LOW,1))/2;
FAR3:=IF(REF(OPEN,1)>OPEN,FAR2,REF(CLOSE,1));
FAR4:=IF(FAR1,FAR3-0.35*AT1,0);
DRAWNUMBER(FAR1,H*1.01,FAR4)COLORYELLOW;
RSV:=(CLOSE-LLV(LOW,M0))/(HHV(HIGH,M0)-LLV(LOW,M0))*100;
K:=SMA(RSV,M1,1),COLOR80C000;
D:=SMA(K,M2,1),COLORYELLOW;
J:=3*K-2*D,COLORWHITE;
FAR5:=J-K;
FAR6:=FAR5/REF(FAR5,1);
FAR7:=FAR5/REF(FAR5,3);
FAR8:=FAR5/REF(FAR5,5);
FAR9:=ABS(D-(FAR6+FAR7+FAR8)/7)+ABS(K-REF(D,1));
DRAWNUMBER(FAR1,H*1.05,FAR9),COLORGREEN;
离场参考价:FAR4,NODRAW,COLORYELLOW;
风险系数值:IF(FAR1,FAR9,0),NODRAW,COLORGREEN;