您好,请教下关于通达信选股公式的问题?
我有一个同花顺的指标代码:VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(M...
我有一个同花顺的指标代码:VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1); VAR3:=EMA(VAR2,10); VAR4:=LLV(LOW,33); VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3); VAR6:0; 主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),colorred,NODRAW;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),colorred; 洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),colorgreen,NODRAW;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),colorgreen; 最后输出的图像请看图片,我想在通达信上筛选出(最近5天中有2天主力进场那个大红柱值大于50的股票),这样的选股公式如何编写?我自己也尝试编写了:VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1); VAR3:=EMA(VAR2,10); VAR4:=LLV(LOW,33); VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3); VAR6:0; Z1:IF(VAR5>REF(VAR5,1),VAR5,0);STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ); Z2:COUNT( Z1>50,5)>=2;通达信提示我条件选股公式输出不能超过1个!请问需要如何修改?谢谢您的帮助
展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询