九毛八公式指标
公式模块:
a:="LTFunc4@FORLT2";
s1:="LTFunc4@LT_S1";
hs:="LTFunc4@LT_HS";
ls:="LTFunc4@LT_LS";
p1:="LTFunc4@LT_P1";
upp:="LTFunc4@LT_UPP";
udd:="LTFunc4@LT_UDD";
{hs;ls;hhs;lls;us;ds;s1;p1;p0;upp;udd};
d1:=ema(abs("ddx.ddx"),60);
d2:=min("ddx.ddx"/d1,10);
能量级别:d2,linethick0;
N:=叠加线数;
时长:=if(HOUR>=10 AND HOUR<15 ,1,0);{9点30至 15点}
均线:=IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(vol*100,0)),1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(VOL*100,0)));
均线H:(均线*1.007 ),COLORFF6600,LINETHICK0,LAYER0;
均线L:(均线/1.005 ),COLOR00FF00,LINETHICK0;
均线横盘:=C<均线H and C>均线L;
量比:=sum(vol,0)*240/dynainfo(38)/barscount(c);
量比5分钟:=sum(量比,5);
量比10:=sum(量比,10);
上个5分钟量比:=量比10-量比5分钟;
放量:=sum(VOL,6)>REF(ma(VOL,30),1)*10;
CC:CLOSE,COLORWHITE,LINETHICK2;
partline(CC,CC>=ref(CC,1),rgb(255,151,255),CC<ref(CC,1),rgb(0,255,255)),linethick2,LAYER0;
横盘:=((HHV(CLOSE,BARSCOUNT(CLOSE))-LLV(CLOSE,BARSCOUNT(CLOSE)))/CLOSE)<1;
横涨:=横盘 AND 放量 AND (C>均线H);
横跌:=横盘 AND 放量 AND crOSS(均线L,C) ;
突破:=FILTER(横涨,100);
下破:=FILTER(横跌,50);
DRAWTEXT(突破,均线H,'★突破'),COLORFF00FF;
MA30:=EMA(CLOSE,30);
强弱界定:EMA(CLOSE,900);
STICKLINE((MA30>强弱界定),MA30,强弱界定,1,0),COLOR0000FF;
STICKLINE((MA30<强弱界定),MA30,强弱界定,1,0),COLOR00FF00;
DRAWICON(CROSS(MA30,强弱界定),H,7);
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,dotline,COLOR00DD00;
支撑:L1+P1*0.5/8,dotline,COLOR00DD00;
VERTLINE(突破,3),COLORFF00FF,LINETHICK2;
JX:IF(BETWEEN(C/(SUM(AMOUNT,0)/SUM(VOL*100,0)),1.05,0.95)=0,MA(C,0),(SUM(AMOUNT,0)/SUM(VOL*100,0))),COLORYELLOW;
{叠加大盘线}
TC:=STRCMP(STRLEFT(MARKETLABEL,2),'SZ');
DPSH:="SH000001$CLOSE"/HHV(STKINDI('SH000001','分超引用.昨收#DAY'),0);
DPSZ:="SZ399001$CLOSE"/HHV(STKINDI('SZ399001','分超引用.昨收#DAY'),0);
DPC:=IF(INBLOCK('A股板块'),DYNAINFO(3)*IF(TC=0,DPSZ,DPSH),C);
POLYLINE(C>0,DPC),COLOR3399ff,LINETHICK1,LAYER0;
DRAWTEXT( BARSTATUS=2,DPC ,'大盘' ),Color3399ff;
{叠加板块线}
BK1002:="991002$CLOSE"/HHV(STKINDI('991002','分超引用.昨收#DAY'),0);
BK1003:="991003$CLOSE"/HHV(STKINDI('991003','分超引用.昨收#DAY'),0);
BK1004:="991004$CLOSE"/HHV(STKINDI('991004','分超引用.昨收#DAY'),0);
BK1006:="991006$CLOSE"/HHV(STKINDI('991006','分超引用.昨收#DAY'),0);
BK1007:="991007$CLOSE"/HHV(STKINDI('991007','分超引用.昨收#DAY'),0);
BK1008:="991008$CLOSE"/HHV(STKINDI('991008','分超引用.昨收#DAY'),0);
BK1009:="991009$CLOSE"/HHV(STKINDI('991009','分超引用.昨收#DAY'),0);
BK1010:="991010$CLOSE"/HHV(STKINDI('991010','分超引用.昨收#DAY'),0);
BK1011:="991011$CLOSE"/HHV(STKINDI('991011','分超引用.昨收#DAY'),0);
BK1014:="991014$CLOSE"/HHV(STKINDI('991014','分超引用.昨收#DAY'),0);
BK1016:="991016$CLOSE"/HHV(STKINDI('991016','分超引用.昨收#DAY'),0);
BK1017:="991017$CLOSE"/HHV(STKINDI('991017','分超引用.昨收#DAY'),0);
BK1018:="991018$CLOSE"/HHV(STKINDI('991018','分超引用.昨收#DAY'),0);
BK1019:="991019$CLOSE"/HHV(STKINDI('991019','分超引用.昨收#DAY'),0);
BK1020:="991020$CLOSE"/HHV(STKINDI('991020','分超引用.昨收#DAY'),0);
BK1021:="991021$CLOSE"/HHV(STKINDI('991021','分超引用.昨收#DAY'),0);
BK1023:="991023$CLOSE"/HHV(STKINDI('991023','分超引用.昨收#DAY'),0);
BK1024:="991024$CLOSE"/HHV(STKINDI('991024','分超引用.昨收#DAY'),0);
BK1025:="991025$CLOSE"/HHV(STKINDI('991025','分超引用.昨收#DAY'),0);
BK1026:="991026$CLOSE"/HHV(STKINDI('991026','分超引用.昨收#DAY'),0);
BK1027:="991027$CLOSE"/HHV(STKINDI('991027','分超引用.昨收#DAY'),0);
BK1028:="991028$CLOSE"/HHV(STKINDI('991028','分超引用.昨收#DAY'),0);
BK1031:="991031$CLOSE"/HHV(STKINDI('991031','分超引用.昨收#DAY'),0);
BK1032:="991032$CLOSE"/HHV(STKINDI('991032','分超引用.昨收#DAY'),0);
BK1033:="991033$CLOSE"/HHV(STKINDI('991033','分超引用.昨收#DAY'),0);
BK1034:="991034$CLOSE"/HHV(STKINDI('991034','分超引用.昨收#DAY'),0);
BK1035:="991035$CLOSE"/HHV(STKINDI('991035','分超引用.昨收#DAY'),0);
BK1036:="991036$CLOSE"/HHV(STKINDI('991036','分超引用.昨收#DAY'),0);
BK1037:="991037$CLOSE"/HHV(STKINDI('991037','分超引用.昨收#DAY'),0);
BK1135:="991135$CLOSE"/HHV(STKINDI('991135','分超引用.昨收#DAY'),0);
BK1136:="991136$CLOSE"/HHV(STKINDI('991136','分超引用.昨收#DAY'),0);
BK1255:="991255$CLOSE"/HHV(STKINDI('991255','分超引用.昨收#DAY'),0);
DRAWTEXTABS(10,200,'■所属板块:'+BKNAME),ColorYELLOW,linethick1;
流通盘大小:=FINANCE2(37)/1000000*100;
DRAWTEXTABS(280,220,'流通盘大小:'+NUMTOSTRN(流通盘大小,2)+'亿'),LINETHICK1,ColorYELLOW;
每股收益:=FINANCE2(3);
每股市盈率:=DYNAINFO(39);
每股净资产:=FINANCE2(4);
销售毛利率:=FINANCE2(12);
主营收入同比:=FINANCE2(11);
净利润同比增长:=FINANCE2(10);
DRAWTEXTABS(170,220,'每股收益:'+NUMTOSTRN(每股收益,2)+'元'),COLOR00FF00;
DRAWTEXTABS(170,240,'每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),COLORRED;
DRAWTEXTABS(170,260,'每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),COLORRED;
DRAWTEXTABS(20,220,'销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),LINETHICK1,COLOR00FF00;
DRAWTEXTABS(20,240,'主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),LINETHICK1,COLOR00FF00;
DRAWTEXTABS(20,260,'净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),LINETHICK1,COLOR00FF00;
板块指数:IF(INBLOCK('工程建筑'),"991002$CLOSE",
IF(INBLOCK('电力'),"991003$CLOSE",
IF(INBLOCK('计算机'),"991004$CLOSE",
IF(INBLOCK('电子信息'),"991006$CLOSE",
IF(INBLOCK('房地产'),"991007$CLOSE",
IF(INBLOCK('纺织服装'),"991008$CLOSE",
IF(INBLOCK('钢铁'),"991009$CLOSE",
IF(INBLOCK('供水供气'),"991010$CLOSE",
IF(INBLOCK('化工化纤'),"991011$CLOSE",
IF(INBLOCK('电器'),"991014$CLOSE",
IF(INBLOCK('交通设施'),"991016$CLOSE",
IF(INBLOCK('银行类'),"991017$CLOSE",
IF(INBLOCK('旅游酒店'),"991018$CLOSE",
IF(INBLOCK('煤炭石油'),"991019$CLOSE",
IF(INBLOCK('酿酒食品'),"991020$CLOSE",
IF(INBLOCK('农林牧渔'),"991021$CLOSE",
IF(INBLOCK('商业连锁'),"991023$CLOSE",
IF(INBLOCK('建材'),"991024$CLOSE",
IF(INBLOCK('其他行业'),"991025$CLOSE",
IF(INBLOCK('交通工具'),"991026$CLOSE",
IF(INBLOCK('机械'),"991027$CLOSE",
IF(INBLOCK('医药'),"991028$CLOSE",
IF(INBLOCK('外贸'),"991031$CLOSE",
IF(INBLOCK('教育传媒'),"991032$CLOSE",
IF(INBLOCK('仪电仪表'),"991033$CLOSE",
IF(INBLOCK('有色金属'),"991034$CLOSE",
IF(INBLOCK('造纸印刷'),"991035$CLOSE",
IF(INBLOCK('券商'),"991036$CLOSE",
IF(INBLOCK('电力设备'),"991037$CLOSE",
IF(INBLOCK('通信'),"991135$CLOSE",
IF(INBLOCK('运输物流'),"991136$CLOSE",
IF(INBLOCK('海峡西岸'),"993596$CLOSE",
IF(INBLOCK('保险'),"991255$CLOSE",0)
)))))))))))))))))))))))))))))))),PRECIS0,COLOR00FF00,LINETHICK0;
{叠加地域线}
DY3091:="993091$CLOSE"/HHV(STKINDI('993091','分超引用.昨收#DAY'),0);
DY3450:="993450$CLOSE"/HHV(STKINDI('993450','分超引用.昨收#DAY'),0);
DY3596:="993596$CLOSE"/HHV(STKINDI('993596','分超引用.昨收#DAY'),0);
DY3598:="993598$CLOSE"/HHV(STKINDI('993598','分超引用.昨收#DAY'),0);
DY3599:="993599$CLOSE"/HHV(STKINDI('993599','分超引用.昨收#DAY'),0);
DY3602:="993602$CLOSE"/HHV(STKINDI('993602','分超引用.昨收#DAY'),0);
DY3603:="993603$CLOSE"/HHV(STKINDI('993603','分超引用.昨收#DAY'),0);
DY3604:="993604$CLOSE"/HHV(STKINDI('993604','分超引用.昨收#DAY'),0);
DY3606:="993606$CLOSE"/HHV(STKINDI('993606','分超引用.昨收#DAY'),0);
DY3607:="993607$CLOSE"/HHV(STKINDI('993607','分超引用.昨收#DAY'),0);
DY3608:="993608$CLOSE"/HHV(STKINDI('993608','分超引用.昨收#DAY'),0);
DY3609:="993609$CLOSE"/HHV(STKINDI('993609','分超引用.昨收#DAY'),0);
DY3610:="993610$CLOSE"/HHV(STKINDI('993610','分超引用.昨收#DAY'),0);
DY3611:="993611$CLOSE"/HHV(STKINDI('993611','分超引用.昨收#DAY'),0);
DY3612:="993612$CLOSE"/HHV(STKINDI('993612','分超引用.昨收#DAY'),0);
DY3613:="993613$CLOSE"/HHV(STKINDI('993613','分超引用.昨收#DAY'),0);
DY3614:="993614$CLOSE"/HHV(STKINDI('993614','分超引用.昨收#DAY'),0);
DY3616:="993616$CLOSE"/HHV(STKINDI('993616','分超引用.昨收#DAY'),0);
DY3617:="993617$CLOSE"/HHV(STKINDI('993617','分超引用.昨收#DAY'),0);
DY3618:="993618$CLOSE"/HHV(STKINDI('993618','分超引用.昨收#DAY'),0);
DY3619:="993619$CLOSE"/HHV(STKINDI('993619','分超引用.昨收#DAY'),0);
DY3620:="993620$CLOSE"/HHV(STKINDI('993620','分超引用.昨收#DAY'),0);
DY3621:="993621$CLOSE"/HHV(STKINDI('993621','分超引用.昨收#DAY'),0);
DY3622:="993622$CLOSE"/HHV(STKINDI('993622','分超引用.昨收#DAY'),0);
DY3623:="993623$CLOSE"/HHV(STKINDI('993623','分超引用.昨收#DAY'),0);
DYCC:=IF(INBLOCK('新上海'),DYNAINFO(3)*DY3091,IF(INBLOCK('成渝特区'),DYNAINFO(3)*DY3450,IF(INBLOCK('海峡西岸'),DYNAINFO(3)*DY3596,
IF(INBLOCK('图们江'),DYNAINFO(3)*DY3598,IF(INBLOCK('滨海新区'),DYNAINFO(3)*DY3599,IF(INBLOCK('深圳本地'),DYNAINFO(3)*DY3602,
IF(INBLOCK('黄河三角'),DYNAINFO(3)*DY3603,IF(INBLOCK('横琴新区'),DYNAINFO(3)*DY3604,IF(INBLOCK('珠江三角'),DYNAINFO(3)*DY3606,
IF(INBLOCK('江苏沿海'),DYNAINFO(3)*DY3607,IF(INBLOCK('辽宁沿海'),DYNAINFO(3)*DY3608,IF(INBLOCK('关中天水'),DYNAINFO(3)*DY3609,
IF(INBLOCK('新疆振兴'),DYNAINFO(3)*DY3610,IF(INBLOCK('西藏'),DYNAINFO(3)*DY3611,IF(INBLOCK('皖江区域'),DYNAINFO(3)*DY3612,
IF(INBLOCK('鄱阳湖'),DYNAINFO(3)*DY3613,IF(INBLOCK('长株潭'),DYNAINFO(3)*DY3614,IF(INBLOCK('武汉规划'),DYNAINFO(3)*DY3616,
IF(INBLOCK('海南开发'),DYNAINFO(3)*DY3617,IF(INBLOCK('青海'),DYNAINFO(3)*DY3618,IF(INBLOCK('云南'),DYNAINFO(3)*DY3619,
IF(INBLOCK('陕甘宁'),DYNAINFO(3)*DY3621,IF(INBLOCK('长江三角'),DYNAINFO(3)*DY3622,IF(INBLOCK('西部开发'),DYNAINFO(3)*DY3623,
C))))))))))))))))))))))));
DYC:=IF(N>2,DYCC,C);
POLYLINE(C>0,DYC),COLOR77aa77,LINETHICK2;
DRAWTEXT( BARSTATUS=2,DYC ,'地域' ),Color77aa77;
{叠加概念线}
GN3120:="993120$CLOSE"/HHV(STKINDI('993120','分超引用.昨收#DAY'),0);
GN3128:="993128$CLOSE"/HHV(STKINDI('993128','分超引用.昨收#DAY'),0);
GN3129:="993129$CLOSE"/HHV(STKINDI('993129','分超引用.昨收#DAY'),0);
GN3305:="993305$CLOSE"/HHV(STKINDI('993305','分超引用.昨收#DAY'),0);
GN3580:="993580$CLOSE"/HHV(STKINDI('993580','分超引用.昨收#DAY'),0);
GN3585:="993585$CLOSE"/HHV(STKINDI('993585','分超引用.昨收#DAY'),0);
GN3586:="993586$CLOSE"/HHV(STKINDI('993586','分超引用.昨收#DAY'),0);
GN3597:="993597$CLOSE"/HHV(STKINDI('993597','分超引用.昨收#DAY'),0);
GN3601:="993601$CLOSE"/HHV(STKINDI('993601','分超引用.昨收#DAY'),0);
GN3645:="993645$CLOSE"/HHV(STKINDI('993645','分超引用.昨收#DAY'),0);
GN3646:="993646$CLOSE"/HHV(STKINDI('993646','分超引用.昨收#DAY'),0);
GN3647:="993647$CLOSE"/HHV(STKINDI('993647','分超引用.昨收#DAY'),0);
GN3665:="993665$CLOSE"/HHV(STKINDI('993665','分超引用.昨收#DAY'),0);
GN3685:="993685$CLOSE"/HHV(STKINDI('993685','分超引用.昨收#DAY'),0);
GN3686:="993686$CLOSE"/HHV(STKINDI('993686','分超引用.昨收#DAY'),0);
GN3695:="993695$CLOSE"/HHV(STKINDI('993695','分超引用.昨收#DAY'),0);
GN3710:="993710$CLOSE"/HHV(STKINDI('993710','分超引用.昨收#DAY'),0);
GN3732:="993732$CLOSE"/HHV(STKINDI('993732','分超引用.昨收#DAY'),0);
GN3745:="993745$CLOSE"/HHV(STKINDI('993745','分超引用.昨收#DAY'),0);
GN3798:="993798$CLOSE"/HHV(STKINDI('993798','分超引用.昨收#DAY'),0);
GN3801:="993801$CLOSE"/HHV(STKINDI('993801','分超引用.昨收#DAY'),0);
GN4005:="994005$CLOSE"/HHV(STKINDI('994005','分超引用.昨收#DAY'),0);
GN3669:="993669$CLOSE"/HHV(STKINDI('993669','分超引用.昨收#DAY'),0);
GN3731:="993731$CLOSE"/HHV(STKINDI('993731','分超引用.昨收#DAY'),0);
GN3751:="993751$CLOSE"/HHV(STKINDI('993751','分超引用.昨收#DAY'),0);
GN3075:="993075$CLOSE"/HHV(STKINDI('993075','分超引用.昨收#DAY'),0);
GN3139:="993139$CLOSE"/HHV(STKINDI('993139','分超引用.昨收#DAY'),0);
GN3140:="993140$CLOSE"/HHV(STKINDI('993140','分超引用.昨收#DAY'),0);
GN3141:="993141$CLOSE"/HHV(STKINDI('993141','分超引用.昨收#DAY'),0);
GN3142:="993142$CLOSE"/HHV(STKINDI('993142','分超引用.昨收#DAY'),0);
GN3143:="993143$CLOSE"/HHV(STKINDI('993143','分超引用.昨收#DAY'),0);
GN3144:="993144$CLOSE"/HHV(STKINDI('993144','分超引用.昨收#DAY'),0);
GN3075:="993075$CLOSE"/HHV(STKINDI('993075','分超引用.昨收#DAY'),0);
GN3139:="993139$CLOSE"/HHV(STKINDI('993139','分超引用.昨收#DAY'),0);
GN3140:="993140$CLOSE"/HHV(STKINDI('993140','分超引用.昨收#DAY'),0);
GN3141:="993141$CLOSE"/HHV(STKINDI('993141','分超引用.昨收#DAY'),0);
GN3142:="993142$CLOSE"/HHV(STKINDI('993142','分超引用.昨收#DAY'),0);
GN3143:="993143$CLOSE"/HHV(STKINDI('993143','分超引用.昨收#DAY'),0);
GN3144:="993144$CLOSE"/HHV(STKINDI('993144','分超引用.昨收#DAY'),0);
GNCC:=IF(INBLOCK('新材料'),DYNAINFO(3)*GN3120,IF(INBLOCK('农业龙头'),DYNAINFO(3)*GN3128,IF(INBLOCK('数字电视'),DYNAINFO(3)*GN3129,
IF(INBLOCK('网络游戏'),DYNAINFO(3)*GN3305,IF(INBLOCK('CDM项目'),DYNAINFO(3)*GN3580,IF(INBLOCK('新能源'),DYNAINFO(3)*GN3585,
IF(INBLOCK('铁路基建'),DYNAINFO(3)*GN3586,IF(INBLOCK('智能电网'),DYNAINFO(3)*GN3597,IF(INBLOCK('IGCC'),DYNAINFO(3)*GN3601,
IF(INBLOCK('节能环保'),DYNAINFO(3)*GN3645,IF(INBLOCK('物联网'),DYNAINFO(3)*GN3646,IF(INBLOCK('电力设备'),DYNAINFO(3)*GN3647,
IF(INBLOCK('航天军工'),DYNAINFO(3)*GN3665,IF(INBLOCK('3G'),DYNAINFO(3)*GN3685,IF(INBLOCK('期货'),DYNAINFO(3)*GN3686,
IF(INBLOCK('创投'),DYNAINFO(3)*GN3695,IF(INBLOCK('低碳经济'),DYNAINFO(3)*GN3710,IF(INBLOCK('稀土永磁'),DYNAINFO(3)*GN3732,
IF(INBLOCK('稀缺资源'),DYNAINFO(3)*GN3745,IF(INBLOCK('煤化工'),DYNAINFO(3)*GN3798,IF(INBLOCK('黄金股'),DYNAINFO(3)*GN3751,
IF(INBLOCK('破发破净'),DYNAINFO(3)*GN3669,IF(INBLOCK('分拆上市'),DYNAINFO(3)*GN3731,IF(INBLOCK('S板'),DYNAINFO(3)*GN4005,IF(INBLOCK('次新股'),DYNAINFO(3)*GN3075,
IF(INBLOCK('大盘'),DYNAINFO(3)*GN3139,IF(INBLOCK('中盘'),DYNAINFO(3)*GN3140,IF(INBLOCK('小盘'),DYNAINFO(3)*GN3141,IF(INBLOCK('高价'),DYNAINFO(3)*GN3142,IF(INBLOCK('中价'),DYNAINFO(3)*GN3143,IF(INBLOCK('低价'),DYNAINFO(3)*GN3144,C)))))))))))))))))))))))))))))));
GNC:=IF(N>3,GNCC,C);
POLYLINE(C>0,GNC),COLORff6699,LINETHICK1;
DRAWTEXT( BARSTATUS=2,GNC ,'概念' ),Colorff6699;
A1:=DYNAINFO(23) / DYNAINFO(22);
A2:=DYNAINFO(17);
DRAWTEXTREL(400,600,IFS((A1 >= 1),'能量:'+NUMTOSTRN(A1,2)+' 量比: '+NUMTOSTRN(A2,2),'')),linethick4,colorWhite;
DRAWTEXTREL(400,600,IFS((A1 < 1),'能量:'+NUMTOSTRN(A1,2)+' 量比: '+NUMTOSTRN(A2,2),'')),linethick4,colorWhite;
VAR1:=EMA(EMA(C,13),13);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
无庄控盘:=控盘<0;
有庄控盘:=控盘>REF(控盘,1) AND 控盘>0;
VAR2:=100*WINNER(C*0.95);
主力出货:=控盘<REF(控盘,1) AND 控盘>0;
高度控盘:= VAR2>50 AND COST(85)<C AND 控盘>0;
A10:=CROSS(控盘,0);
控盘B:=FILTER(IF(A10,1,0),5);
JJ:=DYNAINFO(11);
P:=55;S:=8;M1:=3;
能量:=(EMA(C,S)-EMA(C,P))*10;
空头:=EMA(能量,M1);
BTJ1:=(C-JJ)/JJ<-0.005;
BTJ11:=(C-JJ)/JJ<-0.03;
BTJ12:=ref(LAST(JJ>=REF(JJ,1)),1)>=4 AND (C-JJ)/JJ<0.005;
STJ1:=(C-JJ)/JJ>0.005;
STJ01:=控盘<REF(控盘,1) AND 控盘>0.5;
STJ02:=控盘>0;
BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;
BTJ22:=控盘>REF(控盘,1) AND 控盘<0 ;
{波段买卖条件}
BTJ3:=CROSS(能量,空头) AND 能量<-0.3;
BTJ32:=CROSS(能量,空头) AND 能量<-0.1;
STJ31:=CROSS(空头,能量);
STJ32:=CROSS(空头,能量) AND 能量>1.618;
BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);
BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);
BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13);
有庄:=BTJ811;
价:=c;
DRAWTEXT(BTJ811,价,'★有庄'),COLORFF00FF,linethick5;
a25:=HHVBARS(CLOSE,60);
突破1:FILTER(((CROSS(CLOSE,((REF(REF(CLOSE,a25),1))*1.001)))AND(REF((a25>= 5),1))),10),POINTDOT,linethick0;
STICKLINE(突破1,(CLOSE*0.99),CLOSE,5,0),ColorF600A9;
DRAWTEXT((((SUM((突破1>0),0))=1)AND 突破1),(CLOSE*0.99),'最佳买点'),colorWhite;
DRAWTEXT((((SUM((突破1>0),0))=2)AND 突破1),(CLOSE*0.99),'次佳买点'),colorWhite;
DRAWTEXT((((SUM((突破1>0),0))=3)AND 突破1),(CLOSE*0.99),'理想买点'),colorWhite;
DRAWTEXT((((SUM((突破1> 0),0))=4)AND 突破1),(CLOSE * 0.99),'及格买点'),colorWhite;
DRAWTEXT((((SUM((突破1> 0),0))>=5) AND 突破1),(CLOSE * 0.99),'突破'),colorWhite;
VAR1:=EMA(EMA(C,13),13);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
JJ:=DYNAINFO(11);
P:=55;S:=8;M1:=3;
能量:=(EMA(C,S)-EMA(C,P))*10;
空头:=EMA(能量,M1);
BTJ1:=(C-JJ)/JJ<-0.005;
BTJ11:=(C-JJ)/JJ<-0.03;
BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;
BTJ3:=CROSS(能量,空头) AND 能量<-0.3;
FILTER(BTJ11 AND BTJ2 AND BTJ3,13);