通达信简单实用副图公式源码
通达信简单实用副图公式
简单实用高抛低吸通达信指标,废话不多说,源码分享
{简单实用}
N:=34;
M1:=38;
M2:=8;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
买:=IF(J<0,10,0);
条件:=CROSS(9.9,买);
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,5);
VAR3:=HHV(HIGH,5);
VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5);
MA1:=MA(VAR4,2);
STICKLINE(VAR4>MA1,VAR4,MA1,3,1),COLORRED;
STICKLINE(VAR4>MA1 AND REF(VAR4,1)<30,VAR4,MA1,3,1),COLORRED;
STICKLINE(VAR4<=MA1,VAR4,MA1,3,1),COLORFFCC66;
DRAWICON(CROSS(9.9,买),VAR4-12,5);
STICKLINE(CROSS(9.9,买),VAR4+5,MA1-4,3,1),COLORYELLOW;
STICKLINE(FILTER(VAR4>MA1 AND REF(VAR4,1)<30 ,5) ,VAR4+5,MA1-4,3,1),COLORYELLOW;
GG2:=HHV(VAR4,34);{公式网 www.gpxiazai.com}
SMA(VAR4,121,1)+1.618*STD(VAR4,21),LINETHICK2 ,COLORRED;
SMA(VAR4,121,1)-1.618*STD(VAR4,21),LINETHICK2 ,COLORGREEN;
- 上一篇公式:通达信个股综评副图指标
- 下一篇公式:通达信牛启动指标源码副图选股附图