通达信机会难得预警指标公式
2020/5/23 18:49:04
N:=(2,120,14);
N1:=(2,360,36);
G:=(1,60,15);
Z:=(1,100,5);
ROC:=100*(CLOSE-REF(CLOSE,12))/REF(CLOSE,12);
MAROC:=MA(ROC,6);
变动速率:=ROC/MAROC*Z;
P:=(HIGH+LOW+CLOSE)/3;
CCI1:=(P-MA(P,N))*1000/(G*AVEDEV(P,N)),COLORRED;
CCI2:=(P-MA(P,N1))*1000/(G*AVEDEV(P,N1)),COLORGREEN;
B1:=BARSLAST(CCI1=LLV(CCI1,60));
DD:=C<REF(C,B1) AND CCI1>REF(CCI1,B1);
底背离:=IF(DD,1,0),LINETHICK2,COLORRED;
机会难得:=IF(CROSS(CCI1,CCI2) AND REF(CCI1,1)=LLV(CCI1,70),1,0),LINETHICK1,COLORYELLOW;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
KD:=CROSS(K,D);
选股:=(机会难得 AND KD)*2,COLORRED;
ENTERLONG:选股;
看股 吧公式 www.kang uba.com
其它股票公式列表