跟庄买点短线通达信副图指标公式

N:=3;
VIR1:=1.13;
VOR3:=LLV(HIGH,318);
VAR4:=100*(CLOSE-VOR3)/VOR3*VIR1;
VAR5:=REF(LLV(CLOSE,610),1)*VIR1;
VIR6:=REF(HHV(CLOSE,610),1)*VIR1;
VAR7:=100*(CLOSE-VAR5)/(VIR6-VAR5)*VIR1;
VAR8:=(CLOSE-LLV(CLOSE,880))/(HHV(CLOSE,880)-LLV(CLOSE,880))*100*VIR1;
VPR9:=(CLOSE-LLV(CLOSE,318))/(HHV(CLOSE,318)-LLV(CLOSE,318))*100*VIR1;
VIRA:=(CLOSE-LLV(LOW,880))/(HHV(HIGH,880)-LLV(LOW,880))*100*VIR1;
VARB:=(CLOSE-LLV(LOW,318))/(HHV(HIGH,318)-LLV(LOW,318))*100*VIR1;
VARC:=EMA(100*(CLOSE-LLV(LOW,144))/(HHV(HIGH,144)-LLV(LOW,144)),5)/4*VIR1;
VARD:=IF(VARC>13.16,VARC,0)*VIR1;
VARE:=VARC<1*VIR1;
VARF:=VARD*VIR1;
VIR10:=VAR4<0 AND VAR7<0;
VIR11:=1;
VIR12:=(HIGH+LOW+CLOSE*2)/4*VIR11;
VIR13:=EMA(VIR12,34);
VIR14:=STD(VIR12,34);
VIR15:=((VIR12-VIR13)/VIR14*100+200)/4*VIR11;
VIR16:=(EMA(VIR15,89)-25)*1.56*VIR11;
VIR17:=EMA(VIR16,5)*1.22*VIR11;
VIR18:=EMA(VIR17,3)*VIR11;
VIR19:=3*VIR17-2*VIR18*VIR11;
VOR1A:=IF(CROSS(VIR19,VIR17) AND CROSS(VIR19,VIR18) AND CROSS(VIR17,VIR18),1,0);
VIR1B:=IF(CROSS(VIR17,VIR19) AND CROSS(VIR18,VIR19) AND CROSS(VIR18,VIR17),1,0);
买点:= IF(FILTER(VAR8=0 AND VARE AND VIR10 AND VOR1A,5)=1,10,0);
卖点:= IF(FILTER(VAR8=100 AND VARF AND VIR1B,5)=1,10,0);
VIR1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4*VIR1;
VIR1D:=EMA(CLOSE,2)-EMA(CLOSE,89)*VIR1;
VIR1E:=EMA(VIR1D,21)*VIR1;
VIR1F:=2*(VIR1D-VIR1E)*10*VIR1;
VAR20:=POW(VIR1F,3)*0.1+POW(VIR1F,2)*VIR1;
VAR21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VAR22:=EMA(VAR21*0.97,3)*VIR1;
VIR23:=(HIGH+LOW+CLOSE)/3*VIR1;
VAR24:=(VIR23-MA(VIR23,14))/(0.015*AVEDEV(VIR23,14))*VIR1;
VAR25:=IF(VIR1F>0.013,VAR20,0)/34*VIR1;
拉升1资金: VAR25*5,COLORRED,LINETHICK2;
VAR26:=EMA(CLOSE,3)-EMA(CLOSE,144);
VAR27:=EMA(VAR26,55);
VAR28:=2*(VAR26-VAR27);
VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1);
VAR2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VAR2B:=EMA(VAR2A*0.97,3);
VAR2C:=(HIGH+LOW+CLOSE)/3;
VIR2D:=(VAR2C-MA(VAR2C,14))/(0.015*AVEDEV(VAR2C,14));
主力资金: IF(VAR28>0.01,VAR29*200,-100),LINETHICK2,COLORYELLOW;
STICKLINE(VAR25>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;
实体1比例:=(CLOSE-OPEN)/REF(CLOSE,1);
冲击1系数:=MA(实体1比例,A1Q),COLORRED;
回头1线:=MA(MA(冲击1系数,2),2),COLORYELLOW;
DRAWICON(CROSS(冲击1系数,回头1线) AND MA(C,5)>=REF(MA(C,5),1) ,MA(拉升1资金,5),1);

(0)

相关推荐