以下是同花顺控盘指标公式

VARA:=(2*CLOSE+HIGH+LOW)/4;

VARB:=EXPMA(EXPMA(EXPMA(VARA,4),4),4);

J: (VARB-REF(VARB,1))/REF(VARB,1)*1200, COLORSTICK;

STICKLINE(J<0,0 ,J,0,0),colorligreen;

VAR1:=EMA(EMA(CLOSE,9),9);

控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;

STICKLINE(控盘<0,控盘,0,1,0),colorwhite;

A10:=CROSS(控盘,0);

无庄控盘:IF(控盘<0,控盘,0),colorwhite;

开始控盘:IF(A10,1,0),LINETHICK1,coloryellow;

STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,0),colorred;

有庄控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),colorred;

CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;

YJD:(EMA(CS,3)-50)*2,coloryellow;

极弱:-80;

强势:60;

风险:80;

弱势:-60;

LC := REF(CLOSE,1);

RSI$1:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;

RSI买:(CROSS(18,RSI$1))*(-80),colorred;

RSI卖:(CROSS(RSI$1,82))*80,colorgreen;

LC := REF(CLOSE,1);//前一日收盘价;

RSI$1:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;

RSI$2:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;

RSI$3:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;

相对强弱:=0.5*RSI$1+0.31*RSI$2+0.19*RSI$3;

wave$1:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),3,1);

wave$2:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),5,1);

wave$3:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),8,1);

短线波段:=0.5*wave$1+0.31*wave$2+0.19*wave$3;

机会区:=20,POINTDOT,colorred;

风险区:=80,POINTDOT,colorgreen;

风险系数:0.5*相对强弱+0.5*短线波段,colorwhite,LINETHICK2;

//N:=5;

//VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-

//3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),coloryellow,LINETHICK0;

//VAR2:8,colorgreen,LINETHICK0;

//上升在即: IF(CROSS(VAR1,VAR2),10,0),STICK,COLOR0000CC,LINETHICK2;

//专吸庄血: IF(VAR1<=8,5,0),STICK,colorwhite,LINETHICK2;

//DRAWTEXT(CROSS(VAR1,VAR2),80,’准备买入’),COLOR00FFFF;

//VARO5:=LLV(LOW,27);

//VARO6:=HHV(HIGH,34);

//VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;

//建仓区: IF((VARO7<10),80,100) ,COLOR00CCFF,LINETHICK1;

//0,LINETHICK2 ,COLORFFCC00;

WR:100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)),colorcyan;

 
 

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