大智慧两次金叉主图指标公式
2017-07-28网络 编 辑:翔博软件
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;