通达信【分时机构控盘】分时主图指标 高抛低吸小助手 源码
ABCR:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;
ABCC:=-SUM(IF(C< REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;
ZJCR:=ABCR+ABCC,COLORSTICK;
ABCL:=ZJCR,COLORFFFFFF,LINETHICK1;
ZJBBB:=ZJCR/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;
ABCL比:=IF(ZJBBB>=0,(ZJBBB+100)/2,100-ABS((ZJBBB-100)/2));
ZQLLBB:=IF(ABCL比>50,ABCL比,50);
HSL1:=VOL/CAPITAL*100;
AABB:=((HSL1*0.50+(REF(HSL1,1)*0.33))+(REF(HSL1,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN;
AABBA:=SUM(IF(C>REF(C,1),AABB*V,0),FROMOPEN);
AABBB:=-SUM(IF(C< REF(C,1),AABB*V,0),FROMOPEN);
攻击流量:=AABBA+AABBB,COLORSTICK;
攻击比:=攻击流量/SUM(V,FROMOPEN)*100;
资金攻击度:=IF(攻击比>0,(攻击比+50),100-ABS((攻击比-50)));
攻击度BBQ:=IF(资金攻击度>100,100,IF(资金攻击度< 0,0,资金攻击度));
增强攻击度:=IF(资金攻击度>50,资金攻击度,50);
开始攻击:=CROSS(攻击流量,0) AND (C>REF(C,2) OR (ABCL>0 AND ABCL>攻击流量));
KSAABB:=CROSS(攻击流量,0) AND C>REF(C,2) AND V>LLV(V,3)*3;
Q:=250;
高点:=HHV(C,Q);
低点:=LLV(C,Q);
ZGGBB:=CONST(高点),NODRAW;
ZDDBB:=CONST(低点),NODRAW;
ZCBBB:=ZGGBB-ZDDBB;
ZJZ:=(ZGGBB+ZDDBB)/2;
HL3:=(100-0)/2*1.3;
HL4:=(100-0)/1*1.3;
ZJJZ:=(50-HL3)*ZCBBB/HL4+ZJZ;
指标营地:=(ZJZ+ZJJZ)/2;
BGTYU:=IF(DATE<=1150530,1,0);
GHYJKU:=BETWEEN((CLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))),1.05,0.95);
VBNH:=IF(GHYJKU=0,MA((CLOSE*BGTYU),BARSCOUNT((CLOSE*BGTYU))),(SUM(AMOUNT,BARSCOUNT((CLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((CLOSE*BGTYU)))));
ABCQD:=EXPMA((CLOSE/VBNH),20)*1,COLORYELLOW,POINTDOT;
ABCZL:=EXPMA((CLOSE/VBNH),60)*1,COLORMAGENTA,LINETHICK2;
ABCSH:=EXPMA((CLOSE/VBNH),120)*1,COLORGREEN,LINETHICK2;
BBQABCQD:=ABCQD*ZJJZ;
BBQABCZL:=ABCZL*ZJJZ;
BBQABCSH:=ABCSH*ZJJZ;
ZHUSMIN:=MIN(BBQABCZL,BBQABCSH);
A66:=HHVBARS(CLOSE,60);
主力:=BBQABCZL;
FSJJX:SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK2;
ZTZJB:=BBQABCSH>FSJJX AND CROSS(C,BBQABCSH);
TUPOFS:=FILTER(((CROSS(CLOSE,((REF(REF(CLOSE,A66),1))*1.001)))AND(REF((A66>= 5),1))),10);
LSLLL:=IF(C>REF(C,1),VOL,0);
ZLSDDD:=CONST(FINDHIGH(LSLLL,FROMOPEN,240,1)),LINETHICK1,COLORMAGENTA;
JLSDDB:=CONST(REF(HHV(LSLLL,FROMOPEN),0)),COLORYELLOW,NODRAW;
STICKLINE(TUPOFS,(CLOSE*0.99),CLOSE,5,0),COLORBLUE;
攻击力度:=JLSDDB/ZLSDDD,NODRAW;
TT:=BARSCOUNT(C);
JJHB:=SUM(C*V,TT)/SUM(V,TT);
LBBB:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);
JLBB:= C>=REF(C,1) AND REF(C,1)>REF(C,2);
LPSGJ:=C>JJHB AND V>MA(V,5);
BBQBL:=V>=REF(V,1)*1 ;
CXGGJ:=C>=HHV(C,0);
LCXGB:=V>=HHV(V,0);
ZRZFB:=(C/DYNAINFO(3)-1)*100<=2.50;
BBLAL:=LBBB AND JLBB AND LPSGJ AND BBQBL AND CXGGJ AND LCXGB AND ZRZFB;
VV:=BARSSINCE(BBLAL)+1;
DYTQB:=REF(C,VV-1),NODRAW;
STICKLINE(FILTER(CROSS(LSLLL,ZLSDDD),30),ZDDBB+ZCBBB*0.83,ZDDBB,1,0),COLORCYAN;
DRAWICON(FILTER(CROSS(LSLLL,ZLSDDD),30),ZDDBB+ZCBBB*0.83,27);
DRAWTEXT(FILTER(CROSS(LSLLL,ZLSDDD),30),ZDDBB+ZCBBB*0.83,'∠量突破'),COLORCYAN;
STICKLINE(FILTER(BBLAL,30),ZDDBB+ZCBBB*0.75,ZDDBB,1,0),COLORGREEN;
DRAWICON(FILTER(BBLAL,30),ZDDBB+ZCBBB*0.75,13);
DRAWTEXT(FILTER(BBLAL,30),ZDDBB+ZCBBB*0.75,'∠起爆'),COLORGREEN;
DRAWNUMBER(FILTER(BBLAL,30),ZDDBB+(C-ZDDBB)/2,DYTQB),COLORWHITE;
TA:=BARSLAST(TIME=100000);
TC:=REF(HHV(C,0),TA+1);
TV:=REF(HHV(V,0),TA+1);
ZF:=C/DYNAINFO(3)< 1.05;
XG1:=CROSS(C,TC) AND V>TV AND ZF,COLORWHITE;
TA1:=BARSLAST(TIME=110000);
CC1:=REF(HHV(C,0),TA1+1);
VV1:=REF(HHV(V,0),TA1+1);
ZF1:=CC1/DYNAINFO(3)< 1.05;
XG2:=CROSS(C,CC1) AND V>VV1 AND ZF1,COLORYELLOW;
突破1:=XG1 OR XG2,COLORRED;
均价线:=SUM(C*V,240)/SUM(V,240),COLORYELLOW;
分时线:=CLOSE;
总买单:=SUM(IF(C>REF(C,1),V/1000,0),0),COLORRED;
总卖单:=SUM(IF(C< REF(C,1),V/1000,0),0);
MAILRL:REF("VOL.MAVOL1"/100,1),NODRAW,COLORFFFFFF;
PUSHRL:MAILRL*2,NODRAW,COLORFFFFFF;
FENGZTL:MAILRL*5,NODRAW,COLORFFFFFF;
DYNAINFO(3)*1.071,LINETHICK2,COLORRED;
DYNAINFO(3)*1.043,LINETHICK2,COLORYELLOW;
BBAQX:DYNAINFO(3)*1.014,LINETHICK2,COLORAAB220;
A14:=V>MAILRL AND V< PUSHRL AND C>DYNAINFO(3)*1.014 AND C< DYNAINFO(3)*1.043 AND 总买单>总卖单;
DRAWICON(A14,C,7);
A_15:=V>PUSHRL AND V< FENGZTL AND C>DYNAINFO(3)*1.043 AND C< DYNAINFO(3)*1.071 AND 总买单>总卖单;
DRAWICON(A_15,C,1);
A_16:=V>FENGZTL AND 总买单>总卖单 AND C>DYNAINFO(3)*1.043;
涨:=BARSLASTCOUNT(A_16)=1;
DRAWICON(涨,C,11);
XX:=SUM(AMOUNT,BARSCOUNT(CLOSE))/SUM(V*100,BARSCOUNT(CLOSE));
黄线1:=EXPMA(CLOSE/XX,20);
粉线:=EXPMA(CLOSE/XX,60);
绿线:=EXPMA(CLOSE/XX,120);
AA:=黄线1>粉线 AND 黄线1>1.003 AND 粉线>绿线 AND C>EXPMA(C,20) AND EXPMA(C,10)> EXPMA(C,20) AND EXPMA(C,20)>EXPMA(C,60);
XGG:DRAWICON(黄线1>粉线 AND 粉线>绿线 AND C>EXPMA(C,20) AND EXPMA(C,10)>EXPMA(C,20) AND EXPMA(C,20) >EXPMA(C,60) AND 黄线1=HHV(黄线1,30) AND CROSS(黄线1,1.003),BBAQX,9);
DRAWICON(XGG,BBAQX*0.99,9);
DRAWICON(XGG,BBAQX*0.98,9);
XGGS:DRAWTEXT(XGG,BBAQX*0.98,' 放量'),COLORMAGENTA;
ABC1:=IF(DATE>90501,10000,1);
ABC2:=(3*CLOSE+HIGH+LOW+OPEN)/6;
ABC3:=EMA(ABC2,13);
ABC4:=ATAN(ABC3-REF(ABC3,1))*180/3.1416;
ABC5:=(3*CLOSE+LOW+OPEN+HIGH)/6;
ABC6:=(20*ABC5+19*REF(ABC5,1)+18*REF(ABC5,2)+17*REF(ABC5,3)+16*REF(ABC5,4)+15*REF(ABC5,5)+14*REF(ABC5,6)+13*REF(ABC5,7)+12*REF(ABC5,8)+11*REF(ABC5,9)+10*REF(ABC5,10)+9*REF(ABC5,11)+8*REF(ABC5,12)+7*REF(ABC5,13)+6*REF(ABC5,14)+5*REF(ABC5,15)+4*REF(ABC5,16)+3*REF(ABC5,17)+2*REF(ABC5,18)+REF(ABC5,21))/210;
ABC7:=EMA(ABC6,15);
ABC8:=HHV(CLOSE,90);
ABC9:=LLV(CLOSE,90);
ABC10:=ABC8-ABC9;
ABC11:=EMA((CLOSE-ABC9)/ABC10-0.5,14);
强势:=ABC11*20;
ABC12:=REF(HHV(CLOSE,66),2);
ABC13:=CROSS(CLOSE,ABC12) AND (HHV(CLOSE,110)/LLV(CLOSE,110)-1)*100< 45 AND 强势< 5.666;
ABC14:=LLV(强势,35)< (-8.9) AND CROSS(强势,(-7.815)) AND 强势< (-1.2);
ABC15:=10*FILTER(ABC14,41);
价:=C,COLORWHITE;
ZZ:=SUM(AMOUNT,TT)/SUM(VOL*100,TT);
ZZ1:=BETWEEN(C/ZZ,1.05,0.95);
均线:=IF(ZZ1=0,MA(C,TT),ZZ),COLORYELLOW;
突破:=C>=REF(HHV(H,TT),1) AND HHVBARS(VOL,TT)=0 AND C/均线< 1.09 AND TT>13 AND TT< 240;
ABCSP:=COUNT(突破,13)>=3 AND C>=REF(HHV(H,TT),1) AND HHVBARS(VOL,TT)=0;
N:=7.5;
MMA30:=EMA(CLOSE,30);
QRJDB:=IF(PERIOD=0,EMA(CLOSE,900),DRAWNULL),COLORWHITE,LINETHICK2;
FSJLXB:=SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK1;
实时涨幅BBQ:=(C/DYNAINFO(3)-1)*100;
成交额:=V*C/100,NODRAW;
A2:=SUM((IF(((成交额/8>20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);
A3:=SUM((IF(((成交额/8>20) AND (CLOSE< (REF(CLOSE,1)))),成交额,0)),0);
A4:=SUM((IF(((成交额/8< 20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);
A5:=SUM((IF(((成交额/8< 20) AND (CLOSE< (REF(CLOSE,1)))),成交额,0)),0);
A6:=((A2+A3)+A4)+A5;
DD1:=1;
ACB1:=STRCAT(STRCAT('机构买',CON2STR((100*A2)/A6,0)),'%');
ACB2:=STRCAT(STRCAT('机构卖',CON2STR((100*A3)/A6,0)),'%');
ACB3:=STRCAT(STRCAT('散户买',CON2STR((100*A4)/A6,0)),'%');
ACB4:=STRCAT(STRCAT('散户卖',CON2STR((100*A5)/A6,0)),'%');
DRAWTEXT_FIX(DD1=1,0.4,1-0.9,0,ACB1),COLORRED;
DRAWTEXT_FIX(DD1=1,0.4,1-0.8,0,ACB2),COLORFFFF55;
DRAWTEXT_FIX(DD1=1,0.4,1-0.7,0,ACB3),COLOR5555FF;
DRAWTEXT_FIX(DD1=1,0.4,1-0.6,0,ACB4),COLOR55FF55;
未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
该公式包含未来函数:DHIGH
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
ABCR赋值:SUM(IF(C>1日前的C,V,0),FROMOPEN),STICK,画红色
ABCC赋值:-SUM(IF(C< 1日前的C,V,0),FROMOPEN),STICK,COLOR00FF00
ZJCR赋值:ABCR+ABCC,COLORSTICK
ABCL赋值:ZJCR,COLORFFFFFF,LINETHICK1
ZJBBB赋值:ZJCR/FROMOPEN的V日累和*100,COLOR00FFFF,LINETHICK1
ABCL比:=IF(ZJBBB>=0,(ZJBBB+100)/2,100-(ZJBBB-100的绝对值/2))
如果ABCL比>50返回ABCL比否则返回50
HSL1赋值:成交量/CAPITAL*100
AABB赋值:((HSL1*0.50+(1日前的HSL1*0.33))+(2日前的HSL1*0.17))*FROMOPEN的C日累和/FROMOPEN
AABBA:=SUM(IF(C>1日前的C,AABB*V,0),FROMOPEN)
AABBB:=-SUM(IF(C< 1日前的C,AABB*V,0),FROMOPEN)
攻击流量赋值:AABBA+AABBB,COLORSTICK
攻击比赋值:攻击流量/FROMOPEN的V日累和*100
资金攻击度赋值:IF(攻击比>0,(攻击比+50),100-(攻击比-50的绝对值))
攻击度BBQ赋值:IF(资金攻击度>100,100,IF(资金攻击度< 0,0,资金攻击度))
如果资金攻击度>50返回资金攻击度否则返回50
开始攻击赋值:攻击流量上穿0 AND (C>2日前的C OR (ABCL>0 AND ABCL>攻击流量))
KSAABB赋值:攻击流量上穿0 AND C>2日前的C AND V>3日内V最低值*3
Q赋值:250
高点赋值:Q日内C最高值
低点赋值:Q日内C最低值
ZGGBB赋值:CONST(高点),NODRAW
ZDDBB赋值:CONST(低点),NODRAW
ZCBBB赋值:ZGGBB-ZDDBB
ZJZ赋值:(ZGGBB+ZDDBB)/2
HL3赋值:(100-0)/2*1.3
HL4赋值:(100-0)/1*1.3
ZJJZ赋值:(50-HL3)*ZCBBB/HL4+ZJZ
指标营地赋值:(ZJZ+ZJJZ)/2
如果DATE<=1150530返回1否则返回0
GHYJKU赋值:BETWEEN((收盘价*BGTYU)/(SUM(AMOUNT,(收盘价*BGTYU的有效数据周期数))/SUM(成交量*100,(收盘价*BGTYU的有效数据周期数))),1.05,0.95)
VBNH赋值:IF(GHYJKU=0,MA((收盘价*BGTYU),(收盘价*BGTYU的有效数据周期数)),(SUM(AMOUNT,(收盘价*BGTYU的有效数据周期数))/SUM(成交量*100,(收盘价*BGTYU的有效数据周期数))))
ABCQD:=EXPMA((收盘价/VBNH),20)*1,画黄色,POINTDOT
ABCZL赋值:EXPMA((收盘价/VBNH),60)*1,COLORMAGENTA,LINETHICK2
ABCSH赋值:EXPMA((收盘价/VBNH),120)*1,COLORGREEN,LINETHICK2
BBQABCQD:=ABCQD*ZJJZ
BBQABCZL赋值:ABCZL*ZJJZ
BBQABCSH赋值:ABCSH*ZJJZ
ZHUSMIN赋值:BBQABCZL和BBQABCSH的较小值
A66赋值:HHVBARS(收盘价,60)
主力赋值:BBQABCZL
输出FSJJX:240的C*V日累和/240的V日累和,画黄色,LINETHICK2
ZTZJB赋值:BBQABCSH>FSJJX AND C上穿BBQABCSH
TUPOFS赋值:FILTER(((CROSS(收盘价,((A66日前的收盘价,1))*1.001)))AND(REF((A66>= 5),1))),10)
LSLLL赋值:IF(C>1日前的C,成交量,0)
ZLSDDD赋值:CONST(FIND最高价(LSLLL,FROMOPEN,240,1)),LINETHICK1,COLORMAGENTA
JLSDDB赋值:CONST(REF(FROMOPEN日内LSLLL最高值,0)),画黄色,NODRAW
STICKLINE(TUPOFS,(收盘价*0.99),收盘价,5,0), 画蓝色
攻击力度赋值:JLSDDB/ZLSDDD,NODRAW
TT赋值:C的有效数据周期数
JJHB赋值:TT的C*V日累和/TT的V日累和
LBBB赋值:V的5日简单移动平均>REF(V的5日简单移动平均,1) AND REF(V的5日简单移动平均,1)>REF(V的5日简单移动平均,2)
JLBB赋值: C>=1日前的C AND 1日前的C>2日前的C
LPSGJ赋值:C>JJHB AND V>V的5日简单移动平均
BBQBL:=V>=1日前的V*1
CXGGJ赋值:C>=0日内C最高值
LCXGB赋值:V>=0日内V最高值
ZRZFB赋值:(C/DYNAINFO(3)-1)*100<=2.50
BBLAL赋值:LBBB AND JLBB AND LPSGJ AND BBQBL AND CXGGJ AND LCXGB AND ZRZFB
VV赋值:BARSSINCE(BBLAL)+1
DYTQB:=VV-1日前的C,NODRAW
STICKLINE(FILTER(LSLLL上穿ZLSDDD,30),ZDDBB+ZCBBB*0.83,ZDDBB,1,0),COLORCYAN
DRAWICON(FILTER(LSLLL上穿ZLSDDD,30),ZDDBB+ZCBBB*0.83,27)
DRAWTEXT(FILTER(LSLLL上穿ZLSDDD,30),ZDDBB+ZCBBB*0.83,'∠量突破'),COLORCYAN
STICKLINE(BBLAL的30过滤,ZDDBB+ZCBBB*0.75,ZDDBB,1,0),COLORGREEN
DRAWICON(BBLAL的30过滤,ZDDBB+ZCBBB*0.75,13)
DRAWTEXT(BBLAL的30过滤,ZDDBB+ZCBBB*0.75,'∠起爆'),COLORGREEN
DRAWNUMBER(BBLAL的30过滤,ZDDBB+(C-ZDDBB)/2,DYTQB),画白色
TA赋值:上次TIME=100000距今天数
TC赋值:REF(0日内C最高值,TA+1)
TV赋值:REF(0日内V最高值,TA+1)
ZF赋值:C/DYNAINFO(3)< 1.05
XG1赋值:C上穿TC AND V>TV AND ZF,画白色
TA1:=上次TIME=110000距今天数
CC1赋值:REF(0日内C最高值,TA1+1)
VV1:=REF(0日内V最高值,TA1+1)
ZF1:=CC1/DYNAINFO(3)< 1.05
XG2赋值:C上穿CC1 AND V>VV1 AND ZF1,画黄色
突破1赋值:XG1 OR XG2,画红色
均价线赋值:240的C*V日累和/240的V日累和,画黄色
分时线赋值:收盘价
总买单赋值:SUM(IF(C>1日前的C,V/1000,0),0),画红色
总卖单赋值:SUM(IF(C< 1日前的C,V/1000,0),0)
输出MAILRL:1日前的"成交量.MA成交量1"/100,NODRAW,COLORFFFFFF
输出PUSHRL:MAILRL*2,NODRAW,COLORFFFFFF
输出FENGZTL:MAILRL*5,NODRAW,COLORFFFFFF
DYNAINFO(3)*1.071,LINETHICK2,画红色
DYNAINFO(3)*1.043,LINETHICK2,画黄色
BBAQX:DYNAINFO(3)*1.014,LINETHICK2,COLORAAB220
A14赋值:V>MAILRL AND V< PUSHRL AND C>DYNAINFO(3)*1.014 AND C< DYNAINFO(3)*1.043 AND 总买单>总卖单
当满足条件A14时,在C和7之间画图标
A_15赋值:V>PUSHRL AND V< FENGZTL AND C>DYNAINFO(3)*1.043 AND C< DYNAINFO(3)*1.071 AND 总买单>总卖单
当满足条件A_15时,在C和1之间画图标
A_16赋值:V>FENGZTL AND 总买单>总卖单 AND C>DYNAINFO(3)*1.043
涨赋值:BARSLASTCOUNT(A_16)=1
当满足条件涨时,在C和11之间画图标
XX赋值:SUM(AMOUNT,收盘价的有效数据周期数)/SUM(V*100,收盘价的有效数据周期数)
黄线1赋值:收盘价/XX的20日指数移动平均
粉线赋值:收盘价/XX的60日指数移动平均
绿线赋值:收盘价/XX的120日指数移动平均
AA赋值:黄线1>粉线 AND 黄线1>1.003 AND 粉线>绿线 AND C>C的20日指数移动平均 AND C的10日指数移动平均> C的20日指数移动平均 AND C的20日指数移动平均>C的60日指数移动平均
输出XGG:DRAWICON(黄线1>粉线 AND 粉线>绿线 AND C>C的20日指数移动平均 AND C的10日指数移动平均>C的20日指数移动平均 AND C的20日指数移动平均 >C的60日指数移动平均 AND 黄线1=30日内黄线1最高值 AND 黄线1上穿1.003,BBAQX,9)
当满足条件XGG时,在BBAQX*0.99和9之间画图标
当满足条件XGG时,在BBAQX*0.98和9之间画图标
当满足条件XGG时,在BBAQX*0.98和' 放量'位置书写文字
如果DATE>90501返回10000否则返回1
ABC2赋值:(3*收盘价+最高价+最低价+OPEN)/6
ABC3赋值:ABC2的13日指数移动平均
ABC4赋值:ATAN(ABC3-1日前的ABC3)*180/3.1416
ABC5赋值:(3*收盘价+最低价+OPEN+最高价)/6
ABC6赋值:(20*ABC5+19*1日前的ABC5+18*2日前的ABC5+17*3日前的ABC5+16*4日前的ABC5+15*5日前的ABC5+14*6日前的ABC5+13*7日前的ABC5+12*8日前的ABC5+11*9日前的ABC5+10*10日前的ABC5+9*11日前的ABC5+8*12日前的ABC5+7*13日前的ABC5+6*14日前的ABC5+5*15日前的ABC5+4*16日前的ABC5+3*17日前的ABC5+2*18日前的ABC5+21日前的ABC5)/210
ABC7赋值:ABC6的15日指数移动平均
ABC8赋值:90日内收盘价最高值
ABC9赋值:90日内收盘价最低值
ABC10:=ABC8-ABC9
ABC11:=EMA((收盘价-ABC9)/ABC10-0.5,14)
强势赋值:ABC11*20
ABC12:=REF(66日内收盘价最高值,2)
ABC13:=收盘价上穿ABC12 AND (110日内收盘价最高值/110日内收盘价最低值-1)*100< 45 AND 强势< 5.666
ABC14:=35日内强势最低值< (-8.9) AND CROSS(强势,(-7.815)) AND 强势< (-1.2)
ABC15:=10*ABC14的41过滤
价赋值:C,画白色
ZZ赋值:TT的AMOUNT日累和/TT的成交量*100日累和
ZZ1:=BETWEEN(C/ZZ,1.05,0.95)
均线赋值:IF(ZZ1=0,C的TT日简单移动平均,ZZ),画黄色
突破赋值:C>=REF(TT日内H最高值,1) AND HHVBARS(成交量,TT)=0 AND C/均线< 1.09 AND TT>13 AND TT< 240
ABCSP赋值:统计13日满足突破的天数>=3 AND C>=REF(TT日内H最高值,1) AND HHVBARS(成交量,TT)=0
N赋值:7.5
MMA30赋值:收盘价的30日指数移动平均
QRJDB:=IF(PERIOD=0,收盘价的900日指数移动平均,DRAWNULL),画白色,LINETHICK2
FSJLXB赋值:240的C*V日累和/240的V日累和,画黄色,LINETHICK1
实时涨幅BBQ赋值:(C/DYNAINFO(3)-1)*100
成交额赋值:V*C/100,NODRAW
A2赋值:SUM((IF(((成交额/8>20) AND (收盘价>(1日前的收盘价))),成交额,0)),0)
A3赋值:SUM((IF(((成交额/8>20) AND (收盘价< (1日前的收盘价))),成交额,0)),0)
A4赋值:SUM((IF(((成交额/8< 20) AND (收盘价>(1日前的收盘价))),成交额,0)),0)
A5赋值:SUM((IF(((成交额/8< 20) AND (收盘价< (1日前的收盘价))),成交额,0)),0)
A6赋值:((A2+A3)+A4)+A5
DD1赋值:1
ACB1赋值:STRCAT(STRCAT('机构买',CON2STR((100*A2)/A6,0)),'%')
ACB2赋值:STRCAT(STRCAT('机构卖',CON2STR((100*A3)/A6,0)),'%')
ACB3赋值:STRCAT(STRCAT('散户买',CON2STR((100*A4)/A6,0)),'%')
ACB4赋值:STRCAT(STRCAT('散户卖',CON2STR((100*A5)/A6,0)),'%')
当满足条件DD1=1时,在横轴0.4纵轴1-0.9位置书写文字
当满足条件DD1=1时,在横轴0.4纵轴1-0.8位置书写文字
当满足条件DD1=1时,在横轴0.4纵轴1-0.7位置书写文字
当满足条件DD1=1时,在横轴0.4纵轴1-0.6位置书写文字