通达信等你飞副图价量分析指标公式源码
{等你飞}
价量:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV
(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
ZLXS:=(((价量-LLV(价量,27))/(HHV(价量,27)-LLV(价量,27)))*(4))*(25);
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K1:=SMA(RSV,3,1);
D1:=SMA(K1,3,1);
KK:=INTPART(K1);
DD:=INTPART(D1);
TFXXS:=KK+DD;
TGLXS:=(TFXXS-REF(TFXXS,1));
ZLCM:=EMA(WINNER(CLOSE)*70,3);
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
ZSHTL:=SHCM/(ZLCM+SHCM)*100;
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;
A2:=REF(ZZLKP,2)<=REF(ZZLKP,3) AND ZZLKP<20;
A1:=REF(ZZLKP,1)<=REF(ZZLKP,2) AND ZZLKP<20;
A:=ZZLKP>REF(ZZLKP,1) AND ZZLKP<20 AND ZLXS>20 AND ZLXS<40 AND ZLXS>REF(ZLXS,1) AND
TGLXS>0;
XG1:=A2 AND A1 AND A ;
B2:=REF(ZZLKP,2)<=10 AND REF(ZZLKP,2)>REF(ZZLKP,3);
B1:=REF(ZZLKP,1)<=10 AND REF(ZZLKP,1)>REF(ZZLKP,2);
B:=ZZLKP>REF(ZZLKP,1) AND ZZLKP<20;
XG2:= B AND ZLXS>20 AND ZLXS<40 AND ZLXS>REF(ZLXS,1) AND TGLXS>0;
M5:=MA(C,5);
M10:=MA(C,10);
QS:=M5>M10;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,24);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
XG11:=XG1 AND ZLXS>17 AND QS AND MACD>0 AND MACD>REF(MACD,1);
XG22:= XG2 AND ZLXS>17 AND QS AND MACD>0 AND MACD>REF(MACD,1);
去除ST:=EXIST((C/REF(C,1)-1)*100>5.6,60);
去除停牌:=DYNAINFO(4)>0; {通达信:今开大于零}
去除高价:=DYNAINFO(7)<50; {最新价小于40元}
去除大盘股:=CAPITAL/1000000<10; {流通盘为10亿以下}
等你飞:REF(XG11,1) OR REF(XG22,1) AND 去除ST AND 去除停牌 AND 去除高价 AND 去除大盘股;
未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
{等你飞}
价量赋值:3*SMA((收盘价-27日内最低价最低值)/(27日内最高价最高值-27日内最低价最低值)*100,5,1)-2*SMA(SMA((收盘价-LLV
(最低价,27))/(27日内最高价最高值-27日内最低价最低值)*100,5,1),3,1)
ZLXS赋值:(((价量-27日内价量最低值)/(27日内价量最高值-27日内价量最低值))*(4))*(25)
RSV赋值:(收盘价-13日内最低价最低值)/(13日内最高价最高值-13日内最低价最低值)*100
RSV的3日[1日权重]移动平均
K1的3日[1日权重]移动平均
KK赋值:INTPART(K1)
DD赋值:INTPART(D1)
TFXXS赋值:KK+DD
TGLXS赋值:(TFXXS-1日前的TFXXS)
ZLCM赋值:EMA(收盘价计算的获利盘比例*70,3)
SHCM赋值:EMA((收盘价*1.1计算的获利盘比例-WINNER(收盘价*0.9))*80,3)
ZSHTL赋值:SHCM/(ZLCM+SHCM)*100
ZZLKP赋值:ZLCM/(ZLCM+SHCM)*100
A2赋值:2日前的ZZLKP<=3日前的ZZLKP AND ZZLKP<20
A1赋值:1日前的ZZLKP<=2日前的ZZLKP AND ZZLKP<20
A赋值:ZZLKP>1日前的ZZLKP AND ZZLKP<20 AND ZLXS>20 AND ZLXS<40 AND ZLXS>1日前的ZLXS AND
TGLXS>0
XG1赋值:A2 AND A1 AND A
B2赋值:2日前的ZZLKP<=10 AND 2日前的ZZLKP>3日前的ZZLKP
B1赋值:1日前的ZZLKP<=10 AND 1日前的ZZLKP>2日前的ZZLKP
B赋值:ZZLKP>1日前的ZZLKP AND ZZLKP<20
XG2赋值: B AND ZLXS>20 AND ZLXS<40 AND ZLXS>1日前的ZLXS AND TGLXS>0
M5赋值:C的5日简单移动平均
M10赋值:C的10日简单移动平均
QS赋值:M5>M10
DIFF赋值:收盘价的12日指数移动平均-收盘价的24日指数移动平均
DEA赋值:DIFF的9日指数移动平均
MACD:=2*(DIFF-DEA)
XG11:=XG1 AND ZLXS>17 AND QS AND MACD>0 AND MACD>1日前的MACD
XG22:= XG2 AND ZLXS>17 AND QS AND MACD>0 AND MACD>1日前的MACD
去除ST赋值:EXIST((C/1日前的C-1)*100>5.6,60)
去除停牌赋值:DYNAINFO(4)>0
{通达信:今开大于零}
去除高价:=DYNAINFO(7)<50
{最新价小于40元}
去除大盘股赋值:CAPITAL/1000000<10
输出{流通盘为10亿以下}
等你飞:1日前的XG11 OR 1日前的XG22 AND 去除ST AND 去除停牌 AND 去除高价 AND 去除大盘股
- QQ:88652583
- 邮箱:88652583@qq.com
- 工作时间:8:30-23:00
- 微信:88652583或扫描如下二维码
sitemap站点地图