九毛八公式指标
XH10:=(WINNER(C)-WINNER(C/1.1))*100; CXH20:=(WINNER(C)-WINNER(C/1.2))*100; CXH30:=(WINNER(C)-WINNER(C/1.3))*100; BB:100,POINTDOT,LINETHICK2,COLORYELLOW; 攻击量:WINNER(C/1.1)*100,STICK,COLORRED; 潜伏量:WINNER(C/1.2)*100,STICK,COLORYELLOW; 拉升量:WINNER(C/1.3)*100,STICK,COLORFF00FF; STICKLINE(ISLASTBAR AND ((C/1.1)*100),攻击量,0,5,-1); STICKLINE((ISLASTBAR AND (C/1.2)*100),潜伏量,0,5,-1); STICKLINE((ISLASTBAR AND (C/1.3)*100),拉升量,0,5,-1); STICKLINE(((C/1.1)*100),攻击量,0,3,0),COLOR000055; STICKLINE(((C/1.1)*100),攻击量,0,2,0),COLOR000077; STICKLINE(((C/1.1)*100),攻击量,0,1,0),COLOR0000BB; STICKLINE(((C/1.1)*100),攻击量,0,0.5,0),COLOR0000FF; STICKLINE(((C/1.2)*100),潜伏量,0,3,0)COLOR009999; STICKLINE(((C/1.2)*100),潜伏量,0,2,0)COLOR00BBBB; STICKLINE(((C/1.2)*100),潜伏量,0,1,0)COLOR00DDDD; STICKLINE(((C/1.2)*100),潜伏量,0,0.5,0)COLOR00FFFF; STICKLINE(((C/1.3)*100),拉升量,0,3,0),COLORFF1100; STICKLINE(((C/1.3)*100),拉升量,0,2,0),COLORFF5500; STICKLINE(((C/1.3)*100),拉升量,0,1,0),COLORFF9900; STICKLINE(((C/1.3)*100),拉升量,0,0.5,0),COLORFFDD00; DRAWTEXT(ISLASTBAR,(攻击量+潜伏量)/2, IF(攻击量>REF(攻击量,1),' 攻击量+',' 攻击量-')),COLORRED; DRAWTEXT(ISLASTBAR,(潜伏量+拉升量)/2, IF(潜伏量>REF(潜伏量,1),' 潜伏量+',' 潜伏量-')),COLORYELLOW; DRAWTEXT(ISLASTBAR,(拉升量+0)/2, IF(拉升量>REF(拉升量,1),' 拉升量+',' 拉升量-')),COLORFF9900; DRAWNUMBER(攻击量>0, MAX(攻击量,潜伏量)*1.01,攻击量);{在量柱上画出数值语句};
公式模块:
攻击量:=WINNER(C/1.1)*100; XX:=REFX(攻击量=HHV(攻击量,5),1)=0 AND 攻击量=HHV(攻击量,5)=1; YY:=BArslAST(XX); ZZ:=REF(SUM(攻击量,5),5)>0 AND 攻击量>0; REF(EVERY(攻击量<REF(攻击量,1),BETWEEN(YY,3,5)),1) AND 攻击量>REF(攻击量,1) AND ZZ;