合成BUY指标 (源码)
通达信合成BUY指标公式股票软件源码如下:
LC := REF(CLOSE,1);
RSI:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORBLUE,LINETHICK1;
WR:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
WR反向:(0-WR)-100,COLORBLUE;
VAR1:=REF(CLOSE,1);
标尺: SMA(MAX(CLOSE-VAR1,0),5,1)/SMA(ABS(CLOSE-VAR1),5,1)*100,COLORBLUE;
VAR2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
VAR3:=SMA(VAR2,5,1);
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1);
浪: 3*VAR4-2*VAR5, COLORCYAN;
波: VAR4, COLORGREEN;
段: VAR5, COLORRED;
VAR6:=CROSS(VAR3,VAR4) AND VAR4<25;
STICKLINE(VAR6,0,VAR4+5,1,1), COLORGREEN;
VAR7:=CROSS(VAR4,VAR5) AND VAR4<25;
VAR8:=VAR7 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;
{www.gpxiazai.com 股票软件下载网_通达信股票指标公式}
STICKLINE(VAR7,0,VAR4+5,1,1),COLORGREEN;
DRAWTEXT(VAR7 AND COUNT(VAR7,10)=1,VAR4+15,'BUY');
STICKLINE(VAR8,0,VAR4+5,1,1),COLORGREEN;
DRAWTEXT(VAR8 AND COUNT(VAR8,10)=1,VAR4+5,'放量');
VAR9:=CROSS(VAR3,VAR4) AND VAR4>80 AND VAR4>VAR5;
STICKLINE(VAR9 AND COUNT(VAR9,5)=1,VAR4-5,100,1,1),COLORYELLOW;
VARA:=CROSS(VAR5,VAR4) AND VAR4>80;
STICKLINE(VARA,VAR4-5,100,1,1), COLORRED;
DRAWTEXT(VARA AND COUNT(VARA,10)=1,VAR4-15,'S'), COLORRED;
Y: -2;
B: 99;
T: 79;
X: 19;
- 上一篇公式:买卖力道指标 (源码)
- 下一篇公式:万手买卖指标 (源码)