通達信短中長低位共振指標公式
MA60:=MA(CLOSE,60);
MA120:=MA(CLOSE,120);
初2加3牛:=EXIST(CROSS(MA60,MA120),89) AND MA60>MA120 AND C>MA120 AND MA60>REF(MA60,1)
AND MA120>REF(MA120,1) AND C
股價跌透:=IF(C
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,LINETHICK2;
K1:=SMA(RSV1,2,1);
D1:=SMA(K1,2,1);
J1:=3*K1-2*D1,COLOR0000FF,LINETHICK2;
RSV2:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,LINETHICK2;
K2:=SMA(RSV2,2,1);
D2:=SMA(K2,2,1);
J2:=3*K1-2*D1,COLOR0000FF,LINETHICK2;
RSV4:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,LINETHICK2;
K4:=SMA(RSV4,2,1);
D4:=SMA(K4,2,1);
J4:=3*K4-2*D4,COLOR0000FF,LINETHICK2;
RSV5:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100,LINETHICK2;
K5:=SMA(RSV5,2,1);
D5:=SMA(K5,2,1);
J5:=3*K5-2*D5,COLORFF00FF,LINETHICK2;
低短彈買:=LONGCROSS(J2,10,3) AND 股價跌透,COLORAAAAAA;
牛短線買:=LONGCROSS(J2,10,3) AND 初2加3牛,COLOR00FFFF;
中線買:LONGCROSS(J1,10,3) AND 股價跌透,COLORFF00FF;
A4:=LONGCROSS(J4,10,3);
A5:=LONGCROSS(J5,10,3);
GZBT1:=FILTER(COUNT(A4 OR A5,2)=2,2);
GZBT2:=A4 AND A5 AND 中線買;
短共振買:=低短彈買 AND 中線買;
長共振買:=GZBT1 OR GZBT2 AND 股價跌透;
{基本面部分}
LTP:=FINANCE(7)
MGSY:=FINANCE(33)>0.02 AND BARSCOUNT(C)>30;
SYL:=C/FINANCE(33)5;
JZC:=FINANCE(34)>2;{ 每股淨資產}
{通達信去掉*、S、ST}
S2:=IF(NAMELIKE('S'),0,1);
S3:=IF(NAMELIKE('*'),0,1);
GJFW:=DYNAINFO(7)>3 AND DYNAINFO(7)
XGJ:=LTP AND MGSY AND SYL AND JZC AND S2 AND S3 AND GJFW;
短優共振:短共振買 AND XGJ,COLOR0078FF,LINETHICK2;
長優共振:長共振買 AND XGJ,COLOR0000FF,LINETHICK2;