大智慧MA10操作主图指标
源码
CG:ma(C,10),linethick2,coloryellow;
STICKLINE(CLOSE>cg,OPEN,CLOSE,6,1),
STICKLINE(CLOSE=cg,OPEN,CLOSE,6,1),
STICKLINE(CLOSE>cg,LOW,OPEN,0.8,1),
STICKLINE(CLOSE=cg,LOW,OPEN,0.8,1),
STICKLINE(CLOSE>cg,CLOSE,HIGH,0.8,1),COLORRED;
STICKLINE(CLOSE=cg,CLOSE,HIGH,0.8,1),COLORRED;
STICKLINE(CLOSE<cg,CLOSE,OPEN,6,0),
STICKLINE(CLOSE=cg,CLOSE,OPEN,6,0),
STICKLINE(CLOSE<cg,OPEN,LOW,0.8,0),
STICKLINE(CLOSE=cg,OPEN,LOW,0.8,0),
STICKLINE(CLOSE<cg,HIGH,CLOSE,0.8,0),COLORgreen;
STICKLINE(CLOSE=cg,HIGH,CLOSE,0.8,0),COLORgreen;
{MA10拐点}
ma10:=ma(c,10);
ma10gdxg:=if(ma10>ref(ma10,1) and ref(ma10,1)<ref(ma10,2) and
ref(ma10,2)<ref(ma10,3),1,0);
ma10拐点:STICKLINE(ma10gdxg and count(ma10gdxg,10)=2,h*1.1,l*0.9,5,0),colorffffff;