通达信量价系数捉妖指标公式

N:=5;
P:=HIGH-LOW;
AA:=(O+H+L+C)/4;
BB:=MA(AA,3);
CC:=SUM(IF(AA>REF(AA,1),AA*vol,0),4)/SUM(IF(AA<REF(AA,1),AA*VOL,0),4);
DD:=REF(100-(100/(1+CC)),1);
A1:=HHV(AA,15);
A2:=LLV(AA,15);
A3:=A1-A2;
A4:=EMA((AA-A2)/A3,2)*100;
B1:=HHV(AA,60);
B2:=LLV(AA,60);
B3:=B1-B2;
B4:=EMA((AA-B2)/B3,2)*100;
C1:=HHV(AA,240);
C2:=LLV(AA,240);
C3:=C1-C2;
C4:=EMA((AA-C2)/C3,2)*100;
短期:=A4;
中期:=B4;
长期:=C4;
MID:MA(CLOSE,N);
UPPER:MID + P*STD(CLOSE,N), LINETHICK2;
LOWER:MID - P*STD(CLOSE,N), LINETHICK2;
EMA1: MA (CLOSE,5), COLORGREEN;
S13V:=V+REF(V,1)+REF(V,2)+REF(V,3)+REF(V,4)<REF(V,5)+REF(V,6)+REF(V,7)+REF(V,8)+REF(V,9) AND V+REF(V,1)+REF(V,2)+REF(V,3)+REF(V,4)<REF(V,10)+REF(V,11)+REF(V,12)+REF(V,13)+REF(V,14);
DRAWTEXT(S13V,LOW-0.04,'↑'), COLORRED;
VD30:=V<REF(V,1)AND V<REF(V,2)AND V<REF(V,3)AND V<REF(V,4)AND V<REF(V,5)AND V<REF(V,6)AND V<REF(V,7)AND V<REF(V,8)AND V<REF(V,9)AND V<REF(V,10)AND V<REF(V,11)AND V<REF(V,12)AND V<REF(V,13)AND V<REF(V,14)AND V<REF(V,15)AND V<REF(V,16);
DRAWTEXT(VD30,LOW-0.04,'日');
VD30B:=V>REF(V,1)AND V>REF(V,2)AND V>REF(V,3)AND V>REF(V,4)AND V>REF(V,5)AND V>REF(V,6)AND V>REF(V,7)AND V>REF(V,8)AND V>REF(V,9)AND V>REF(V,10)AND V>REF(V,11);
DRAWTEXT(VD30B,HIGH+0.08,'大');
V3:=REF(V,2)+REF(V,3)+REF(V,4);
V3X:=V3/3;
V3Y:=REF(V,1)/V3X>2;
DRAWTEXT(V3Y AND A4<15 ,HIGH+0.04,'抢筹'), COLORRED;
DRAWTEXT(V3Y AND C4<20 AND A4>50 ,HIGH+0.06,'加码'), COLORRED;
VD14:=
V<REF(V,1)AND V<REF(V,2)AND V<REF(V,3)AND V<REF(V,4)AND V<REF(V,5)AND V<REF(V,6)AND V<REF(V,7)AND V<REF(V,8)AND
V<REF(V,9)AND V<REF(V,10)AND V<REF(V,11)AND V<REF(V,12)AND V<REF(V,13)AND V<REF(V,14);
M:=13;
DL:=100*(V-LLV(V,M))/(HHV(V,M)-LLV(V,M));
股旁网:=(V<=HHV(V,13)*0.33 OR DL<5 ) AND V<REF(V,1),COLORGRAY;
DRAWTEXT(VD14 AND EMA1>MID ,HIGH+0.06,'转'), COLORRED;
量价系数:=V/P;
P2:=REF(HIGH,1)-REF(LOW,1);
量价系数2:=REF(V,1)/P2;
DRAWTEXT(OPEN<CLOSE AND REF(OPEN,1)<REF(LOW,1),LOW,量价系数) , COLORRED;
DRAWTEXT(OPEN<CLOSE AND REF(OPEN,1)<REF(LOW,1),REF(LOW,1) ,量价系数2), , COLORRED;




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

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

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

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