最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 公式技巧 > 新宝塔指标改成通达信的

新宝塔指标改成通达信的

来源:网络 点击: 时间:2022-12-28 10:13:02

编写要求:

新宝塔指标,请老师帮忙改成通达信的! 谢谢! var1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); var2:=REF(var1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); var3:=REF(var2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); var4:=REF(var3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); var5:=REF(var4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); var6:=REF(var5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); var7:=REF(var6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); var8:=REF(var7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); var9:=REF(var8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); varA:=REF(var9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); varB:=REF(varA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); varC:=REF(varB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); STICKLINE(var1 OR var2 OR var3 OR var4 OR var5 OR var6 OR var7 OR var8 OR var9 OR varA OR varB OR varC,CLOSE,REF(CLOSE,1),6,1),COLORRED;{红1} varD:=CLOSE=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); varF:=REF(varE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); var10:=REF(varF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); var11:=REF(var10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); var12:=REF(var11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); var13:=REF(var12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); var14:=REF(var13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); var15:=REF(var14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); var16:=REF(var15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); var17:=REF(var16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); var18:=REF(var17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); STICKLINE(varD OR varE OR varF OR var10 OR var11 OR var12 OR var13 OR var14 OR var15 OR var16 OR var17 OR var18,CLOSE,REF(CLOSE,1),6,0),COLOR00d900{FFCC66}; var19:=REF(varD OR varE OR varF OR var10 OR var11 OR var12 OR var13 OR var14 OR var15 OR var16 OR var17 OR var18,1) AND var1; STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),6,1),COLORYELLOW; var1A:=REF(var1 OR var2 OR var3 OR var4 OR var5 OR var6 OR var7 OR var8 OR var9 OR varA OR varB OR varC,1) AND varD; STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),6,2),Color00ff00{98FD}; STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),8,0),COLOR00ffff; STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),6,0),COLOR00c8ff; STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),4,0),COLOR10ecff; STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10ffff; STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR10f0ff; STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),8,0),COLORff50ff{00d900}; STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),6,0),COLORff50ff{93ffd1}; STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),4,0),COLORff50ff{93ff22}; STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),2,0),COLORff50ff{24ff22}; STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),0,0),COLORff50ff{090ff2}; 红色持股:0,COLORRED,LINETHICK0,PRECIS0; 晶红卖出:var1A,COLORFF50FF,LINETHICK0,PRECIS0; 绿色持币:0,COLOR00d900,LINETHICK0,PRECIS0; 黄色买入:var19,COLOR00ffff,LINETHICK0,PRECIS0; XMA:ma(c,5),COLORWHITE; DD5:=XMA

解答:

?VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);

?

    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top