以下是AA 分时涨停1(无源码的请下载附件导入)
X_1:=IF(DATE<1151219 AND DATE>900101,1,0);
虎:(EXPMA(CLOSE,500*X_1)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100,COLORSTICK;
主力:EXPMA((EXPMA(CLOSE,500*X_1)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100,120)-0.0004,COLORMAGENTA,LINETHICK5;
散户:EXPMA((EXPMA(CLOSE,500*X_1)-REF(EXPMA(CLOSE,500),1))/REF(EXPMA(CLOSE,500),1)*100,200),COLORGREEN,LINETHICK5;
DRAWICON(CROSS(EXPMA(虎,120)-0.0004,EXPMA(虎,200)),EXPMA(虎,200)*1,13);
DRAWICON(CROSS(EXPMA(虎,200),EXPMA(虎,120)-0.0004),EXPMA(虎,200)*1,2);
X_2:=BETWEEN(CLOSE/(SUM(AMOUNT,BARSCOUNT(CLOSE))/SUM(VOL*100,BARSCOUNT(CLOSE))),1.05,0.95);
X_3:=IF(X_2=0,MA(CLOSE,BARSCOUNT(CLOSE)),SUM(AMOUNT,BARSCOUNT(CLOSE))/SUM(VOL*100,BARSCOUNT(CLOSE)));
DRAWICON(CROSS(CLOSE/X_3,1.03),0.02,6);
STICKLINE(CROSS(CLOSE/X_3,1.03),0.02,0,4,0),COLORYELLOW;
73666543.jpg
|