分时横盘的源码,可以用来选股
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2013-03-11 09:18:00
公式简介:
发一个分时横盘的源码,可以用来选股
周期:if(time0<=41400,(time0-34200)/60,(time0-39600)/60),LINETHICK0,ColorFFFFFF;
流通:=capital/10000;
z00:=ref(c,barssince(v>0));
z0:=ref(c,barssince(周期=0));
z1:=ref(c,barssince(周期=1));
z2:=ref(c,barssince(周期=2));
z3:=ref(c,barssince(周期=3));
z4:=ref(c,barssince(周期=4));
z5:=ref(c,barssince(周期=5));
z6:=ref(c,barssince(周期=6));
z7:=ref(c,barssince(周期=7));
z9:=ref(c,barssince(周期=9));
z13:=ref(c,barssince(周期=13));
z15:=ref(c,barssince(周期=15));
z18:=ref(c,barssince(周期=18));
K3:=ABS(z3-z2)*10000/z2;
K5:=ABS(z5- z2)*10000/z2;
K7:=ABS(z7- z2)*10000/z2;
K9:=ABS(z9- z1)*10000/z2;
K13:=ABS(z13- z2)*10000/z2;
K15:=ABS(z15- z2)*10000/z2;
K18:=ABS(z18- z1)*10000/z2;
YY:ABS(C-ref(c,周期))*10000/ref(c,周期),LINETHICK0,ColorFFFFFF;
Y1:=ABS(C-ref(c,1))*10000/ref(c,1);
Y2:=ABS(C-ref(c,2))*10000/ref(c,2);
Y3:=ABS(C-ref(c,3))*10000/ref(c,3);
Y4:=ABS(C-ref(c,4))*10000/ref(c,4);
Y5:ABS(C-ref(c,5))*10000/ref(c,5),LINETHICK0,ColorFFFFFF;
Y6:=ABS(C-ref(c,6))*10000/ref(c,6);
Y7:=ABS(C-ref(c,7))*10000/ref(c,7);
Y8:=ABS(C-ref(c,8))*10000/ref(c,8);
Y9:=ABS(C-ref(c,9))*10000/ref(c,9);
Y10:ABS(C-ref(c,10))*10000/ref(c,10),LINETHICK0,ColorFFFFFF;
Y11:=ABS(C-ref(c,11))*10000/ref(c,11);
Y12:=ABS(C-ref(c,12))*10000/ref(c,12);
Y13:=ABS(C-ref(c,13))*10000/ref(c,13);
Y14:=ABS(C-ref(c,14))*10000/ref(c,14);
Y15:ABS(C-ref(c,15))*10000/ref(c,15),LINETHICK0,ColorFFFFFF;
Y16:=ABS(C-ref(c,16))*10000/ref(c,16);
Y17:=ABS(C-ref(c,17))*10000/ref(c,17);
Y18:=ABS(C-ref(c,18))*10000/ref(c,18);
Y19:=ABS(C-ref(c,19))*10000/ref(c,19);
Y20:ABS(C-ref(c,20))*20000/ref(c,20),LINETHICK0,ColorFFFFFF;
Y21:=ABS(C-ref(c,21))*20000/ref(c,21);
Y22:=ABS(C-ref(c,22))*20000/ref(c,22);
Y23:=ABS(C-ref(c,23))*20000/ref(c,23);
Y24:=ABS(C-ref(c,24))*20000/ref(c,24);
Y25:ABS(C-ref(c,25))*20000/ref(c,25),LINETHICK0,ColorFFFFFF;
Y26:=ABS(C-ref(c,26))*20000/ref(c,26);
Y27:=ABS(C-ref(c,27))*20000/ref(c,27);
Y28:=ABS(C-ref(c,28))*20000/ref(c,28);
Y29:ABS(C-ref(c,29))*20000/ref(c,29),LINETHICK0,ColorFFFFFF;
平:=流通<1500 AND K3<40 AND K5<50 AND K7<60 AND K9<70 AND K13<60 AND K15<70 AND YY<120 AND Y1<90 AND Y2<80 AND Y3<90 AND Y4<90 AND Y5<90 AND Y6<90 AND Y7<90 AND Y8<90 AND Y9<90 AND Y10<90 AND Y11<90 AND Y12<90 AND Y13<90 AND Y14<90 AND Y15<100 AND Y16<100 AND Y20<150 AND Y25<180 AND Y29<200 ;
时长:=LAST(平=1)>10;
突:时长=1;
上突:=FILTER(突,800);
vertline(上突,0),LINETHICK3,coloryellow;
买入:SUM(突>0,0),LINETHICK0;
[url=http://www.goodgupiao.com/gupiaogongshi/26603.html][B]分时横盘的源码,可以用来选股[/B][/url]