同花顺奇门慧眼公式 双红必买,单红超短,黄白就是卖卖卖休息

源码

T:=1;

V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20)*T;

V2:=(1-7/100)*(DMA(CLOSE,V1))*T;

V3:=(1+7/100)*(DMA(CLOSE,V1))*T;

V5:=MA((LOW+HIGH+CLOSE)/3,5)*T;

HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;

主力成本线:(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)

+13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)

+7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+

REF(HHJSJDA,20))/211,coloryellow;

散户生命线:MA(主力成本线,5),colorred;

支撑:REFDATE(V2,DATE),POINTDOT,LINETHICK3,COLORFFCC00,NODRAW;

阻力:REFDATE(V3,DATE),POINTDOT,LINETHICK3,colorgreen,NODRAW;

X1:=(C+L+H+O)/4;

X2:=EMA(X1,5);

X3:=EMA(X2,7);

DRAWICON(CROSS(X2,X3)*T,L*0.99,1);

DRAWICON(CROSS(X3,X2)*T,H*1.007,2);

Y1:=IF(X2>=X3,1,2)*T;

Y2:=IF(X2<X3,1,2)*T;

STICKLINE (C<=O AND Y1=1,O,C,3.5,0),colorred;

STICKLINE (C<=O AND Y1=1,L,H,0,0),colorred;

STICKLINE (C>O AND Y1=1,O,C,3.5,1),colorred;

STICKLINE (C>O AND Y1=1,C,H,0,0),colorred;

STICKLINE (C>O AND Y1=1,O,L,0,0),colorred;

STICKLINE (C<=O AND Y2=1,O,C,3.5,0),colorcyan;

STICKLINE (C<=O AND Y2=1,L,H,0,0),colorcyan;

STICKLINE (C>O AND Y2=1,O,C,3.5,1),colorcyan;

STICKLINE (C>O AND Y2=1,C,H,0,0),colorcyan;

STICKLINE (C>O AND Y2=1,O,L,0,0),colorcyan;

STICKLINE (C>O AND Y2=1,O,L,0,0),colorcyan;

乖离率:(C-主力成本线)/主力成本线*100,NODRAW;

涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);

STICKLINE(涨停,OPEN,CLOSE,3,0),COLORFF00FF;

跌停:=REF(C,1)/C>1.099;

STICKLINE(跌停,OPEN,CLOSE,3,0),COLOR40FF00;
 

 




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

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

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

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