以下是大智慧笑脸副图源码
均5:MA(CLOSE,5), COLOR0000ff;
均10:MA(CLOSE,10) ,COLOR00ff00;
均30: MA(CLOSE,30) , COLORgreen;
均60: MA(CLOSE, 60) ,colorred,POINTDOT ,linethick2;
均250: MA(CLOSE, 250),colorff9933 ,linethick2 ;
魔鬼通道上:均30 + 2*STD(CLOSE,60) ,COLORYELLOW ,pointdot ,linethick2 ;
魔鬼通道下:均30 – 2*STD(CLOSE,60) ,COLORYELLOW, pointdot, linethick2;
DRAWICON(CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1)) ,low*0.98,1);
DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)) ,high*1.02,2);
DRAWTEXT(ref(close,2)/ref(open,2)<0.95 and
ref(c,2)
ref(close,1)>ref(close,2) and
ref(close,1)>(ref(close,2)+ref(open,2))/2 and
close>ref(close,1) and
llv(low,13)=ref(low,1),low*0.96,’曙光’), coloryellow;
DRAWTEXT(REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND
REF(OPEN,1) < REF(CLOSE,2) AND
ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND
CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),low*0.96 ,’早晨’ ) ,coloryellow;
DRAWICON(REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND
REF(OPEN,1) < REF(CLOSE,2) AND
ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND
CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),c,1);
评论(0)