个股趋势:MA(C,1)/MA(REF(C,18),18)*100,COLOR0000FF,LINETHICK4;
个股风险:MA(FORCAST(个股趋势,20),N),CROSSDOT,COLORFF00FF,LINETHICK2;
大盘趋势:EMA(INDEXC,1)/MA(REF(INDEXC,18),18)*100,COLORFF9900,LINETHICK2;
大盘风险:MA(FORCAST(大盘趋势,20),N),CIRCLEDOT,COLORCYAN,LINETHICK2;
DRAWICON(CROSS(个股趋势,个股风险),个股风险-0.1,13);
DRAWICON(CROSS(个股趋势,大盘风险),个股风险-0.25,9);
DRAWICON(CROSS(大盘风险,个股风险),大盘风险-0.4,6);
PM:=个股趋势,COLOR0000FF,LINETHICK2;
K1:=BACKSET(个股趋势<REF(个股趋势,1),2);
IF(K1,个股趋势,DRAWNULL), COLOR00CC33,LINETHICK4;
K2:=BACKSET(个股风险<REF(个股风险,1),2);
IF(K2,个股风险,DRAWNULL),CROSSDOT,COLORFF9900,LINETHICK2;
K3:=BACKSET(大盘风险<REF(大盘风险,1),2);
IF(K3,大盘风险,DRAWNULL),CIRCLEDOT,COLOR0066FF,LINETHICK2;
K4:=BACKSET(大盘趋势<REF(大盘趋势,1),2);
IF(K4,大盘趋势,DRAWNULL),COLOR00FFFF,LINETHICK2;
DRAWTEXT(大盘趋势=0,80,'大底将现'),COLORFFFFCC; |