好久没发帖子了,最近论坛发帖的人也不多,发个帖子给大家,梦回吹角连营,追涨停,源码分享。追涨停是很风险的,所以一定要慎重。指标只是辅助,具体交易要结合大盘和个股情况来看。
{专业追涨停}
N:=5;
XA_1:=(3*CLOSE+LOW+OPEN+HIGH)/6;
XA_2:=(20*XA_1+19*REF(XA_1,1)+18*REF(XA_1,2)+17*REF(XA_1,3)+16*REF(XA_1,4)+15*REF(XA_1,5)+14*REF(XA_1,6)+13*REF(XA_1,7)+12*REF(XA_1,8)+11*REF(XA_1,9)+10*REF(XA_1,10)+9*REF(XA_1,11)+8*REF(XA_1,12)+7*REF(XA_1,13)+6*REF(XA_1,14)+5*REF(XA_1,15)+4*REF(XA_1,16)+3*REF(XA_1,17)+2*REF(XA_1,18)+REF(XA_1,20))/210;
XA_3:=EMA(XA_2,13);
XA_4:=EMA(CLOSE,5);
XA_5:=EMA(XA_4,8);
XA_6:=EMA(XA_5,13);
XA_7:=EMA(XA_6,50);
XA_8:=REF(CLOSE,1) REF(XA_3,1) AND CLOSE XA_3;
XA_9:=CLOSE/REF(CLOSE,1) 1+0.01*N;
XA_10:=XA_3/XA_7 1+0.01*10;
XA_11:=CLOSE MA(LOW,20)*1.1;
XG:=XA_8 AND XA_9 AND XA_11;
STICKLINE(IF(XG,1,0),6,0,4,0),COLOR000088;
STICKLINE(IF(XG,1,0),6,0,3,0),COLOR0000AA;
STICKLINE(IF(XG,1,0),6,0,2,0),COLOR0000CC;
STICKLINE(IF(XG,1,0),6,0,1.4,0),COLOR0000EE;
STICKLINE(IF(XG,1,0),6,0,0.9,0),COLOR0000EE;
STICKLINE(IF(XG,1,0),6,0,0.3,0),COLORLIMAGENTA;