通達(dá)信出入地域選股指標(biāo)公式
2020/8/1 18:44:43
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
后量超前量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL)=HHV(V,BARSLAST(CROSS(J,100))+1);
F:=EMA(C,10)-EMA(C,22);
A:=EMA(F,8);
MD:=(F-A)*2;
周期:=BARSLAST(CROSS(F,A) AND A<=0.05)+1;
綠柱:=BARSLASTCOUNT(MD<REF(MD,1))>1;
紅柱:=BARSLASTCOUNT(MD>REF(MD,1))>1;
綠柱群:=BARSLASTCOUNT(綠柱);
紅柱群:=BARSLASTCOUNT(紅柱);
綠柱群統(tǒng)計(jì):=COUNT(綠柱群,周期);
紅柱群統(tǒng)計(jì):=COUNT(紅柱群,周期);
XV:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL);
HS:=XV/CAPITAL;
前量成立:=REF(COUNT(C>O AND C>H*0.3 AND (C/REF(C,1)-1)*100>=3,周期)>0,1);
前量1:=HHV(HS,BARSLAST(C>O AND C>H*0.3 AND (C-REF(C,1))/REF(C,1)*100>=3));
前量2:=HHV(HS,BARSLAST(CROSS(J,100))+1);
反轉(zhuǎn)量:=IF(前量成立,HS>REF(前量1,1),HS>REF(前量1,1) AND HS>REF(前量2,1));
回調(diào)3:=LAST(C<=MA(C,10),3,1);
啟動(dòng)1:=C>MA(C,10) AND C>REF(MAX(C,O),1) AND (O/REF(C,1)-1)*100<=2;
啟動(dòng)2:=C>MA(C,10) AND MD>REF(MD,1) AND (O/REF(C,1)-1)*100<=2;
XG:=(綠柱群統(tǒng)計(jì)<2 OR 紅柱群統(tǒng)計(jì)<1)
AND INDEXC>MA(INDEXC,10) AND 后量超前量 AND 反轉(zhuǎn)量 AND (啟動(dòng)1 OR 啟動(dòng)2) AND 回調(diào)3;
TS:=BARSLAST(XG);
CROSS(C,REF(O,TS));
看股吧公 式 ww w.kanguba.com
其它股票公式列表