大智慧两次金叉主图指标公式

[复制链接]
查看146 | 回复0 | 2021-8-21 14:01:43 | 显示全部楼层 |阅读模式

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=sMA(RSV,3,1);
D:=sMA(K,3,1);
jx:=cross(k,d);
金叉点:JX,COLOR8866FF,LINETHICK0;
金叉次:=SUM(JX,0);
t1:=SUMBARS(jx,1);
t3:=SUMBARS(jx,3);
t2:=SUMBARS(jx,2);
t4:=SUMBARS(jx,4);
s1:=cross(BACKSET(BARSTATUS=2,t1),0.5);
s3:=cross(BACKSET(BARSTATUS=2,t3),0.5);
s2:=cross(BACKSET(BARSTATUS=2,t2),0.5);
s4:=cross(BACKSET(BARSTATUS=2,t4),0.5);
DRAWLINE(s3,l,s1,l,1);
DRAWLINE(s4,l,s2,l,1);
PARTLINE(L*0.98,jx ),CIRCLEDOT,LINETHICK7,COLOR00FFFF;
PARTLINE(L*0.98,jx ),CIRCLEDOT,LINETHICK5,COLORFF99FF;
PARTLINE(L*0.98,jx ),CIRCLEDOT,LINETHICK2,COLOR0033FF;
DRAWTEXT( s1,L*0.965 , 'A'),COLOR00FFFF,LINETHICK3,ALIGN1;
DRAWTEXT( s2,L*0.965 , 'B'),COLOR00FFFF,LINETHICK3,ALIGN1;
DRAWTEXT( s3,L*0.965 , 'C'),COLOR00FFFF,LINETHICK3,ALIGN1;
DRAWTEXT( s4,L*0.965 , 'D'),COLOR00FFFF,LINETHICK3,ALIGN1;

202108211315.jpg

202108211315.jpg

 

回复

使用道具 举报

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

本版积分规则