通达信上线买入持有及选股指标公式
2021/2/12 18:36:32
N:=38;
M:=7;
VAR1:=(HIGH+3*LOW+CLOSE)/5;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
VAR4:=(VAR2-VAR3)*5;
VAR5:=IF(VAR4>=1000,1000,IF(VAR4<=VAR1,VAR1,VAR4));
VAR6:=FORCAST(FORCAST(VAR5,N),M);
VAR7: IF(VAR5>VAR6,VAR5,VAR6),COLORRED;
VAR8: IF(VAR5<VAR6,VAR5,VAR6),COLORGREEN;
VAR9: FORCAST(FORCAST(VAR5,N),M),LINETHICK1,COLORYELLOW,DOTLINE;
{
选股公式:
N:=38;
M:=7;
VAR1:=(HIGH+3*LOW+CLOSE)/5;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
VAR4:=(VAR2-VAR3)*5;
VAR5:=IF(VAR4>=1000,1000,IF(VAR4<=VAR1,VAR1,VAR4));
VAR6:=FORCAST(FORCAST(VAR5,N),M);
VAR7:=IF(VAR5>VAR6,VAR5,VAR6);
XG:VAR7;
}
投股票 网 www.tou18.c n
股市公式下载推荐