{四方力道主图仿}{主图}
风险:=(EMA(EMA(EMA(HIGH,5),5),4))*(1.02);
超跌:=(EMA(EMA(EMA(HIGH,5),5),4))*(0.92);
DZH1:=((CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80)))*(200);
DZH2:=SMA(DZH1,3,1);
DZH3:=SMA(DZH2,3,1);
DZH4:=(3)*(DZH2)-(2)*(DZH3);
DZH5:=LLV(LOW,5);
DZH6:=HHV(HIGH,5);
DZH7:=(EMA(((CLOSE-DZH5)/(DZH6-DZH5))*(100),4))*(2);
DZH8:=EMA((0.667)*(REF(DZH7,1))+(0.333)*(DZH7),2);
DZH9:=(3)*(DZH7)-(2)*(DZH8);
DZHA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
DZHB:=POW(MA(LOW,5),2)+MA(LOW,5);
DZHC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
DZHD:=((DZHA-LLV(DZHB,64))/(HHV(DZHC,64)-LLV(DZHB,64)))*(150)+65-10;
DZHE:=(SMA(DZHD,3,1))*(1.5)-100;
DZHF:=SMA(DZHE,3,1);
DZH10:=(3)*(DZHE)-(2)*(DZHF);
DZH11:=(HIGH+LOW+(CLOSE)*(2))/(4);
DZH12:=EMA(DZH11,13);
DZH13:=STD(DZH11,13);
DZH14:=((DZH11-DZH12)*(100))/(DZH13);
DZH15:=EMA(DZH14,5);
DZH16:=EMA(DZH15,13);
DZH17:=EMA(DZH15,13)+200-100;
DZH18:=EMA(DZH17,10);
DZH19:=(3)*(DZH17)-(2)*(DZH18);
DZH1A:=DZH2+DZH7+DZHE+DZH17;
DZH1B:=DZH3+DZH8+DZHF+DZH18;
DZH1C:=DZH4+DZH9+DZH10+DZH19;
DZH1D:=(HIGH+LOW+CLOSE)/(3);
DZH1E:=((AMOUNT)/(VOL))/(100);
DZH1F:=((SUM(AMOUNT,5))/(SUM(VOL,5)))/(100);
DZH20:=(DZH1D-MA(DZH1D,34))/((0.015)*(AVEDEV(DZH1D,34)));
DZH21:=DMA(((AMOUNT)/(VOL))/(100),(VOL)/(CAPITAL));
DZH22:=(HIGH+LOW+CLOSE+DZH1D)/(4);
DZH23:=EMA(DZH22,24);
DZH24:=STD(DZH22,24);
DZH25:=((DZH22-DZH23)/(DZH24))*(100);
DZH26:=(DZH1D-MA(DZH1D,24))/((0.015)*(AVEDEV(DZH1D,24)));
DZH27:=EMA(DZH25,5);
DZH28:=(DZH1E-MA(DZH1E,21))/((0.015)*(AVEDEV(DZH1E,21)));
DZH29:=(DZH1F-MA(DZH1F,90))/((0.015)*(AVEDEV(DZH1F,90)));
DZH2A:=((DZH29+DZH28+DZH27+DZH26+DZH20)/(3)+165)/(4);
DZH2B:=(EMA(EMA(EMA(DZH2A,15),10),5)-25)*(2)+DZH21;
DZH2C:=((DZH1A+DZH1B+(DZH1C)*(30))/(32))/(5)-15;
DZH2D:=EMA(DZH2C,13);
DZH2E:=((DZH2A+DZH2C)/(2))/(1.1);
DX1:=EMA(DZH2E,1);
DX2:=EMA(DX1,12);
ZX:=EMA((DZH2B+DZH2D)/(2),2);
VAR1:=(CLOSE+HIGH+LOW+OPEN)/(4);
VAR2:=SUMBARS(VOL,CAPITAL);
VAR3:=HHV(VAR1,VAR2);
VAR4:=LLV(VAR1,VAR2);
VAR5:=((2)*(VAR1)-VAR4-REF(VAR4,1))/(VAR3-VAR4);
VAR6:=(VAR1-VAR4)/(VAR3-VAR4);
【】VAR7:=IF((VAR1<=VAR4),(VAR5)*(60),(VAR6)*(60));
VAR8:=((600)*(EMA(CLOSE,3)-EMA(LOW,30)))/(EMA(LOW,30));
VAR9:=EMA(VAR8,7);
VARA:=(WINNER(((120)*(CLOSE))/(100))-WINNER(((100)*(CLOSE))/(100)))*(100);
VARB:=((-100))*(WINNER(((120)*(CLOSE))/(100))-WINNER(((100)*(CLOSE))/(100)))+5;
波段买入:=(VARA+VARB<7) AND CROSS(VAR8,VAR9) AND(VAR9<(-18)) AND (VAR9<VARB);
VARC:=HHV(HIGH,9)-LLV(LOW,9);
VARD:=HHV(HIGH,9)-CLOSE;
VARE:=CLOSE-LLV(LOW,9);
VARF:=((VARD)/(VARC))*(100)-70;
VAR10:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
VAR11:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR12:=SMA(((VARE)/(VARC))*(100),3,1);
VAR13:=LLV(LOW,34);
VAR14:=SMA(VAR12,3,1)-SMA(VARF,9,1);
VAR15:=IF((VAR14>100),VAR14-100,0);
VAR16:=HHV(HIGH,34);
VAR17:=EMA(((VAR11-VAR13)/(VAR16-VAR13))*(100),8);
VAR18:=EMA(VAR17,5);
STICKLINE((VAR17-VAR18>=0),超跌,1,8,0),CoLor00FFFF;
STICKLINE((VAR17-VAR18<0),风险,70000,8,0),CoLorCCCC00;
B1:=((CLOSE-MA(CLOSE,6))/(MA(CLOSE,6)))*(100);
B2:=((CLOSE-MA(CLOSE,12))/(MA(CLOSE,12)))*(100);
B3:=((CLOSE-MA(CLOSE,24))/(MA(CLOSE,24)))*(100);
MM:=(B1+(2)*(B2)+(3)*(B3))/(6);
MN:=MA(MM,3);
X1:=CLOSE;
V1:=DMA((HIGH+LOW+(CLOSE)*(2))/(4),0.9);
HY1:=REF(EMA(V1,3),1);
操盘线:HY1,CoLorFF80C0;
X2:=CLOSE;
X3:=操盘线;
STICKLINE((X2>=X3),LOW,HIGH,0.1,0),CoLor0000FF;
STICKLINE((X2>=X3),CLOSE,OPEN,4.5,0),CoLor0000AA;
STICKLINE((X2>=X3),CLOSE,OPEN,3,0),CoLor0000CC;
STICKLINE((X2>=X3),CLOSE,OPEN,2,0),CoLor0000DD;
STICKLINE((X2>=X3),CLOSE,OPEN,1,0),CoLor0000FF;
STICKLINE((X2<X3),CLOSE,OPEN,1,0),CoLorEEEE00;
STICKLINE((X2<X3),CLOSE,OPEN,2,0),CoLorDDDD00;
STICKLINE((X2<X3),CLOSE,OPEN,3,0),CoLorCCCC00;
STICKLINE((X2<X3),CLOSE,OPEN,4.5,0),CoLorAAAA00;
STICKLINE((X2<X3),LOW,HIGH,0.1,0),CoLorFFFF00;