主力建仓源码大智慧通达信通用通达信公式 副图 源码附图
SJ:=1;
N:=15;
M1:=5;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K9:=SMA(RSV,M1,1);
D9:=SMA(K9,M2,1);
J:=3*K9-2*D9;
RK:=MA(K9,15)*SJ,LINETHICK1;
RD:=MA(D9,15)*SJ,LINETHICK1;
RJ:=MA(J,15)*SJ,LINETHICK1;
DRAWTEXT(CROSS(RK,RD)&&RD<20,RK*0.80,’多’),COLORRED;
DRAWTEXT(CROSS(RD,RK)&&RD>80,78,’空’),COLORGREEN,DRAWABOVE;
N8:=80;
M18:=3;
M28:=3;
RSV8:=(CLOSE-LLV(LOW,N8))/(HHV(HIGH,N8)-LLV(LOW,N8))*100;
K98:=SMA(RSV8,M18,1);
D98:=SMA(K98,M28,1);
J8:=3*K98-2*D98;
RK8:=MA(K98,80),LINETHICK1;
RD8:=MA(D98,80),LINETHICK1;
RJ8:=MA(J8,80),LINETHICK1;
DRAWTEXT(CROSS(RK8,RD8)&&RD8<20,RK8*0.80,’准多’),COLORFF00FF;
DRAWTEXT(CROSS(RD8,RK8)&&RD8>80,78,’准空’),COLORFFFF00,DRAWABOVE;
VAR1:=((CLOSE – LLV(LOW,15))/(HHV(HIGH,15) – LLV(LOW,15)))*(100);
VAR2:=REVERSE(VAR1);
VAR3:=SMA(VAR1,5,1);
K:=SMA(VAR3,3,1);
D:=SMA(K,3,1);
STICKLINE((K*SJ >= D),K,D,2,0),COLORRED;
STICKLINE((K <= D*SJ),K,D,2,0),COLOR008800;
超卖:20*SJ,COLOR00FF00,LINETHICK1;
超买:80*SJ,COLORRED,LINETHICK1;
严重超卖:0*SJ,COLOR00FF00,LINETHICK1;
严重超买:100*SJ,COLORRED,LINETHICK1;
{中轴线:50*SJ,COLORWHITE,NODRAW;}
KF:=(EMA(CLOSE,21)-EMA(CLOSE,3))/2*0.95;
DF:=(EMA(CLOSE,3)-EMA(CLOSE,21))/2*0.95;
DRAWTEXT(DF*SJ>=KF,9*SJ,’大’),COLORRED;
DRAWTEXT(KF*SJ>DF*SJ,91,’大’),COLORCYAN;
MA888:=EMA(C,2);
战士看多空线:=(MA(CLOSE,27)+MA(CLOSE,34)+MA(CLOSE,41)+MA(CLOSE,50))/4,COLOR00FFFF,LINETHICK3;
DRAWTEXT(MA888*SJ>=战士看多空线,15,’中’),COLORRED;
DRAWTEXT(MA888<战士看多空线*SJ,85,’中’),COLORCYAN;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR8:=LLV(LOW,20);
VARAA:=HHV(HIGH,26);
B:=EMA((VAR6-VAR8)/(VARAA-VAR8)*100,8);
B1:=EMA(B,5);
K22:=B>80 AND CROSS(B1,B);
K1:=BARSLAST(K22);
K2:=REF(K1,1);
K底:=B<20 AND CROSS(B,B1);
K底1:=BARSLAST(K底);
K底2:=REF(K底1,1);
DRAWTEXT(REF(B,1)*SJ>80 AND CROSS(B1,B) AND REF(B,1)<REF(B,K2+2) AND REF(C,1)>REF(C,K2+2),B+2,’顶背离’),COLORCYAN;
DRAWTEXT(B<25*SJ AND CROSS(B,B1) AND B>REF(B,K底2) AND C<REF(C,K底2),B+2,’底背离’),COLORFF00FF; {股票指标网 整理}
财神爷抄底副图公式通达信公式 副图 源码附图状元郎
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/184534.html,转载请注明出处。