通达信股市春播源码副图

[复制链接]
查看32 | 回复0 | 2022-7-24 04:25:41 | 显示全部楼层 |阅读模式

股市春播源码

 

HP:=HHV(H,9);

LP:=LLV(L,9);

R:=(C-LP)/(HP-LP)*100;

K:SMA(R,3,1),COLORYELLOW,LINETHICK2;

D:SMA(K,3,1),COLORWHITE,LINETHICK2;

J:3*K-2*D,COLORFF9999,LINETHICK2;

M:=MA(R,40);

S:=STD(R,40);

高:=M+2*S;

中:=M;

低:=M-2*S;

【底】: 低,COLOR0000FF;

【低】: 低+5,COLOR00FF00;

【中】: 中,POINTDOT,COLORWHITE;

【高】: 高,COLORFF80FF;

DRAWTEXT(CROSS(高,J) ,J*1.2,'★'),COLORYELLOW;

DRAWTEXT(CROSS(中,J) AND M<=80 ,高,'抛'),COLORRED;

DRAWTEXT(CROSS(J,低) ,J,'▲'),COLOR00FF00;

DRAWTEXT(CROSS(J,低) AND K<10 ,J,'▲'),COLORRED;

DRAWTEXT(CROSS(J,中) AND K>D ,0,'吸'),COLORYELLOW;

DRAWTEXT(CROSS(D,K) AND (D>M OR D>=50),D,'★'),COLORYELLOW;

DRAWTEXT(CROSS(D,K) AND M>80,高,'逃顶'),COLORYELLOW;

DRAWTEXT(CROSS(D,K) AND D>85,D,'★'),COLORRED;

DRAWTEXT(CROSS(K,D) AND D<15,D,'▲'),COLORRED;

DRAWTEXT(中>80 ,中,'★'),COLORRED;

61255007.jpg

61255007.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则