?
?來源:程序化99
?請參考
?
買線:=EMA(C,2);
賣線:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(買線,賣線);
SEL:=CROSS(賣線,買線);
一發千鈞指導線: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK1,COLORFFFFFF;
謙穗臨界點: MA(CLOSE,27),LINETHICK1,COLOR00FFFF;
?//DRAWBAND(一發千鈞指導線,RGB(255,0,0),謙穗臨界點,RGB(0,255,0));
FILLRGN(一發千鈞指導線>謙穗臨界點,一發千鈞指導線,謙穗臨界點,RGB(255,0,0));
FILLRGN(一發千鈞指導線<謙穗臨界點,一發千鈞指導線,謙穗臨界點,RGB(0,255,0));
DRAWICON(IF(HHV(SUM(IF(C<EMA2(C,2),V,0),4)/SUM(IF(C>EMA2(C,2),V,0),4),5)>4 AND CROSS(2,SUM(IF(C<EMA2(C,2),V,0),4)/SUM(IF(C>EMA2(C,2),V,0),4)) AND C>=O,1,0),謙穗臨界點*0.98,11);
EMA(C,2);