通达信骑马上涨副图指标 源码 贴图 HSL:IF((SETCODE==0||SETCODE==1),100*VOL,VOL)/(FINANCE(7)/100),NODRAW; 筹码密集度:((COST(95)-COST(5))/((COST(95)+COST(5))/2))*100,NODRAW; 昨天筹码密集度:REF(((COST(95)-COST(5))/((COST(95)+COST(5))/2))*100,1),NODRAW; 尖峰价:=COST(50); 筹码1:=WINNER(尖峰价*0.90); 筹码2:=WINNER(尖峰价*1.1); 筹码集中:(筹码2-筹码1)*100,NODRAW; 昨天筹码集中度:REF((筹码2-筹码1)*100,1),NODRAW; 获利率:WINNER(C)*100,NODRAW,COLORLIRED; BB1:=MAX(O,C); XG1:=(CROSS(C,REF(HHV(H,20),1)) OR CROSS(C,REF(HHV(BB1,20),1))) AND 筹码集中>=80 AND 获利率>=90 AND (COUNT(HSL>6,20) OR COUNT(AMOUNT=HHV(AMOUNT,480),20)); DIFF:=(EMA(C,12)-EMA(C,26)); DEA :=EMA(DIFF,9); B0:=BARSLAST(DIFF<=REF(DIFF,1) AND DIFF<=REF(DIFF,2)); B1:=BARSLAST(CROSS(DIFF,DEA)); B2:=REF(BARSLAST(CROSS(DIFF,DEA)),B1+1); B3:=REF(BARSLAST(CROSS(DIFF,DEA)),B1+B2+2); SX:=REF(HHV(DIFF,B1+B2+B3+3),1); BRSS:=COUNT(CROSS(DIFF,SX),B0+1)=1 AND CROSS(DIFF,SX) AND DEA>0; XG2:=COUNT(HSL>8.5 OR AMO=HHV(AMO,480),B1+B2+2) AND BRSS; ZTB:=(C/REF(C,1)>=1.095 AND C/REF(C,1)<=1.105) OR (C/REF(C,1)>=1.195 AND C/REF(C,1)<=1.205) OR (C/REF(C,1)>=1.295 AND C/REF(C,1)<=1.305) AND C=H; AMOV:=AMOUNT*(O+C)/2; AMV1:=SUM(AMOV,21)/SUM(AMOUNT,21); AMV2:=SUM(AMOV,55)/SUM(AMOUNT,55); AMV3:=SUM(AMOV,144)/SUM(AMOUNT,144); AMV4:=SUM(AMOV,377)/SUM(AMOUNT,377); AMV5:=SUM(AMOV,34)/SUM(AMOUNT,34); AMV6:=SUM(AMOV,89)/SUM(AMOUNT,89); AMV7:=SUM(AMOV,233)/SUM(AMOUNT,233); 成本线:=(AMV1+AMV2+AMV3+AMV4+AMV5+AMV6+AMV7)/7; 强势线:=1.06*成本线,COLORRED; 多空线:=成本线*0.94,COLORLIGREEN; XG:=ZTB AND REF(NOT(ZTB),1) AND C>强势线 AND ((C/REF(C,1)>=1.095 AND C/REF(C,1)<=1.105 AND REF(C/强势线< 1.05,1)) OR (C/REF(C,1)>=1.195 AND C/REF(C,1)<=1.205 AND REF(C/强势线< 1.10,1)) OR (C/REF(C,1)>=1.295 AND C/REF(C,1)<=1.305 AND REF(C/强势线< 1.15,1))) AND C/O>1.009; STICKLINE(CROSS(XG1,0.5),1,0,1,0),COLORYELLOW; STICKLINE(CROSS(XG,0.5),3,2,1,0),,COLORRED; STICKLINE(XG2,2,1,1,0),COLORYELLOW; 强势:IF(CROSS(XG1,0.5),1,0); 步入上升1:IF(XG2,2,1),COLORLIBLUE; 追涨停:IF(XG,3,2),COLORRED;
|