以下是通达信买卖线公式

通达信买卖线公式

{买卖线}
{N:2,100,50; N1:2,100,50; N3:2,100,50}

RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
RSV1:=(C-MA(C,4))/MA(C,4)*100;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,30);
VAR6:=HHV(VAR4,30);
VAR7:=IF(MA(CLOSE,58),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
K:=SMA(RSV,5,1);
D:=SMA(K,3,1);
J:=3*K-2*D;更多指标公式:www.shenqizhibiao.com
AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
AA5:=SMA(AA4,13,8);
走势:=CEILING(SMA(AA5,13,8)),COLORRED,LINETHICK2;
AA6:=SMA(AA3,21,8);
买观注:STICKLINE(走势-AA6<-65,0,5,18,1),COLORBROWN;
卖观注:STICKLINE(走势-AA6>85,100,92,15,1),COLORFFFF00;
吸筹:STICKLINE(VAR9>-120,50,50+(VAR9/2),8,1),COLORRED;
MACD:EMA(EMA(RSV1,7),7)*8,NODRAW,COLORWHITE;
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),50,50+MACD,2.5,0),COLORDD55CC;
STICKLINE(MACD>=0 AND MACD<=REF(MACD,1),50,50+MACD,2.5,1),COLORDD55CC;
STICKLINE(MACD<=0 AND MACD>=REF(MACD,1),50,50+MACD,2.5,1),COLOR00D080;
STICKLINE(MACD<=0 AND MACD<=REF(MACD,1),50,50+MACD,2.5,0),COLOR00D080;
主力:EMA(100*(C-LLV(LOW,30))/(HHV(H,30)-LLV(LOW,30)),3), COLORRED,LINETHICK2;
散户:100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60)),COLORWHITE;
起涨线:10,COLORWHITE,LINETHICK1;
加仓线:30,COLORFF00FF,LINETHICK1;
满仓线:50,COLORYELLOW;
持仓线: 65,COLOR00FF00;
继涨线:80,COLORLIBLUE,LINETHICK1;
顶:100,COLORFFFF00,LINETHICK2;
底:0,COLORBROWN,LINETHICK3;
持仓线: 65,COLOR00FF00;
继涨线:80,COLORLIBLUE,LINETHICK1;
关注顶:100,COLORFFFF00,LINETHICK2;
关注底:0,COLORBROWN,LINETHICK3;;
 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。