P1:=3;P2:=5;P3:=10;P4:=20;P5:=30;
DRAWTEXT(800,0,'ZS2008'),LINETHICK3,COLORYELLOW;
EMA(CLOSE,P1);
EMA(CLOSE,P2);
EMA(CLOSE,P3);
EMA(CLOSE,P4);
EMA(CLOSE,P5);
VAR0:=IF(CLOSE > REF(CLOSE,1),88,0);
VAR1:=IF(CLOSE/REF(CLOSE,1) > 1.05 AND HIGH/CLOSE < 1.01 AND VAR0 > 0,91,0);
DRAWTEXT(VAR1 > 90,LOW,'抓板去'),COLORYELLOW;
VAR327:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010
AND IF(CLOSE>REF(CLOSE,1),88,0)>0, 91, 0);
DRAWTEXT(VAR327>90,LOW*0.97,'追'),COLORYELLOW;
DRAWTEXT(FILTER((VAR327>90),45),(LOW)*(0.89),'★大胆搏 '),COLORGREEN;
DRAWTEXT(FILTER((VAR327>90),35),(LOW)*(0.99),'★加仓'),COLORRED;
735511189.jpg
|