TD结构9转 解密公布源码 提供tne格式通达信公式

2017-07-05    来源:网络    编辑:翔博软件
说明:虽然使用了未来函数,但是核心算法无未来,出9后不消失,放心使用. 用未来函数的目的是为了过滤不出9的情况. 注:此版本不带完善结构. {TD结构9转} HMJTDL1:=REF(CLOSE,1


说明:虽然使用了未来函数,但是核心算法无未来,出9后不消失,放心使用.
用未来函数的目的是为了过滤不出9的情况.
注:此版本不带完善结构.


 {TD结构9转}

 
HMJTDL1:=REF(CLOSE,1)>=REF(CLOSE,5) AND CLOSE<REF(CLOSE,4);
HMJTDL2:=BARSLAST(HMJTDL1)=1 AND CLOSE<REF(CLOSE,4);
HMJTDL3:=BARSLAST(HMJTDL1)=2 AND CLOSE<REF(CLOSE,4);
HMJTDL4:=BARSLAST(HMJTDL1)=3 AND CLOSE<REF(CLOSE,4);
HMJTDL5:=BARSLAST(HMJTDL1)=4 AND CLOSE<REF(CLOSE,4);
HMJTDL6:=BARSLAST(HMJTDL1)=5 AND CLOSE<REF(CLOSE,4);
HMJTDL7:=BARSLAST(HMJTDL1)=6 AND CLOSE<REF(CLOSE,4);
HMJTDL8:=BARSLAST(HMJTDL1)=7 AND CLOSE<REF(CLOSE,4);
HMJTDL9:=BARSLAST(HMJTDL1)=8 AND CLOSE<REF(CLOSE,4);
HMJTDH1:=REF(CLOSE,1)<=REF(CLOSE,5) AND CLOSE>REF(CLOSE,4);
HMJTDH2:=BARSLAST(HMJTDH1)=1 AND CLOSE>REF(CLOSE,4);
HMJTDH3:=BARSLAST(HMJTDH1)=2 AND CLOSE>REF(CLOSE,4);
HMJTDH4:=BARSLAST(HMJTDH1)=3 AND CLOSE>REF(CLOSE,4);
HMJTDH5:=BARSLAST(HMJTDH1)=4 AND CLOSE>REF(CLOSE,4);
HMJTDH6:=BARSLAST(HMJTDH1)=5 AND CLOSE>REF(CLOSE,4);
HMJTDH7:=BARSLAST(HMJTDH1)=6 AND CLOSE>REF(CLOSE,4);
HMJTDH8:=BARSLAST(HMJTDH1)=7 AND CLOSE>REF(CLOSE,4);
HMJTDH9:=BARSLAST(HMJTDH1)=8 AND CLOSE>REF(CLOSE,4);
DRAWTEXT(HMJTDL1 AND BACKSET(HMJTDL9,9)=1,LOW*0.98,'1'),COLORGRAY;
DRAWTEXT(HMJTDL2 AND BACKSET(HMJTDL9,9)=1,LOW*0.98,'2'),COLORGRAY;
DRAWTEXT(HMJTDL3 AND BACKSET(HMJTDL9,9)=1,LOW*0.98,'3'),COLORGRAY;
DRAWTEXT(HMJTDL4 AND BACKSET(HMJTDL9,9)=1,LOW*0.98,'4'),COLORGRAY;
DRAWTEXT(HMJTDL5 AND BACKSET(HMJTDL9,9)=1,LOW*0.98,'5'),COLORGRAY;
DRAWTEXT(HMJTDL6 AND BACKSET(HMJTDL9,9)=1,LOW*0.98,'6'),COLORGRAY;
DRAWTEXT(HMJTDL7 AND BACKSET(HMJTDL9,9)=1,LOW*0.98,'7'),COLORGRAY;
DRAWTEXT(HMJTDL8 AND BACKSET(HMJTDL9,9)=1,LOW*0.98,'8'),COLORGRAY;
DRAWTEXT(HMJTDL9 AND BACKSET(HMJTDL9,9)=1,LOW*0.98,'9'),COLORFF00FF;
DRAWTEXT(HMJTDH1 AND BACKSET(HMJTDH9,9)=1,HIGH*1.02,'1'),COLORGRAY;
DRAWTEXT(HMJTDH2 AND BACKSET(HMJTDH9,9)=1,HIGH*1.02,'2'),COLORGRAY;
DRAWTEXT(HMJTDH3 AND BACKSET(HMJTDH9,9)=1,HIGH*1.02,'3'),COLORGRAY;
DRAWTEXT(HMJTDH4 AND BACKSET(HMJTDH9,9)=1,HIGH*1.02,'4'),COLORGRAY;
DRAWTEXT(HMJTDH5 AND BACKSET(HMJTDH9,9)=1,HIGH*1.02,'5'),COLORGRAY;
DRAWTEXT(HMJTDH6 AND BACKSET(HMJTDH9,9)=1,HIGH*1.02,'6'),COLORGRAY;
DRAWTEXT(HMJTDH7 AND BACKSET(HMJTDH9,9)=1,HIGH*1.02,'7'),COLORGRAY;
DRAWTEXT(HMJTDH8 AND BACKSET(HMJTDH9,9)=1,HIGH*1.02,'8'),COLORGRAY;
DRAWTEXT(HMJTDH9 AND BACKSET(HMJTDH9,9)=1,HIGH*1.02,'9'),COLORFF00FF;
DRAWTEXT_FIX(CLOSE>0,0,0,0,'说明:虽然使用了未来函数,但是核心算法无未来,出9后不消失,放心使用.'),COLORRED;
DRAWTEXT_FIX(CLOSE>0,0,0.05,0,'用未来函数的目的是为了过滤不出9的情况.'),COLORRED;
DRAWTEXT_FIX(CLOSE>0,0,0.1,0,'注:此版本不带完善结构.'),COLORRED;
1
3
点击进入翔博软件旗下官方微店--指标超市