股市当中有哪些好用的指标,带源码的?

指标不是万能的,不是万能钥匙,灵丹妙药,指标五花八门,林林总总,不计其数。每一类指标只能反映股票运行规律的一个侧面。

我自以为是的适合自己的好用的主图指标如下:

DRAWKLINE(H,O,L,C);

涨停1:=(C/REF(C,1))>=1.095 AND (C/REF(C,1))<=1.105;

STICKLINE(涨停1,O,C,4,0),COLORYELLOW;

涨停2:=(C/REF(C,1))>1.105 AND (C/REF(C,1))<=1.195;

STICKLINE(涨停2,O,C,4,0),COLORLIRED;

涨停3:=(C/REF(C,1))>1.195 ;

STICKLINE(涨停3,O,C,4,0),COLORMAGENTA;

EXPMA17:EXPMEMA(C,17)COLORMAGENTA LINETHICK2;

MA55:MA(C,55) COLORWHITE;

MA89:MA(C,89)COLORYELLOW ;

MA144:MA(C,144) COLORRED LINETHICK2;

CCL:=ABS((2*CLOSE HIGH LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);

DDL:=DMA(CLOSE,CCL);

上:=(1 7/100)*DDL,DOTLINE,COLORGREEN;

下:=(1-7/100)*DDL,DOTLINE,COLORGREEN;

中:=(上 下)/2,DOTLINE,COLORGREEN;

上上:=EMA(上,181),DOTLINE,COLORRED;

下下:=EMA(下,181),DOTLINE,COLORRED;

中中:=EMA(中,181),DOTLINE,COLORRED;

DRAWICON(上>=上上,上上,17);

主十增仓:10*WINNER(CLOSE*0.9)*8,NODRAW COLORYELLOW;

十换手:SUM(VOL/CAPITAL*100,10),NODRAW COLORWHITE;

ER:=V/FINANCE(7)*100;

MAXCYC:=DMA((C O)/2,ER/TMA(ER,(1-ER),1));

T1T:=BARSLAST(C>MAXCYC*POW(1.1,0.9));

T2T:=BARSLAST(C<MAXCYC*POW(1.1,-0.9));

T3T:=CROSS(T1T,T2T) OR CROSS(T2T,T1T) OR BARSSINCE(T1T 1)=0 OR BARSSINCE(T2T 1)=0 OR BARSCOUNT(C)=0;

T4T:=REF(MAXCYC,BARSLAST(T3T));

主力盈利:LN(C/T4T)/LN(1.1)*10,NODRAW;

{盈利天:BARSLASTCOUNT(主力盈利>0) COLORMAGENTA,NODRAW;}

获利比例:WINNER(CLOSE)*100,NODRAW;

DRAWICON(获利比例>0 AND 获利比例<=2,L*0.98,9);

DRAWICON(获利比例>2 AND 获利比例<=5,L*0.98,23);

P1:=90;

AO:=P1 (100-P1)/2;

BO:=(100-P1)/2;

CCO:=COST(AO);

DDO:=COST(BO);

筹码集中度:(CCO-DDO)/(CCO DDO)*100/2,COLORRED,NODRAW;

DRAWICON(获利比例>80 AND 筹码集中度<10,L*0.98,25);

翻倍:=REFDATE(REF(LLV(LOW,90),3),DATE)=LOW AND (CLOSE-LOW>0-CLOSE OR OPEN-LOW>CLOSE-OPEN);

STICKLINE(翻倍,H,H*1.2,2,0),COLORLIRED;

DRAWTEXT(翻倍,H*1.2,'机会来了'),COLORYELLOW;

DRAWTEXT(翻倍,H*1.15,'坚决持有'),COLORCYAN;

DRAWTEXT(翻倍,H*1.1,'后市暴涨'),COLORMAGENTA;

N:=1.5;

M:=3;

DIFF:=EMA((EMA(CLOSE,N*12)-EMA(CLOSE,N*26))/EMA(CLOSE,N*26)*1000,M);

DEAF:=EMA(DIFF,N*9),COLOR000088;

加仓:IF(DIFF>=REF(DIFF,1) AND DEAF<REF(DEAF,1),DIFF,DRAWNULL),COLORLIRED,NODRAW;

短线出局:=IF(DIFF<REF(DIFF,1) AND DEAF>REF(DEAF,1),DIFF,DRAWNULL),NODRAW;

STICKLINE(加仓 ,C,C*1.0015,8,0),COLORYELLOW;

感谢阅读,欢迎关注提问,共同提高!

(0)

相关推荐