抄底王牌指标公式 源码
-
相关简介:抄底王牌指标公式 源码 VAR1:=REF(CLOSE,1); VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100,COLORYELLOW; VAR21:IF(VAR220,40,20),COLORRED; VAR22:IF(VAR280,60,80),COLORFFFF50; VAR2:STICKLINE(FILTER(REF(VAR2,1)20 AND VAR2REF(VAR2,1),5),20,40,8,0),COLO
-
文章来源:股海网作者:股海网发布时间:2016-08-08浏览次数:
抄底王牌指标公式
源码
VAR1:=REF(CLOSE,1);
VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100,COLORYELLOW;
VAR21:IF(VAR2<20,40,20),COLORRED;
VAR22:IF(VAR2>80,60,80),COLORFFFF50;
VAR2↑:STICKLINE(FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5),20,40,8,0),COLORRED;
VAR2↓:STICKLINE(FILTER(REF(VAR2,1)>80 AND VAR2<REF(VAR2,1),5),60,80,8,0),COLORFFFF50;
DRAWTEXT(FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5),40 ,'买入' ),COLORFFFFFF;
DRAWTEXT(FILTER(REF(VAR2,1)>80 AND VAR2<REF(VAR2,1),5),60 ,'卖出' ),COLORFFFFFF;
80,COLORGREEN;
20,COLORRED;