通达信送给新友主图及选股指标公式
2020/11/22 18:37:54
VAR326:=IF(CLOSE>REF(CLOSE,1),88,0);
VAR327:=IF(CLOSE/REF(CLOSE,1)>1.050? AND HIGH/CLOSE<1.010 AND VAR326>0, 91, 0);
TJ:=FILTER(VAR327>1,5);
SG:=EMA(HHV(H,1),8),COLORMAGENTA;
X1:=EMA(CLOSE,8),COLORYELLOW;
JJ:=(H+L+3*C)/5;
VAR21:=EMA(JJ,5);VAR22:=EMA(JJ,13);VAR23:=EMA(JJ,21);VAR24:=EMA(JJ,34);
H1A:=(VAR21+VAR22+VAR23+VAR24)/4;
X4:=EMA(X1,20*3);
X6:=EMA(X1,50*3),COLORWHITE,CIRCLEDOT,LINETHICK2;
X7:=EMA(X1,50*5),COLORMAGENTA,LINETHICK2;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
卖:=(X4>X6 AND CROSS(84,RSI)),COLORYELLOW;
DRAWICON(TJ>0,L*0.9978-0.06,1);
DRAWICON(TJ>0,L*0.9978-0.62,9);
DRAWICON(卖=1,H*1.01+0.06,2);
DRAWICON(卖=1,H*1.01+0.50,6);
MA1:=MA(C,5),COLOR33FF33;
K1:=BACKSET(MA1>REF(MA1,1),2);
强:IF(K1,MA1,DRAWNULL),COLORRED,LINETHICK2;
K2:=BACKSET(MA1<REF(MA1,1),2);
弱:IF(K2,MA1,DRAWNULL),COLOR33FF33,LINETHICK2;
十:MA(C,10),COLOR33FFFF;
{
选股公式:
VAR326:=IF(CLOSE>REF(CLOSE,1),88,0);
VAR327:=IF(CLOSE/REF(CLOSE,1)>1.050? AND HIGH/CLOSE<1.010 AND VAR326>0, 91, 0);
XG:FILTER(VAR327>1,5);
}
投 股票网 www. tou18.cn
股市公式下载推荐