以下是通达信60分钟的买点副图,源码

通达信60分钟的买点副图,源码

TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CCI修正1:=EMA(EMA(EMA(CCI,2),2),2);
CCI修正2:=EMA(EMA(EMA(CCI,3),2),2);
X:=(CROSS(CCI修正1,CCI修正2) OR (CCI修正1 >=CCI修正2))
AND CCI修正1>=-101 AND CCI修正1>=REF(CCI修正1,1)
AND REF(CCI修正1,1)<-101 ;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
K1:= EMA(EMA(EMA(K,2),2),2);
D1:= EMA(EMA(EMA(D,2),2),2);
J1:= EMA(EMA(EMA(J,2),2),2);
Y:= J1 > REF(J1,1) ;
X AND Y;

 

VA11:=100-3*SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,34)-LLV(LOW,13))*100,13,1)+2*SMA(SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,34)-LLV(LOW,13))*100,13,1),6,1);
VA21:=100-3*SMA((OPEN-LLV(LOW,13))/(HHV(HIGH,34)-LLV(LOW,13))*100,13,1)+2*SMA(SMA((OPEN-LLV(LOW,13))/(HHV(HIGH,34)-LLV(LOW,13))*100,13,1),6,1);
VA31:=VA11<REF(VA21,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);

(VA31 AND COUNT(VA31,21)=3)*0.6;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。