马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
股圣至尊软件的价值在于其股票池,是高手每天人工选出的,但其软件指标,诸如股圣操盘,股圣筹码,股圣波段,股圣超短,真的平常的很,怎能称得上是精品呢!
特将其源码附上,仅供大家研究参考。
指标大智慧源码附下(股圣操盘,股圣筹码,股圣波段,股圣超短),回复可见。
-
- {股圣操盘}
- 买线:=EMA(C,2);
- 卖线:=EMA(SLOPE(C,21)*20+C,42);
- BU:=CROSS(买线,卖线);
- SEL:=CROSS(卖线,买线);
- DRAWICON(BU,L-0.3,7);
- DRAWICON(SEL,H+0.4,8);
- DRAWTEXT(SEL,H+0.1,'卖出');
- STICKLINE(买线>=卖线,LOW,HIGH,0,1),COLORRED;
- STICKLINE(买线>=卖线,CLOSE,OPEN,8,0),COLORRED;
- STICKLINE(买线<卖线,LOW,HIGH,0,1),COLORGREEN;
- STICKLINE(买线<卖线,CLOSE,OPEN,8,0),COLORGREEN;
- STICKLINE(BU,OPEN,CLOSE,8,0),COLORYELLOW;
- STICKLINE(SEL,OPEN,CLOSE,8,0),COLORBLUE;
- 主力:EMA(CLOSE,10),COLORRED;
- 散户:EMA(CLOSE,5),COLORWHITE;
- 绿降:(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,COLORGREEN,LINETHICK1;
- 操盘:MA(CLOSE,9),COLORCYAN,LINETHICK2;
- 界点:MA(CLOSE,20),COLORMAGENTA;
- LC:=REF(CLOSE,1);
- RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3
- ,1)) * 100);
- FF:=EMA(CLOSE,3);
- MA15:=EMA(CLOSE,21);
- DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'建仓'),COLORYELLOW;
- AA:=(HHV(HIGH,20) - (2 * (HIGH - LOW)));
- BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
- SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE);
- BBB:=BARSLAST(BB);
- SSSB:=BARSLAST(SSS);
- B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1)));
- B1B:=BARSLAST(B1);
- B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3));
- B2B:=BARSLAST(B2);
- B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2));
- DRAWTEXT((B1 = 1),(LOW - 0.1),'加仓'),COLORYELLOW;
- {选股}
- 建仓: CROSS(FF,MA15),COLORWHITE,LINETHICK0;
- 加仓: (B1 = 1),COLORYELLOW,LINETHICK0;
- 买入: BU, COLORYELLOW,LINETHICK0;
- 卖出: SEL, COLORBLUE,LINETHICK0;
-
- {股圣筹码}
- 主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORFF00FF;
- 指数趋势:EMA(1250*(INDEXC-LLV(INDEXL,34))/HHV(INDEXH,34)-LLV(INDEXL,34),3),COLORYELLOW,linethick0;
- 主力筹码集中度:WINNER(C)*100,COLORRED;
- 散筹筹码集中度: (WINNER(C*1.1)-WINNER(C*0.9))*100,COLORGREEN;
- 启:(主力持仓+主力筹码集中度+散筹筹码集中度)/2,COLORFF6699;
- 强弱分界:80,COLORFFFFFF;
-
- {股圣波段}
- RSV:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
- GS0:SMA(RSV,3,1),COLORRED,LINETHICK1;
- GS1:SMA(GS0,3,1),COLORYELLOW,LINETHICK1;
- RSV1:=(CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*100;
- GS2:SMA(RSV1,5,1),COLORFF00FF,LINETHICK1;
- GS3:SMA(GS2,10,1),COLORGREEN,LINETHICK1;
- 超卖:18,COLORWHITE;
- 超买:85,COLORBLUE;
- STICKLINE(GS0>GS1,GS0,GS1,5,0),COLORRED;
- STICKLINE(GS0<=GS1,GS0,GS1,5,0),COLORYELLOW;
- STICKLINE(GS2>GS3,GS2,GS3,5,0),COLORFF00FF;
- STICKLINE(GS2<=GS3,GS2,GS3,5,0),COLORGREEN;
- 控盘开始: CROSS(GS2,GS3),COLORWHITE,LINETHICK0;
- 控盘结束: CROSS(GS3,GS2),COLORWHITE,LINETHICK0;
- 控盘强度:GS2-GS3,COLORFF00FF,LINETHICK0;
- 拉升开始:CROSS(GS0,GS1),COLORWHITE,LINETHICK0;
- 拉升结束:CROSS(GS1,GS0),COLORWHITE,LINETHICK0;
- 拉升强度: GS0-GS1,COLORRED,LINETHICK0;
-
- {股圣超短}
- refline:0;
- VAR1:=(2*CLOSE+HIGH+LOW)/4;
- VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
- J:(VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
- D:MA(J,3),COLORWHITE;
- K:MA(J,1),COLORYELLOW;
- DRAWTEXT(CROSS(K,D),K,'买'),COLORRED;
- DRAWTEXT(CROSS(D,K),D,'卖'),COLORGREEN;
- 买:CROSS(K,D),COLORRED,LINETHICK0;
- 卖:CROSS(D,K),COLORGREEN,LINETHICK0;
复制代码
|