通达信桃花逐浪副图指标 源码 贴图
X1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100; X2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; X3:=(SMA(X2,3,1)-18)*1.55; X4:=SMA(X3,3,1); X5:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100; X6:=SMA(X5,10,1); X7:=(EMA(SMA(X6,8,1),34)-25)*2.6; X8:=POW(MA(CLOSE,5),2)+MA(CLOSE,5); X9:=POW(MA(LOW,5),2)+MA(LOW,5); XA:=POW(MA(HIGH,5),2)+MA(HIGH,5); XB:=((X8-LLV(X9,64))/(HHV(XA,64)-LLV(X9,64))*150+65-10)/2; XC:=SMA(XB,3,1)*1.5-46; XD:=SMA(XC,3,1); XE:=3*XC-2*XD; XF:=(X1+X2+X5)/3; X10:=((X3+X3+X6+XC)/4-15)*1.67; X11:=((X4+X4+X7+XD)/4-15)*1.67; X12:=((X1+X5*2+XF+X10+X11+XB+XC+XD+XE)/10-15)*1.67; X13:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9; X14:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92; X15:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93; X16:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94; X17:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95; X18:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91; X19:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96; X1A:=((X13*8+X14*8+X15*8+X16+X17+X18+X19)/28-0.1)*185; X1B:=SMA(X1A,3,1);{公式网WWW.GPXIAZAI.COM} X1C:=(SMA(X1B,8,1)-8)*1.18; 桃花:= (X10+X11+X12+XC+XD+XE+X1C+X7)/13,LINETHICK2,COLORFFCC66; 桃花1:= (X10+X11+X12+XC+XD+XE+X1C+X7)/21,LINETHICK2,COLORFFCC66; 桃花2:= (X10+X11+X12+XC+XD+XE+X1C+X7)/34,LINETHICK2,COLORFFCC66; 桃花4:= (X3+X6+X1B*2)/4,COLORRED; HL:=(CROSS(桃花4,桃花) AND CROSS(桃花4,桃花1) AND CROSS(桃花4,桃花2) AND (桃花 AND 桃花1 AND 桃花2)< 10 ),COLOR00FF00; IF(HL,1,DRAWNULL),CROSSDOT,LINETHICK9,COLORYELLOW; IF(HL,3,DRAWNULL),CROSSDOT,LINETHICK9,COLORRED; IF(HL,5,DRAWNULL),CROSSDOT,LINETHICK9,COLORFF33FF; IF(HL,7,DRAWNULL),CROSSDOT,LINETHICK9,COLORFF33FF; DRAWBAND(桃花,RGB(75,0,0),桃花2,0); DRAWBAND(桃花1,RGB(0,75,0),桃花2,0); DRAWBAND(桃花2,RGB(0,55,0),-10,0);
|