主力成本:(MA(CLOSE,60)+MA(CLOSE,70)+MA(CLOSE,90)+MA(CLOSE,108))/4;
N:=( 2 ,120, 14); N1:=( 2, 250 ,36); G:=( 1, 60, 15); Z:=( 1, 100, 5); ROC:=100*(CLOSE-REF(CLOSE,12))/REF(CLOSE,12); MAROC:MA(ROC,6); P:=(HIGH+LOW+CLOSE)/3; CCI1:(P-MA(P,N))*1000/(G*AVEDEV(P,N)),COLORCYAN; CCI2:=(P-MA(P,N1))*1000/(G*AVEDEV(P,N1)); BE1:=BARSLAST(CCI1=LLV(CCI1,60)); DD:=C<REF(C,BE1) AND CCI1>REF(CCI1,BE1); 底背离:IF(DD,100,0),LINETHICK2,COLORRED; 机会难得:IF(CROSS(CCI1,CCI2) AND REF(CCI1,1)=LLV(CCI1,60),100,0),LINETHICK2,COLORYELLOW; +100; -100;
|
