variable:p6=0;
p2:=intpart(ref(cyc(5),1)*100)/100;
p3:=intpart(ref(cyc(5),1)*0.96*100)/100;
vv:=intpart(min(capital*0.05,ref(ma(vol,34),1))/100);
p40:=intpart(maxcyc*100)/100;
p41:=intpart(ref(MAXCYC,1)*100)/100;
p4:=p6=0 and c>p2 or (ref(VOL/100,1)<vv and c>intpart(p2*0.98*100)/100 and vol>min(capital*0.05,ref(ma(vol,34),1)));
p5:=p6=1 and c<min(p3,p41);
p6:=if(p4=1,1,if(p5=1,0,ref(p6,1)));
drawtext(cross(p6,0),LOW*0.985,’T买’),colorred,linethick3,align1,valign0,layer0;
drawtext(cross(1,p6),HIGH*1.015,’T卖’),colorgreen,linethick3,align1,valign2,layer0;
E1:MEMA(C,7),COLORGREEN;
E2:MEMA(C,9),COLORGREEN;
E3:MEMA(C,12),COLORGREEN;
E4:MEMA(C,14),COLORGREEN;
E5:MEMA(C,17),COLORGREEN;
E6:MEMA(C,50),COLORFF8800,LINETHICK2;
{股旁网-股票公式网站 www.gupAng.com}
A1:=CROSS(C,E1) AND CROSS(C,E5);
DRAWICON(A1,L*0.99,1);
PARTLINE(E1,E1>REF(E1,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(E2,E1>REF(E2,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(E3,E1>REF(E3,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(E4,E1>REF(E4,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(E5,E1>REF(E5,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
DRAWTEXTREL(4,40,’板块:’+BKNAME),COLOR00FF00,linethick1;
DRAWTEXTAbs(4,29 ,’流通盘:’+capital/1000000+’亿(小盘股<5个亿<中盘股<10亿<大盘股)’),COLOR00FF00,linethick1;

选股公式:
variable:p6=0;
p2:=intpart(ref(cyc(5),1)*100)/100;
p3:=intpart(ref(cyc(5),1)*0.96*100)/100;
vv:=intpart(min(capital*0.05,ref(ma(vol,34),1))/100);
p40:=intpart(maxcyc*100)/100;
p41:=intpart(ref(MAXCYC,1)*100)/100;
p4:=p6=0 and c>p2 or (ref(vol/100,1)<vv and c>intpart(p2*0.98*100)/100 and vol>min(capital*0.05,ref(ma(vol,34),1)));
p5:=p6=1 and c<min(p3,p41);
p6:=if(p4=1,1,if(p5=1,0,ref(p6,1)));
T买:cross(p6,0);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。