好公式网用指标公式为投资注入科技力量!
您的位置:好公式网同花顺公式TD序列上升计数下载

TD序列上升计数下载

  • 指标公式类型:同花顺公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2019-04-30 07:36:05
  • 指标公式标签:TD序列上升计数
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:TD序列上升计数下载

td序列上升计数源码下载:

 学习参考td序列上升计数,当出现计数d时,可以考虑卖出,或者结合紧下来出现的神奇下跌九转和上升九转,综合考虑卖出。
 

// td buy setup

tdbsflipup:=close>=ref(close,4);

tdbsflipdwn:=close<ref(close,4);

tdbsbar1:=tdbsflipdwn and barslast(tdbsflipup)==1;

tdbsbar2:=tdbsflipdwn and count(tdbsflipdwn,2)==2 and barslast(tdbsflipup)==2;

tdbsbar3:=tdbsflipdwn and count(tdbsflipdwn,3)==3 and barslast(tdbsflipup)==3;

tdbsbar4:=tdbsflipdwn and count(tdbsflipdwn,4)==4 and barslast(tdbsflipup)==4;

tdbsbar5:=tdbsflipdwn and count(tdbsflipdwn,5)==5 and barslast(tdbsflipup)==5;

tdbsbar6:=tdbsflipdwn and count(tdbsflipdwn,6)==6 and barslast(tdbsflipup)==6;

tdbsbar7:=tdbsflipdwn and count(tdbsflipdwn,7)==7 and barslast(tdbsflipup)==7;

tdbsbar8:=tdbsflipdwn and count(tdbsflipdwn,8)==8 and barslast(tdbsflipup)==8;

tdbsbar9:=tdbsflipdwn and count(tdbsflipdwn,9)==9 and barslast(tdbsflipup)==9;

// print td buy setup bars

//www.goodgongshi.com

textpos:=high*1.3;

drawtext(tdbsbar1,textpos,'a'),colorgreen;

drawtext(tdbsbar2,textpos,'b'),colorgreen;

drawtext(tdbsbar3,textpos,'c'),colorgreen;

drawtext(tdbsbar4,textpos,'d'),colorgreen;

drawtext(tdbsbar5,textpos,'e'),colorgreen;

drawtext(tdbsbar6,textpos,'f'),colorgreen;

drawtext(tdbsbar7,textpos,'g'),colorgreen;

drawtext(tdbsbar8,textpos,'h'),colorgreen;

drawtext(tdbsbar9,textpos,'i'),colorgreen;

// td sell setup

tdssflipdwn:=close<=ref(close,4);

tdssflipup:=close>ref(close,4);

tdssbar1:=tdssflipup and barslast(tdssflipdwn)==1;

tdssbar2:=tdssflipup and count(tdssflipup,2)==2 and barslast(tdssflipdwn)==2;

tdssbar3:=tdssflipup and count(tdssflipup,3)==3 and barslast(tdssflipdwn)==3;

tdssbar4:=tdssflipup and count(tdssflipup,4)==4 and barslast(tdssflipdwn)==4;

tdssbar5:=tdssflipup and count(tdssflipup,5)==5 and barslast(tdssflipdwn)==5;

tdssbar6:=tdssflipup and count(tdssflipup,6)==6 and barslast(tdssflipdwn)==6;

tdssbar7:=tdssflipup and count(tdssflipup,7)==7 and barslast(tdssflipdwn)==7;

tdssbar8:=tdssflipup and count(tdssflipup,8)==8 and barslast(tdssflipdwn)==8;

tdssbar9:=tdssflipup and count(tdssflipup,9)==9 and barslast(tdssflipdwn)==9;

// print td sell setup

drawtext(tdssbar1,textpos,'1'),colorlired;

drawtext(tdssbar2,textpos,'2'),colorlired;

drawtext(tdssbar3,textpos,'3'),colorlired;

drawtext(tdssbar4,textpos,'4'),colorlired;

drawtext(tdssbar5,textpos,'5'),colorlired;

drawtext(tdssbar6,textpos,'6'),colorlired;

drawtext(tdssbar7,textpos,'7'),colorlired;

drawtext(tdssbar8,textpos,'8'),colorlired;

drawtext(tdssbar9,textpos,'9'),colorlired;

// td sell countdown

cntdwnh:=close>=ref(high,2); // td sequential sell count down

cntdwnl:=high<=ref(high,2);  // td aggressive sell sequential count down

cntdwnway:=cntdwnh;

// seek the current sell countdown

calbars:=0;

cntdwnnum:=0;

cmpprice:=0;

cntprice:=0;

next:=0;

// td sell countdown cancel 1: a td buy setup is generated

cntcancel1:=if((barslast(tdssbar9)>0 and barslast(tdbsbar9)>0 and count(tdbsbar9,barslast(tdssbar9))>0),0,1);

if(cntdwnway==1)

{

calbars=sumbars(tdssbar9,1);

cntdwnnum=if(tdssbar9 or barslast(tdssbar9)>0,count(cntdwnway,calbars),0);

}

cntdwn1:=if(cntdwnnum==1,cntcancel1,0);

cntdwn2:=if(cntdwnnum==2,cntcancel1,0);

cntdwn3:=if(cntdwnnum==3,cntcancel1,0);

cntdwn4:=if(cntdwnnum==4,cntcancel1,0);

cntdwn5:=if(cntdwnnum==5,cntcancel1,0);

cntdwn6:=if(cntdwnnum==6,cntcancel1,0);

cntdwn7:=if(cntdwnnum==7,cntcancel1,0);

cntdwn8:=if(cntdwnnum==8,cntcancel1,0);

cntdwn9:=if(cntdwnnum==9,cntcancel1,0);

cntdwn10:=if(cntdwnnum==10,cntcancel1,0);

cntdwn11:=if(cntdwnnum==11,cntcancel1,0);

cntdwn12:=if(cntdwnnum==12,cntcancel1,0);

cntdwn13:=0;

setplus:=0;

// the high of countdown13 is great than or equanl to the close of countdown8

if(cntdwnnum > 12)

{

cntprice = ref(close,barslast(cntdwnway,cntdwnnum-8)); // get the close of countdown8

next = cntdwnnum-12;

while(next > 0)

{

if(next > 1)

cmpprice = ref(high, barslast(cntdwnway,next-1)); // get the high of current countdown

else

cmpprice = high;

if(cmpprice >= cntprice)

{

break;

}

next = next - 1;

}

if(next == 1 and cntcancel1)

{

cntdwn13 = 1;

}

else if(next == 0 and cntcancel1)

{

setplus = 1; // flag '+' when the low of countdown13 is not less than or equal to the close of countdown8

}

}

// print the current sell countdown number

textpos=high*1.2;

drawtext(cntdwn1,textpos,'1'),colorligray;

drawtext(cntdwn2,textpos,'2'),colorligray;

drawtext(cntdwn3,textpos,'3'),colorligray;

drawtext(cntdwn4,textpos,'4'),colorligray;

drawtext(cntdwn5,textpos,'5'),colorligray;

drawtext(cntdwn6,textpos,'6'),colorligray;

drawtext(cntdwn7,textpos,'7'),colorligray;

drawtext(cntdwn8,textpos,'8'),colorligray;

drawtext(cntdwn9,textpos,'9'),colorligray;

drawtext(cntdwn10,textpos,'a'),colorligray;

drawtext(cntdwn11,textpos,'b'),colorligray;

drawtext(cntdwn12,textpos,'c'),colorligray;

drawtext(setplus,textpos,'+'),colorligray;

drawtext(cntdwn13,textpos,'d'),colorligray;

// seek the last sell countdown

cntdwnnum = 0;

sellsetupnum:=if(tdssbar9 or barslast(tdssbar9)>0, count(tdssbar9,barssince(tdssbar9)), 0);

if(sellsetupnum>1 and cntdwnway)

{

calbars = sumbars(tdssbar9,2);

cntdwnnum = count(cntdwnway, calbars);

}

// a buy setup is generated after the last sell setup

calbars = sumbars(tdssbar9,2);

cntcancel1=if(sellsetupnum>1 and count(tdbsbar9,calbars)>0,0,1);

cntdwn1=if(cntdwnnum==1,cntcancel1,0);

cntdwn2=if(cntdwnnum==2,cntcancel1,0);

cntdwn3=if(cntdwnnum==3,cntcancel1,0);

cntdwn4=if(cntdwnnum==4,cntcancel1,0);

cntdwn5=if(cntdwnnum==5,cntcancel1,0);

cntdwn6=if(cntdwnnum==6,cntcancel1,0);

cntdwn7=if(cntdwnnum==7,cntcancel1,0);

cntdwn8=if(cntdwnnum==8,cntcancel1,0);

cntdwn9=if(cntdwnnum==9,cntcancel1,0);

cntdwn10=if(cntdwnnum==10,cntcancel1,0);

cntdwn11=if(cntdwnnum==11,cntcancel1,0);

cntdwn12=if(cntdwnnum==12,cntcancel1,0);

cntdwn13=0;

setplus =0;

// the high of countdown13 is great than or equal to the close of countdown8

if(sellsetupnum>1 and cntdwnnum>12 and cntdwnway==1)

{

cntprice = ref(close,barslast(cntdwnway,cntdwnnum-8)); // get the close of countdown8

next = cntdwnnum-12;

//drawnumber(1,low*0.6,cntprice);

while(next > 0)

{

if(next > 1)

cmpprice = ref(high, barslast(cntdwnway,next-1)); // get the high of current countdown

else

cmpprice = high;

if(cmpprice >= cntprice)

{

break;

}

next = next - 1;

}

if(next == 1 and cntcancel1)

{

cntdwn13 = 1;

}

else if(next == 0 and cntcancel1)

{

setplus = 1; // flag '+' when the low of countdown13 is not less than or equal to the close of countdown8

}

}

// print the last sell countdown number

textpos=high*1.4;

drawtext(cntdwn1,textpos,'1'),colorliblue;

drawtext(cntdwn2,textpos,'2'),colorliblue;

drawtext(cntdwn3,textpos,'3'),colorliblue;

drawtext(cntdwn4,textpos,'4'),colorliblue;

drawtext(cntdwn5,textpos,'5'),colorliblue;

drawtext(cntdwn6,textpos,'6'),colorliblue;

drawtext(cntdwn7,textpos,'7'),colorliblue;

drawtext(cntdwn8,textpos,'8'),colorliblue;

drawtext(cntdwn9,textpos,'9'),colorliblue;

drawtext(cntdwn10,textpos,'a'),colorliblue;

drawtext(cntdwn11,textpos,'b'),colorliblue;

drawtext(cntdwn12,textpos,'c'),colorliblue;

drawtext(setplus,textpos,'+'),colorliblue;

drawtext(cntdwn13,textpos,'d'),colorliblue;

td序列上升计数

  >>>使用本站搜索工具可以找到更多TD序列上升计数下载

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

上一指标公式:黄金成交量下载

下一指标公式:明确买卖点选强势股下载

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文TD序列上升计数下载仅供学习研究。

猜你喜欢

学了又学