通达信跟踪强势选股指标公式

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));
DIFF:=(EMA(C,12)-EMA(C,26));
DEA:=EMA(DIFF,9);
MACD2:=(2*(DIFF-DEA));
DIF:=DIFF;
MACD:=DEA;
DEF:=MACD2;
CA1:=REF(C,1)>REF(O,1);
CA2:=O>=(REF(C,1)+REF(O,1))/2 AND REF(C,1)>=O;
CA3:=C>(REF(C,1)+REF(O,1))/2;
CA:=CA1 AND CA2 AND CA3;
CB1:=REF(C,1)<REF(O,1);
CB2:=C>O;CB:=CA2 AND CB1 AND CB2;
CC1:=(REF(C,1)+REF(O,1))/2>=O AND O>=REF(C,1);
CC2:=(REF(C,1)+REF(O,1))/2>=C;
CC:=CB1 AND CC1 AND CC2;
CD1:=(REF(C,1)+REF(O,1))/2>=O;
CD2:=O>=C;
CD:=CA1 AND CD1 AND CD2;
CE:=ABS((C-REF(C,1))/REF(C,1)*100)<3;
EB1:=(CA OR CB OR CC OR CD) AND CE;
CF:=BARSLAST(EB1);
EB2:=IF(REF(C,CF)>REF(O,CF),REF(O,CF),REF(C,CF));
EA1:=C>O; EA2:=C-MIN(MIN(REF(C,1),REF(O,1)),O);
EA3:=EA2/ABS(EB2-REF(C,1))*100>50;EA4:=J>REF(J,1);
EA5:=MAX(REF(C,2),REF(O,2))>MIN(O,MIN(REF(C,1),REF(O,1)));
EA6:=(DEF>REF(DEF,1) OR DEF>0) AND (MACD>REF(MACD,1) OR DIF>REF(DIF,1));
买进:EA1 AND EA3 AND EA4 AND EA5 AND EA6;



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图