通达信歪虎动平衡指标公式

S1:=HHV(MA(HIGH,2),2);
S2:=LLV(MA(HIGH,2),1);
SPPP:(S1-S2)/REF(C,1)*100;
SPTEM1:=(MIN(O,C)-L)/(H-L)*100;
SPTEM2:=(H-MAX(O,C))/(H-L)*100;
SPTEM3:=(C-O)/(H-L)*100;
SKJ1:=(SPTEM3>49 AND SPTEM1>0.3*SPTEM2) OR SPTEM3>80;
SKJ2:=(SPTEM3<=49 AND SPTEM3>20 AND SPTEM1>SPTEM2);
SKJ3:=(SPTEM3<=20 AND SPTEM3>-20 AND SPTEM1>1.2*SPTEM2);
SKJ4:=(SPTEM3<-20 AND SPTEM3>-40 AND SPTEM1>2*SPTEM2);
SKJ:=(SKJ1 OR SKJ2 OR SKJ3 OR SKJ4) AND (SPPP>2 OR REF(SPPP,1)>2 );
{ _最新股票指标公式}
短买:IF(SUM(SPPP>0,5)=5 AND SUM(SKJ>0,5)=0,5*(SKJ1 OR SKJ2 OR SKJ3 OR SKJ4),5*SKJ),STICK,COLORRED;
X下:=HHV(MA(L,2),1);
X上:=LLV(MA(L,2),2);
XPPP:(X上-X下)/REF(C,1)*100;
XPTEM1:=(MIN(O,C)-L)/(H-L)*100;
XPTEM2:=(H-MAX(O,C))/(H-L)*100;
XPTEM3:=(C-O)/(H-L)*100;
XKJ1:=(XPTEM3<-49 AND SPTEM2>0.3*SPTEM1) OR SPTEM3<-80;
XKJ2:=(SPTEM3>=-49 AND SPTEM3<-20 AND SPTEM1<SPTEM2);
XKJ3:=(SPTEM3>=-20 AND SPTEM3<20 AND SPTEM2>1.2*SPTEM1);
XKJ:=(XKJ1 OR XKJ2 OR XKJ3) AND (XPPP<-2 OR REF(XPPP,1)<-2 );
短卖:(-5)*FILTER(XKJ,0),STICK,COLORGREEN;
下界:-5,POINTDOT,COLORGREEN;
上界:5,POINTDOT,COLORYELLOW;




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

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

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

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