通信达公式破解 通达信博弈长阳副图指标公式
2016-09-25 11:31 股票知识 zhishi.southmoney.com
LC:=REF(CLOSE,1);
RSI:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORWHITE,LINETHICK1;
RSI2:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
WR:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
WR反向:=(0-WR)-100,COLORYELLOW;
RSI买点:=RSI<20 AND RSI>REF(RSI,1);
WR反向买点:=WR反向>-80 AND WR反向<REF(WR反向,1);
STICKLINE(RSI买点 AND WR反向买点,0,55,2,1),COLORYELLOW;
DRAWTEXT(RSI买点 AND WR反向买点,60,'队长'),COLORYELLOW;
IF(RSI>=50 AND RSI<=90,RSI,DRAWNULL),LINETHICK2,COLORRED;
IF(RSI<=20,RSI,DRAWNULL),LINETHICK2,COLORYELLOW;
IF(RSI>=90,RSI,DRAWNULL),LINETHICK2,COLORGREEN;
T0:=BARSCOUNT(CLOSE)>12;
T1:=CLOSE=LLV(CLOSE,12);
T2:=RSI>LLV(RSI,12);
T3:=RSI<21;
TRSI:=T0 AND T1 AND T2 AND T3 AND CLOSE/HHV(CLOSE,120)<0.7;
RSI成W底:=REF(TRSI,1) AND CLOSE>REF(CLOSE,1);
STICKLINE(RSI成W底,80,0,1,0),COLOR0000FF;
DRAWTEXT(RSI成W底,85,'W底'),COLOR0000FF;
VAR1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);
VAR2:=SUMBARS(VOL,CAPITAL);
VAR3:=IF(CLOSE>LLV(CLOSE,VAR2),1,-1);
VAR4:=IF(VAR1>LLV(VAR1,VAR2),1,-1);
VAR5:=VAR3*VAR4;
VAR6:=IF(VAR5=-1,1,0);
VAR7:="KD.K#WEEK"<20;
周KDJ低位:IF(VAR7 AND VAR6 AND CLOSE=LLV(CLOSE,5),20,0),STICK,COLORBLUE;
90 DOTLINE COLORRED;
20 DOTLINE COLORGREEN;
AA3:=BARSLAST(REF(CROSS(RSI,RSI2),1));
AB3:=REF(C,AA3+1)>C AND REF(RSI,AA3+1)<RSI AND CROSS(RSI,RSI2);
AC3:=BARSLAST(REF(CROSS(RSI2,RSI),1));
AD3:=REF(C,AC3+1)<C AND REF(RSI,AC3+1)>RSI AND CROSS(RSI2,RSI);
DRAWTEXT(AD3,RSI+0.09,'顶背'),COLORGREEN;
DRAWTEXT(AB3,RSI-0.09,'底背'),COLORMAGENTA;
IF(AB3,40,0),STICK,LINETHICK2,COLORMAGENTA;
IF(AD3,40,0),STICK,LINETHICK2,COLORGREEN;
P:=10;
A3:=REF(RSI,P)=HHV(RSI,2*P+1);
B3:=FILTER(A3,P);
C3:=BACKSET(B3,P+1);
D3:=FILTER(C3,P);{高点}
A4:=REF(RSI,P)=LLV(RSI,2*P+1);
B4:=FILTER(A4,P);
C4:=BACKSET(B4,P+1);
D4:=FILTER(C4,P);{低点}
DRAWICON(D3,RSI,2);
DRAWICON(D4,RSI,1);
博弈K线长:=100*(WINNER(CLOSE)-WINNER(OPEN));
博弈K线收盘差:=博弈K线长>=20;
HSL:=100*VOL/(FINANCE(7)/100);
(股票知识网zhishi.southmoney.com)
RSI:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORWHITE,LINETHICK1;
RSI2:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
WR:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
WR反向:=(0-WR)-100,COLORYELLOW;
RSI买点:=RSI<20 AND RSI>REF(RSI,1);
WR反向买点:=WR反向>-80 AND WR反向<REF(WR反向,1);
STICKLINE(RSI买点 AND WR反向买点,0,55,2,1),COLORYELLOW;
DRAWTEXT(RSI买点 AND WR反向买点,60,'队长'),COLORYELLOW;
IF(RSI>=50 AND RSI<=90,RSI,DRAWNULL),LINETHICK2,COLORRED;
IF(RSI<=20,RSI,DRAWNULL),LINETHICK2,COLORYELLOW;
IF(RSI>=90,RSI,DRAWNULL),LINETHICK2,COLORGREEN;
T0:=BARSCOUNT(CLOSE)>12;
T1:=CLOSE=LLV(CLOSE,12);
T2:=RSI>LLV(RSI,12);
T3:=RSI<21;
TRSI:=T0 AND T1 AND T2 AND T3 AND CLOSE/HHV(CLOSE,120)<0.7;
RSI成W底:=REF(TRSI,1) AND CLOSE>REF(CLOSE,1);
STICKLINE(RSI成W底,80,0,1,0),COLOR0000FF;
DRAWTEXT(RSI成W底,85,'W底'),COLOR0000FF;
VAR1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0);
VAR2:=SUMBARS(VOL,CAPITAL);
VAR3:=IF(CLOSE>LLV(CLOSE,VAR2),1,-1);
VAR4:=IF(VAR1>LLV(VAR1,VAR2),1,-1);
VAR5:=VAR3*VAR4;
VAR6:=IF(VAR5=-1,1,0);
VAR7:="KD.K#WEEK"<20;
周KDJ低位:IF(VAR7 AND VAR6 AND CLOSE=LLV(CLOSE,5),20,0),STICK,COLORBLUE;
90 DOTLINE COLORRED;
20 DOTLINE COLORGREEN;
AA3:=BARSLAST(REF(CROSS(RSI,RSI2),1));
AB3:=REF(C,AA3+1)>C AND REF(RSI,AA3+1)<RSI AND CROSS(RSI,RSI2);
AC3:=BARSLAST(REF(CROSS(RSI2,RSI),1));
AD3:=REF(C,AC3+1)<C AND REF(RSI,AC3+1)>RSI AND CROSS(RSI2,RSI);
DRAWTEXT(AD3,RSI+0.09,'顶背'),COLORGREEN;
DRAWTEXT(AB3,RSI-0.09,'底背'),COLORMAGENTA;
IF(AB3,40,0),STICK,LINETHICK2,COLORMAGENTA;
IF(AD3,40,0),STICK,LINETHICK2,COLORGREEN;
P:=10;
A3:=REF(RSI,P)=HHV(RSI,2*P+1);
B3:=FILTER(A3,P);
C3:=BACKSET(B3,P+1);
D3:=FILTER(C3,P);{高点}
A4:=REF(RSI,P)=LLV(RSI,2*P+1);
B4:=FILTER(A4,P);
C4:=BACKSET(B4,P+1);
D4:=FILTER(C4,P);{低点}
DRAWICON(D3,RSI,2);
DRAWICON(D4,RSI,1);
博弈K线长:=100*(WINNER(CLOSE)-WINNER(OPEN));
博弈K线收盘差:=博弈K线长>=20;
HSL:=100*VOL/(FINANCE(7)/100);
(股票知识网zhishi.southmoney.com)
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。