最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 通达信公式 > 通达信股票公式之多空均衡

通达信股票公式之多空均衡

来源:网络 点击: 时间:2022-12-16 20:20:09

  通达信股票公式之多空均衡

  再现经典指标 多空均衡

  多:EMA(C,3),COLORYELLOW;

  空:EMA(C,5),COLOR00FF00;

  均衡:EMA(空,5),COLORWHITE;

  varF1:=COUNT(CROSS(多,均衡),2)=1;

  varF2:=COUNT(CROSS(空,均衡),2)=1;

  ZAI:=FILTER(varF1 AND varF2,2);

  DRAWTEXT(ZAI,均衡*0.98,‘ 主升行情’),color00ff00;

  VV2:=REF(CLOSE,1);

  VV3:=SMA((CLOSE-VV2),6,1)/SMA(ABS(CLOSE-VV2),6,1)*100;

  DRAWICON(REF(VV3,1)》81 AND VV3《80,HIGH,2);

  DRAWTEXT(REF(VV3,1)》81 AND VV3《80,HIGH,‘ 沽空。小心了↓’),COLORYELLOW;

  VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;

  DRAWTEXT(IF(CLOSE《VF1 AND VOL/240》MA(VOL,5)/240 AND CLOSE》=REF(CLOSE,1)*1.08 AND CLOSE《MA(CLOSE,13)*1.3,1,0),LOW,‘☆’),COLORRED;

  varA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;

  varB:=EMA(0.667*REF(varA,1)+0.333*varA,5);

  DRAWTEXT(IF(VOL》=1.3*MA(VOL,5) AND COUNT(varA》=varB AND varA《-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,‘★注意买入’);

  varR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;

  DRAWICON(CROSS(82,varR1),HIGH,2);

  DRAWTEXT(CROSS(82,varR1),HIGH,‘短空↓’),COLORYELLOW;

  var1:=(HIGH+LOW+OPEN+2*CLOSE)/5;

  var2:=REF(var1,1);

  var3:=SMA(MAX(var1-var2,0),10,1)/SMA(ABS(var1-var2),10,1)*100;

  HY3:=IF(COUNT(var3《20,5)》=1 AND COUNT(var1=LLV(var1,10),10)》=1 AND CLOSE》=OPEN*1.038 AND VOL》MA(VOL,5)*1.2,1,0);

  DRAWTEXT(HY3,LOW,‘ 注意买入’),COLORyellow;

  S:=MA(VOL,5)/MA(VOL,60);

  A:=MA(S,5);

  BIAS:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;

  F:=MA(S,121);

  RSV:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;

  K:=SMA(RSV,15,1);

  D:=SMA(K,15,1);

  J:=3*K-2*D;

  LC:=REF(CLOSE,1);

  RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

  DRAWTEXT(CROSS(84,RSI) , HIGH,‘逃顶!’),COLORYELLOW ;

  S1:=IF((J《11 AND BIAS》-11 AND CROSS( S,F) AND (S-F)》0.010),2,0);

  DRAWTEXT(S1=2,LOW,‘关注!’), COLORGREEN;

  中轨:HHV(MA(H,13),13),COLORRED,LINETHICK2;

  趋势 : LLV(MA(H,13),1),COLORGREEN,LINETHICK2;

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

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

    Top