N:=3;
抄底逃顶:=1.13;
看家指标公式:=LLV(HIGH,318);{通达信公式-通达信指标www.gs6699.com}
vvdssd4:=100*(CLOSE-看家指标公式)/看家指标公式*抄底逃顶;
vvdssd5:=REF(LLV(CLOSE,610),1)*抄底逃顶;
VIR6:=REF(HHV(CLOSE,610),1)*抄底逃顶;
vvdssd7:=100*(CLOSE-vvdssd5)/(VIR6-vvdssd5)*抄底逃顶;
vvdssd8:=(CLOSE-LLV(CLOSE,880))/(HHV(CLOSE,880)-LLV(CLOSE,880))*100*抄底逃顶;
VPR9:=(CLOSE-LLV(CLOSE,318))/(HHV(CLOSE,318)-LLV(CLOSE,318))*100*抄底逃顶;
VIRA:=(CLOSE-LLV(LOW,880))/(HHV(HIGH,880)-LLV(LOW,880))*100*抄底逃顶;
vvdssdB:=(CLOSE-LLV(LOW,318))/(HHV(HIGH,318)-LLV(LOW,318))*100*抄底逃顶;
vvdssdC:=EMA(100*(CLOSE-LLV(LOW,144))/(HHV(HIGH,144)-LLV(LOW,144)),5)/4*抄底逃顶;
vvdssdD:=IF(vvdssdC>13.16,vvdssdC,0)*抄底逃顶;
vvdssdE:=vvdssdC<1*抄底逃顶;
vvdssdF:=vvdssdD*抄底逃顶;
抄底逃顶0:=vvdssd4<0 AND vvdssd7<0;
抄底逃顶1:=1;
抄底逃顶2:=(HIGH+LOW+CLOSE*2)/4*抄底逃顶1;
抄底逃顶3:=EMA(抄底逃顶2,34);
抄底逃顶4:=STD(抄底逃顶2,34);
抄底逃顶5:=((抄底逃顶2-抄底逃顶3)/抄底逃顶4*100+200)/4*抄底逃顶1;
抄底逃顶6:=(EMA(抄底逃顶5,89)-25)*1.56*抄底逃顶1;
抄底逃顶7:=EMA(抄底逃顶6,5)*1.22*抄底逃顶1;
抄底逃顶8:=EMA(抄底逃顶7,3)*抄底逃顶1;
抄底逃顶9:=3*抄底逃顶7-2*抄底逃顶8*抄底逃顶1;
VOR1A:=IF(CROSS(抄底逃顶9,抄底逃顶7) AND CROSS(抄底逃顶9,抄底逃顶8) AND CROSS(抄底逃顶7,抄底逃顶8),1,0);
抄底逃顶B:=IF(CROSS(抄底逃顶7,抄底逃顶9) AND CROSS(抄底逃顶8,抄底逃顶9) AND CROSS(抄底逃顶8,抄底逃顶7),1,0);
买点:= IF(FILTER(vvdssd8=0 AND vvdssdE AND 抄底逃顶0 AND VOR1A,5)=1,10,0);
卖点:= IF(FILTER(vvdssd8=100 AND vvdssdF AND 抄底逃顶B,5)=1,10,0);
抄底逃顶C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4*抄底逃顶;
抄底逃顶D:=EMA(CLOSE,2)-EMA(CLOSE,89)*抄底逃顶;
抄底逃顶E:=EMA(抄底逃顶D,21)*抄底逃顶;
抄底逃顶F:=2*(抄底逃顶D-抄底逃顶E)*10*抄底逃顶;
vvdssd20:=POW(抄底逃顶F,3)*0.1+POW(抄底逃顶F,2)*抄底逃顶;
vvdssd21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
vvdssd22:=EMA(vvdssd21*0.97,3)*抄底逃顶;
VIR23:=(HIGH+LOW+CLOSE)/3*抄底逃顶;
vvdssd24:=(VIR23-MA(VIR23,14))/(0.015*AVEDEV(VIR23,14))*抄底逃顶;
vvdssd25:=IF(抄底逃顶F>0.013,vvdssd20,0)/34*抄底逃顶;
拉升1资金: vvdssd25*5,COLORRED,LINETHICK2;
vvdssd26:=EMA(CLOSE,3)-EMA(CLOSE,144);
vvdssd27:=EMA(vvdssd26,55);
vvdssd28:=2*(vvdssd26-vvdssd27);
vvdssd29:=POW(vvdssd28,3)*0.1+POW(vvdssd28,1);
vvdssd2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
vvdssd2B:=EMA(vvdssd2A*0.97,3);
vvdssd2C:=(HIGH+LOW+CLOSE)/3;
VIR2D:=(vvdssd2C-MA(vvdssd2C,14))/(0.015*AVEDEV(vvdssd2C,14));
主力资金: IF(vvdssd28>0.01,vvdssd29*200,-100),LINETHICK2,COLORYELLOW;
STICKLINE(vvdssd25>0,0,拉升1资金,2,1),COLORRED;
N1:=13;
N2:=5;
MTM:=C-REF(C,1);
ZLGJ:=MA(100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),2),COLORWHITE;
MAZL:=MA(MA(ZLGJ,N2),3),COLORYELLOW;
DRAWICON(CROSS(ZLGJ,MAZL) AND MA(C,5)>=REF(MA(C,5),1) AND MA(C,2)>=REF(MA(C,2),1),MA(拉升1资金,5),9);
DRAWICON(CROSS(MAZL,ZLGJ) AND MA(C,5)<REF(MA(C,5),1) ,MA(拉升1资金,5),2);
A1:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100;
BL:=VOL/CAPITAL*100;
STICKLINE(A1>=0,0,A1*50,1,1),COLORYELLOW;
A1Q:=34;
vvds1:=(CLOSE-OPEN)/REF(CLOSE,1);
vvds2:=MA(vvds1,A1Q),COLORRED;
vvds3:=MA(MA(vvds2,2),2),COLORYELLOW;
DRAWICON(CROSS(vvds2,vvds3) AND MA(C,5)>=REF(MA(C,5),1) ,MA(拉升1资金,5),1);