通达信超跌建仓副图指标 源码 贴图 VAR2:=MA(HHV(HIGH,222),17); VAR3:=MA(HHV(HIGH,96),17); VAR4:=MA(LLV(LOW,485),17); VAR5:=MA(LLV(LOW,222),17); VAR6:=MA(LLV(LOW,96),17); VAR7:=MA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,17); VAR8:=MA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,17); VAR9:=MA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,17); VAR10:=MA((VAR7*3+VAR8*2+VAR9)/6*1.738,17); VAR11:=VAR10; VAR12:=LOW; VAR13:=REF(LOW,1); VAR14:=SMA(ABS(VAR12-VAR13),3,1)/SMA(MAX(VAR12-VAR13,0),3,1)*100; VAR15:=MA(IF(CLOSE*1.35<=VAR11,VAR14*10,VAR14/10),3); VAR16:=LLV(LOW,30); VAR17:=HHV(VAR15,30); VAR18:=1990831; VAR19:=MA(IF(LOW<=VAR16,(VAR15+VAR17*2)/2,0),3); VAR20:=(HHV(H,9.8)-C)/(HHV(H,9.8)-LLV(L,9.8))*100; VAR21:=SMA(VAR20,3,1); VAR22:=SMA(VAR21,3,1); VAR23:=3*VAR21-2*VAR22; VAR24:=IF(VAR23>=100,100,IF(VAR23<=0,0,VAR23)); VAR25:=VAR19>10000; VAR26:=(HHV(HIGH,17))-(LLV(LOW,17)); VAR27:=STD(CLOSE,10); VAR28:=HHV(HIGH,50); VAR29:=LLV(LOW,27); VAR30:=HHV(HIGH,17); VAR31:=LLV(LOW,17); VAR32:=(VAR24=0); VAR33:=VAR19>30000; VAR34:=VAR19>20000; VAR35:=(CLOSE-VAR29); VAR36:=100-((100*((VAR30)-CLOSE))/((HHV(HIGH,17))-(VAR31))); VAR37:=100-(MA(((100*((HHV(HIGH,17))-CLOSE))/(VAR26)),4)); VAR40:=MA(VAR37,1); VAR41:=3*SMA(VAR35/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); STICKLINE(1,100,0,10,0),COLOR222222; 底部:IF(VAR25 AND VAR34,2,0)*9,COLORMAGENTA,NODRAW; 超低:IF(VAR33,3,0)*5,COLORYELLOW,NODRAW; 卖出警报:IF(VAR32,95,101),COLORGREEN; 建仓:IF(VAR41<5,25,0),COLORWHITE,NODRAW; STICKLINE(建仓,0,25,2,0),COLORWHITE; STICKLINE(底部,0,20,2,0),COLORMAGENTA; STICKLINE(超低,0,15,2,0),COLORYELLOW; 超短:IF((VAR36 建仓线:5,COLORWHITE,LINETHICK2; DRAWICON(建仓 AND 底部 AND 超低 AND 超短>走势 AND NOT(REF(超短>走势,1)),10,9);
|