股价:VOL,VOLSTICK;
HJ_1:=XMA(XMA(股价,3),3);
HJ_2:=XMA(XMA(股价,5),5);
HJ_3:=XMA(XMA(股价,6),6);
HJ_4:=XMA(XMA(股价,8),8);
HJ_5:=XMA(XMA(股价,10),10);
HJ_6:=XMA(XMA(股价,12),12);
HJ_7:=(HJ_4+HJ_5+HJ_6+HJ_1+HJ_2+HJ_3)/6;
HJ_8:=HJ_7*1.35;
HJ_9:=HJ_7*0.65;
HJ_10:=XMA(XMA(股价,16),16);
HJ_11:=XMA(XMA(股价,19),19);
HJ_12:=XMA(XMA(股价,22),22);
HJ_13:=XMA(XMA(股价,25),25);
HJ_14:=XMA(XMA(股价,28),28);
HJ_15:=XMA(XMA(股价,31),31);
HJ_16:=(HJ_10+HJ_11+HJ_12+HJ_13+HJ_14+HJ_15)/6;
{www.fxjgsw.com}
HJ_17:=HJ_16*1.4;
HJ_18:=HJ_16*0.6;
HJ_19:=XMA(XMA(股价,40),40);
HJ_20:=XMA(XMA(股价,50),50);
HJ_21:=XMA(XMA(股价,60),60);
HJ_22:=(HJ_19+HJ_20+HJ_21)/3;
HJ_23:=HJ_22*1.5;
HJ_24:=HJ_22*0.5;
HJ_25:=XMA(XMA(股价,90),90);
HJ_26:=XMA(XMA(股价,120),120);
HJ_27:=XMA(XMA(股价,150),150);
HJ_28:=(HJ_25+HJ_26+HJ_27)/3;
HJ_29:=HJ_28*1.3;
HJ_30:=HJ_28*1.8;
HJ_31:=HJ_28*0.5;
HJ_32:=EMA(HJ_7,10);
HJ_33:=EMA(HJ_16,10);
V2:IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1),NODRAW,COLORRED;
STICKLINE(V2>=1,0,VOL,2,0),COLORYELLOW;
VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,(-1),(-1)),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
HJ_34:=HJ_9<HJ_18 AND HJ_18<HJ_24 AND HJ_24<HJ_31;
HJ_35:=HJ_9<HJ_18 AND HJ_18>HJ_24 AND HJ_18<HJ_31;
HJ_36:=HJ_9<HJ_18 AND HJ_18<HJ_24 AND HJ_18>HJ_31;
STICKLINE(HJ_16>HJ_33,0,VOL,2,1),COLORMAGENTA;
STICKLINE(HJ_7>HJ_32,0,VOL,2,0),COLORRED;
STICKLINE(HJ_16>HJ_33 AND VOL<HJ_31,0,VOL,3,0),COLORWHITE;
STICKLINE(HJ_16>HJ_33 AND VOL<HJ_24 AND VOL<HJ_18 AND VOL>HJ_31,0,VOL,3,0),COLORBLUE;
STICKLINE(HJ_16<HJ_33,0,VOL,2,0),COLORGREEN;
STICKLINE(HJ_16<HJ_33 AND HJ_7>HJ_32,0,VOL,2,0),COLORYELLOW;
STICKLINE(HJ_35=1 OR HJ_36=1,0,VOL,2,0),COLORBLUE;
STICKLINE(HJ_22>REF(HJ_22,1) AND 股价<HJ_31,0,VOL,3,0),COLORWHITE;
DRAWRECTREL(0,250,175,999.400024,IF(120,RGB(10,0,0),0));
HJ_37:=L2_AMO(0,2)/10000;
HJ_38:=L2_AMO(1,2)/10000;
HJ_39:=L2_AMO(2,2)/10000;
HJ_40:=L2_AMO(3,2)/10000;
HJ_41:=L2_AMO(0,3)/10000;
HJ_42:=L2_AMO(1,3)/10000;
HJ_43:=L2_AMO(2,3)/10000;
HJ_44:=L2_AMO(3,3)/10000;
HJ_45:=HJ_37+HJ_38+HJ_39+HJ_40-(HJ_41+HJ_42+HJ_43+HJ_44);
HJ_46:=HJ_37-HJ_41;
HJ_47:=HJ_38-HJ_42;
HJ_48:=HJ_39-HJ_43;
HJ_49:=HJ_40-HJ_44;
HJ_50:=CONST(MAX(ABS(HJ_45),MAX(ABS(HJ_46),MAX(ABS(HJ_47),MAX(ABS(HJ_48),ABS(HJ_49))))));
DRAWRECTREL(0,CONST(830-ABS(HJ_46)*500/HJ_50),30,935,IF(CONST(HJ_46)>0,RGB(255,0,0),RGB(23,125,255)));
DRAWRECTREL(35,CONST(830-ABS(HJ_47)*500/HJ_50),65,935,IF(CONST(HJ_47)>0,RGB(255,0,0),RGB(23,125,255)));
DRAWRECTREL(70,CONST(830-ABS(HJ_48)*500/HJ_50),100,935,IF(CONST(HJ_48)>0,RGB(255,0,0),RGB(23,125,255)));
DRAWRECTREL(105,CONST(830-ABS(HJ_49)*500/HJ_50),135,935,IF(CONST(HJ_49)>0,RGB(255,0,0),RGB(23,125,255)));
DRAWRECTREL(140,CONST(830-ABS(HJ_45)*500/HJ_50),170,935,IF(CONST(HJ_45)>0,RGB(255,0,0),RGB(23,125,255)));
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.002,0.25,0,70),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.002,0.55,0,INTPART(HJ_46)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.035,0.555,0,INTPART(HJ_47)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.07,0.55,0,INTPART(HJ_48)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.106,0.55,0,INTPART(HJ_49)),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.145,0.55,0,INTPART(HJ_45)),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.002,1,0,71),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.04,1,0,72),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.075,1,0,73),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.112,1,0,74),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.145,1,0,75),COLORYELLOW;
HJ_51:=55;
HJ_52:=34;
HJ_53:=REF(CLOSE,1);
HJ_54:=SMA(MAX(CLOSE-HJ_53,0),3,1)/SMA(ABS(CLOSE-HJ_53),3,1)*100;
HJ_55:=EMA(CLOSE,3);
HJ_56:=EMA(CLOSE,21);
DRAWTEXT(CROSS(85,HJ_54),75,69),COLORGREEN;
HJ_57:=IF(YEAR>=2038 AND MONTH>=1,0,1);
HJ_58:=REF(LOW,1)*HJ_57;
HJ_59:=SMA(ABS(LOW-HJ_58),3,1)/SMA(MAX(LOW-HJ_58,0),3,1)*100*HJ_57;
HJ_60:=EMA(IF(CLOSE*1.3,HJ_59*10,HJ_59/10),3)*HJ_57;
HJ_61:=LLV(LOW,30)*HJ_57;
HJ_62:=HHV(HJ_60,30)*HJ_57;
HJ_63:=IF(MA(CLOSE,58),1,0)*HJ_57;
HJ_64:=EMA(IF(LOW<=HJ_61,(HJ_60+HJ_62*2)/2,0),3)/618*HJ_63*HJ_57;
吸筹:IF(HJ_64>100,100,HJ_64)*HJ_57,COLORRED;
庄家吸筹:STICKLINE(吸筹>(-150),0,吸筹,8,0),COLORRED;
散户:100*(HHV(HIGH,HJ_51)-CLOSE)/(HHV(HIGH,HJ_51)-LLV(LOW,HJ_51)),COLORCYAN,LINETHICK2;
HJ_65:=(CLOSE-LLV(LOW,HJ_52))/(HHV(HIGH,HJ_52)-LLV(LOW,HJ_52))*100;
HJ_66:=SMA(HJ_65,3,1);
HJ_67:=SMA(HJ_66,3,1);
HJ_68:=3*HJ_66-2*HJ_67;
庄家:EMA(HJ_68,6),COLORMAGENTA,LINETHICK2;
{-----------------------------------}
|