N:=7;M1:=3;M2:=3;P:=12;
LC:=REF(CLOSE,1);
生命线:SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*135,LINETHICK2;
逃顶:135,COLORFFFF00,LINETHICK2;
拉升:=50;
抄底:16,LINETHICK2;
判断:80,COLORYELLOW,LINETHICK2;
换手:=VOL/CAPITAL*100;
十日换手:SUM(换手,10),COLORWHITE,NODRAW;
主力平均成本:( COST(4)),COLORFF00FF,NODRAW;
RS:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RS,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D,COLORFFFF00;
进场:IF(CROSS(J,0) ,100,50),COLORGREEN;
SVOL:=INTPART(SUM(V,0)/CAPITAL);
TJ0:=SVOL>REF(SVOL,1) OR BARSSINCE(CLOSE)=0;
S1:=BARSLAST(TJ0)+1;
TJ2:=S1REF(YC_买进,1),LINETHICK0;
YC_加仓:=((CLOSE-REF(MA(CLOSE,18),1))/18+MA(CLOSE,18))*1.004;
加仓条件:=CROSS(CLOSE,YC_加仓) AND YC_加仓>REF(YC_加仓,1),LINETHICK0;
DRAWTEXT(买进条件 AND 加仓条件 =1,拉升+6,’买’),COLORRED;
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*5,LINETHICK2,COLORFF00FF;
BB:=RSI>4.1;
CC:=RSI>4.5;
DRAWTEXT(BB,105,’顶’)COLORGREEN;
DRAWTEXT(CC,105,’绝顶’),COLORFFFF00;
获利:=WINNER(C)*100,NODRAW;
STICKLINE(获利>99.6,36,16,2,0),COLORGREEN;
STICKLINE(获利>99.6,40,20,2,0),COLORGREEN;
B1:=(((HIGH+LOW)+CLOSE)/3);
B2:=HHV(B1,15);
B3:=LLV(B1,15);
B4:=(B2 – B3);
B5:=(MA(((B1 – B3) / B4),2) * 100);
RSVDD:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
G:=3*SMA(RSVDD,3,1)-2*SMA(SMA(RSVDD,3,1),3,1);
ZXNH:=”ZXNH.ZXNH”;
买:=B5=-4.2 AND REF(跌幅,1)13 AND 振幅>=5 AND 振幅REF(C,1) AND NIU,80,60,1,0),COLORFF2400;
VARAWW:=(HIGH – LOW);
VARB1:=ABS((OPEN – CLOSE));
VAR4:=(HIGH – IF((CLOSE > OPEN),CLOSE,OPEN));
VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) – LOW);
VAR6:=((VARB1 / VARAWW) * VOL);
VAR7:=((VAR4 / VARAWW) * VOL);
VAR8:=((VAR5 / VARAWW) * VOL);
VAR9:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));
VARBW:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));
DRAWTEXT((((((VAR6 > (MA(VOL,5) * 2)) AND (VAR6 >= VAR7)) AND (VAR6 >= VAR8))
AND (CLOSE > OPEN)) OR ((VOL > (MA(VOL,5) * 3)) AND VARBW)),110,’◆强2天’),COLORFF00FF;
VAR2:=LOW;
VAR3:=HIGH;
警戒线:= 2.8;
减仓线:= 3.2 ;
卖出线:= 3.5;
动力线:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
DRAWTEXT(CROSS(动力线,减仓线),120,’注意风险!!’);
DRAWTEXT(CROSS(动力线,卖出线),110,’出局 ‘);
MA9:=EMA(CLOSE,9);
LUP:=EXPMA(MA9*1.14,5);
XGW:=CLOSE>LUP AND C>REF(C,1)*(1+9.96/100) AND C=H;
DRAWTEXT (XGW,95,’小心’),COLORGREEN;
信号:=COUNT(REF(EMA(C,3),1)REF(EMA(C,3),1) ;
DRAWICON(信号,103,25);
快线:=EMA((CLOSE+LOW)/2,8);
均衡:=EMA(EMA((CLOSE+LOW)/2,20),8);
DRAWTEXT(CROSS(快线,均衡),120,’减仑’),COLOR00FF00;
LONGGGG发财线:=38,COLORFF3311;
LONGGGG趋势线:=51,COLORFF1155;
OK:=REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,LINETHICK2,COLORRED;
RSI2:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF;
RSI3:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100,COLORFFFFFF;
RSI4:=SMA(RSI3,7,1),LINETHICK2,COLOR00CD00;
趋势A:=MA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9,COLORFFFFFF;
趋势B:=MA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9,COLOR3377DD;
趋势C:=EMA(((CLOSE-LLV(LOW,38))/(HHV(HIGH,38)-LLV(LOW,38))*50),17)+18,COLORYELLOW,LINETHICK2;
W1:=MA(趋势A,7)*1.372,COLORRED,LINETHICK2;
W2:=W1*1.0887;
W3:=(1.5*(趋势B+RSI4)-(W2+W1))+12,COLOR3377FF,COLORRED,LINETHICK2,COLORFF0000;
W4:IF((CROSS(W1,趋势C) OR CROSS(W1,W3) AND W3
【股票知识干货】【通达信】短线专用指标公式
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。