RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV1,3,1);
D:SMA(K,3,1);
J:3*K-2*D,LINETHICK1;
T:=BArslAST(L=LLV(L,10));
L1:=REF(L,T);
L2:=REF(L1,T+1);
K1:=REF(K,T);
K2:=REF(K1,T+1);
TJ:=L1<L2 AND K1>K2 AND REF(T,1)>3 AND T=0;
TJT:=BARSLAST(TJ);
QF:=BacKSET(TJ,REF(T,1)+2);
QT:=BARSLAST(crOSS(QF=1,0.5));
KK:=IF(QF=1,K,-9999);
HH:=HHV(KK,QT);
TT:=BARSLAST(KK=HH);
TC:=QT-TJT;
XG:=CROSS(K,REF(KK,TT)) AND QT<20 AND V<REF(V,1) AND HHV(vol,20)/VOL>2.5 AND TC<7;
DRAWLINE(TT=0,K,REF(TT=0,1),REF(K,1),1),COLORGREEN;
DRAWLINE(QT=0,K,TJ,K,0),COLORRED,LINETHICK2;
DRAWICON(XG,K,1);
DRAWTEXT(QT=0,K,’底背离’),COLORYELLOW;

{
选股公式:

RSV1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV1,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
T:=BARSLAST(L=LLV(L,10));
L1:=REF(L,T);
L2:=REF(L1,T+1);
K1:=REF(K,T);
K2:=REF(K1,T+1);
TJ:=L1<L2 AND K1>K2 AND REF(T,1)>3 AND T=0;
TJT:=BARSLAST(TJ);
QF:=BACKSET(TJ,REF(T,1)+2);
QT:=BARSLAST(CROSS(QF=1,0.5));
KK:=IF(QF=1,K,-9999);
HH:=HHV(KK,QT);
TT:=BARSLAST(KK=HH);
TC:=QT-TJT;
XG:CROSS(K,REF(KK,TT)) AND QT<20 AND V<REF(V,1) AND HHV(VOL,20)/VOL>2.5 AND TC<7;
}

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