大智慧大盘逃顶副图指标
源码
M1:=3;M2:=8;M3:=13;M4:=89;
MID := (HIGH+LOW+CLOSE)/3;
CR:SUM(MAX(0,HIGH-REF(MID,1)),26)/SUM(MAX(0,REF(MID,1)-L),26)*100;
AA:REF(MA(CR,M1),M1/2.5+1);
BB:REF(MA(CR,M4),M4/2.5+1);
CC:REF(MA(CR,M2),M2/2.5+1);
DD:REF(MA(CR,M3),M3/2.5+1);
if( CR>REF(AA,2) AND CR <REF(AA,1) AND CR>150,AA,5);
XX:=CROSS(AA,CR);
if(XX AND CR>150,AA,0),stick,linethick2,coloryellow;