以下是通达信指标源码和使用说明
使用说明
根据个股的具体情况选择适合的时间周期,如5分钟、15分钟、30分钟等。
组合上述指标,根据投资者的策略和偏好,使用相应的参数进行计算。
分析指标的数值和走势,结合股票价格的走势进行综合判断。
当指标出现一定的信号时,可以采取相应的交易策略,如买入、卖出或持有。
通达信短线指标源码:
强弱指数:(C-L)/(H-L)*100,COLORGREEN;{//大于50要涨;低于50要跌}
X:=HHV(H,5)-REF(O,5);
Y:=C-LLV(L,5);
Z:=(HHV(H,5)-LLV(L,5))*2;
摆荡指数:(X+Y)/Z*100,COLORWHITE;
{//大于70%—看涨;小于30%—看跌;30%至70%之间—中性。}
DA:=EMA((REF(H,1)+L)/2,3);{//下跌值}
DB:=EMA((REF(L,1)+L)/2,3);{//卖出低点值}
DC:=EMA((H+L+C)/3*2-H,3);{//卖出值}
次日买价:(DA+DB+DC+L)/4,LINETHICK,COLOR0089FF;{//均值}
ZA:=EMA((H+REF(L,1))/2,3);{//上涨值}
ZB:=EMA((H+REF(H,1))/2,3);{//买进高点值}
ZC:=EMA((H+L+C)/3*2-L,3);{//突破买入值}
次日卖价:(ZA+ZB+ZC+H)/4,LINETHICK,COLOR00FFFF;{//均值};
VAR2:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*200*10;
力度:SMA(VAR2,5,1),COLORGREEN;
卖出区:1500,COLORYELLOW;
VAR3:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
VAR4:=(IF(CLOSE OPEN,VAR3*(HIGH-LOW),IF(CLOSE OPEN,VAR3*(HIGH-OPEN+CLOSE-LOW),VOL/2))/(IF(CLOSE OPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE OPEN,0-VAR3*(HIGH-LOW),0-VOL/2))*(-1))-IF(CLOSE OPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE OPEN,0-VAR3*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSE OPEN,VAR3*(HIGH-LOW),IF(CLOSE OPEN,VAR3*(HIGH-OPEN+CLOSE-LOW),VOL/2)));
VAR5:=AMOUNT/(100*VOL);
VAR6:=MA(VAR5,40);
VAR7:=100*(CLOSE-VAR6)/VAR6;
底部追击:IF(VAR4 0ANDVAR7 -12ANDCLOSE/OPEN 1.08,300,200),COLORGREEN;
STICKLINE(VAR4 0ANDVAR7 -12ANDCLOSE/OPEN 1.08,1200,200,10,0),COLORGREEN;
买进:IF(VAR4 0ANDVAR7 -12ANDCLOSE/OPEN 1.05,300,200),COLORMAGENTA;
STICKLINE(VAR4 0ANDVAR7 -12ANDCLOSE/OPEN 1.05,800,200,6,1),COLORMAGENTA;
VAR8:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
VAR9:=SMA(VAR8,3,1);
VARA:=SMA(VAR9,3,1);
D:SMA(VARA,5,1)*20,COLORCYAN;
VAR1:=(CLOSE*2+HIGH+LOW)/4;
SK:EMA(VAR1,13)-EMA(VAR1,21),colorred;
SD:EMA(SK,2);
多方能量:2*(SK-SD)*3.8,COLORFF00FF,LINESTICK;
空方能量:(-2)*(SK-SD)*3.8,LINESTICK;
强弱分界:0,CIRCLEDOT;
通达信短线指标截图