通达信副图指标公式 通达信波段王个股趋势副图指标公式
2015-4-10 10:04:48 股票入门 http://rumen.southmoney.com
{波段王,中长期个股趋势背景,底部 }
VAR21:=(INDEXC+INDEXH+INDEXL+INDEXO)/4;
VAR22:=SUMBARS(VOL,CAPITAL);
VAR23:=HHV(VAR21,VAR22);
VAR24:=LLV(VAR21,VAR22);
VAR25:=(2*VAR21-VAR24-REF(VAR24,1))/(VAR23-VAR24);
VAR26:=(VAR21-VAR24)/(VAR23-VAR24);
VAR27:=IF(VAR21《=VAR24,VAR25*60,VAR26*60);
VAR28:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);
VAR29:=EMA(VAR28,7);
VAR2A:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;
VAR2B:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;
VAR2C:=HHV(HIGH,9)-LLV(LOW,9);
VAR2D:=HHV(HIGH,9)-CLOSE;
VAR2E:=CLOSE-LLV(LOW,9);
VAR2F:=VAR2D/VAR2C*100-70;
VAR210:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VAR211:=(2*CLOSE+HIGH+LOW)/4;
VAR212:=SMA(VAR2E/VAR2C*100,3,1);
VAR213:=LLV(LOW,34);
VAR214:=SMA(VAR212,3,1)-SMA(VAR2F,9,1);
VAR215:=IF(VAR214》100,VAR214-100,0);
VAR216:=HHV(HIGH,34);
VAR217:=EMA((VAR211-VAR213)/(VAR216-VAR213)*100,8);
VAR218:=EMA(VAR217,5);
STICKLINE(VAR217-VAR218》0,5,12.5,4.2,0), ,{COLORRED}COLOR0099FF ; {COLORCYAN}
STICKLINE(VAR217-VAR218《0,5,12.5,4.2,0), ,{COLORGREEN}COLORFFFF00 ;
DRAWTEXT(CURRBARSCOUNT=1,8.5,‘_安全区’),{COLORMAGENTA}COLOR0099FF;{超卖安全区}
{治势能臣动力线}
动力线:=EMA((C-LLV(LOW,10))/(HHV(HIGH,25)-LLV(LOW,10))*100,4),LINETHICK2,{COLORWHITE}COLOR008888;
{短线骁骑吸筹值}
XVAR2:=REF(LOW,1);
XVAR3:=SMA(ABS(LOW-XVAR2),3,1)/SMA(MAX(LOW-XVAR2,0),3,1)*100;
XVAR4:=EMA(IF(CLOSE*1.3,XVAR3*10,XVAR3/10),3);
XVAR5:=LLV(LOW,13);
XVAR6:=HHV(XVAR4,13);
XVAR7:=IF(MA(CLOSE,34),1,0);
XVAR8:=EMA(IF(LOW《=XVAR5,(XVAR4+XVAR6*2)/2,0),3)/618*XVAR7;
XVAR9:=IF(XVAR8》100,100,XVAR8)*0.675+12.5;
STICKLINE(XVAR9》-120,12.5,XVAR9,8,1),COLORYELLOW;
{};
MA1:=5;M2:=10;M3:=30;M4:=60;
J1:=ATAN((MA(C,MA1)/REF(MA(C,MA1),1)-1)*100)*180/3.1416;
J2:=ATAN((MA(C,M2)/REF(MA(C,M2),1)-1)*100)*180/3.1416;
J3:=ATAN((MA(C,M3)/REF(MA(C,M3),1)-1)*100)*180/3.1416;
J4:=ATAN((MA(C,M4)/REF(MA(C,M4),1)-1)*100)*180/3.1416;
均线5:=J1;
均线10:=J2;
均线30:=J3;
均线60:=J4;
XG1:=J1》=0 AND 0》=REF(0,1);
XG2:=J2》=0 AND 0》=REF(0,1);
XG3:=J3》=0 AND 0》=REF(0,1);
XGX:=CROSS(XG1,XG2);
XGY:=CROSS((XG1,XG2),XG3);
低买1:IF(XGX,55.5,12),COLOR0099FF{COLORYELLOW},LINETHICK2;{右侧买};
低买2:IF(XGY,55.5,12),COLORLIRED{COLORYELLOW},LINETHICK2;{右侧买};
N:=9;M01:=3;M02:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M01,1),COLORCYAN;
D:SMA(K,M02,1),COLOR008888;
J:3*K-2*D,COLORAAAAAA;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。