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,1);
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;
源码未复制完整....下载附件源码