當前位置:首頁 > 教育 > 正文

12560戰法


m1 0 1000 5 m2 0 1000 10 m3 0 1000 20 m4 0 1000 30 m5 0 1000 60 m6 0 1000 120 m7 0 1000 250 m8 0 1000 610
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4),COLORRED,LINETHICK1;
MA5:MA(CLOSE,M5),COLORGREEN,LINETHICK1;
MA6:MA(CLOSE,M6),COLORGRAY,LINETHICK2;
MA7:MA(CLOSE,M7),COLORBLUE,LINETHICK2;
MA8:MA(CLOSE,M8),COLORCYAN;
C2:=REF(C,1);
漲停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(漲停,OPEN,CLOSE,2,0),COLORRED;
STICKLINE(漲停,H,L,0,0),COLORRED;
跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(跌停,H,L,0,1),COLORGREEN;

HH0:=CONST(HHV(H,120))*1;
LL0:=CONST(LLV(L,120))*1;
MM0:=CONST((HH0+LL0)/2);
HH1:=IF(CONST(C)LL1:=LL0;HLMAX:=MAX(HH1,LL1);
HLMIN:=MIN(HH1,LL1);
HLMN1:=(HLMAX+HLMIN)/2;
HLMN2:=(HLMAX-HLMIN);
HLMN3:=HHV(V,250)/2;
HLMN4:=HHV(V,250);
VZ:=(V-HLMN3)*HLMN2/HLMN4+HLMN1;
預測量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),COLOR990000,NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,(0-HLMN3)*HLMN2/HLMN4+HLMN1,(預測量-HLMN3)*HLMN2/HLMN4+HLMN1,2,-1),COLORLIGRAY;
STICKLINE(C>=O,VZ,(0-HLMN3)*HLMN2/HLMN4+HLMN1,1,1),COLOR000099;
STICKLINE(C{(MA(V,5)-HLMN3)*HLMN2/HLMN4+HLMN1,COLORFFFFFF;
(MA(V,10)-HLMN3)*HLMN2/HLMN4+HLMN1,COLOR00FFFF;};



T:=150;
TT:=3;
均價線:=AMOUNT/V/100;



MA13:=MA(C,13),COLORGRAY;
MA21:=MA(C,21),COLORWHITE;

DRAWTEXT_FIX(ISLASTBAR,0.65,0.8,0,HYBLOCK),COLOR00FF00;
DRAWTEXT_FIX(ISLASTBAR,0.75,0.8,0,DYBLOCK),COLOR00FFFF;
DRAWTEXT_FIX(ISLASTBAR,0.65,0.9,0,GNBLOCK),COLORYELLOW;
{以上為顯示所屬闆塊,地域,概念等}
AAA1:=STRCAT('滬深總上漲家數:',CON2STR(DYNAINFO(60),0));
AAA2:=STRCAT('滬深總下跌家數:',CON2STR(DYNAINFO(61),0));
DRAWTEXT_FIX(ISLASTBAR,0,0,0,AAA1),LINETHICK1;
DRAWTEXT_FIX(ISLASTBAR,0,0.06,0,AAA2),COLORGREEN;

成交額:=V*C/100,NODRAW;{萬元}
A2:=SUM((IF(((成交額/8>20) AND (CLOSE>(REF(CLOSE,1)))),成交額,0)),0);
A3:=SUM((IF(((成交額/8>20) AND (CLOSE<(REF(CLOSE,1)))),成交額,0)),0);
A6:=(A2+A3);
A7:=IF((ISLASTBAR),((100*A2)/A6),0);
A8:=IF((ISLASTBAR),((100*A3)/A6),0);
DD1:=1;
AAA11:=STRCAT(STRCAT('機構買',CON2STR((100*A2)/A6,0)),'%%');
AAA21:=STRCAT(STRCAT('機構賣',CON2STR((100*A3)/A6,0)),'%%');
AAA31:=STRCAT(STRCAT('總買入',CON2STR((100*(A2-A3))/A6,0)),'%%');
DRAWTEXT_FIX(DD1=1,0,0.02,0,AAA11),COLORRED;
DRAWTEXT_FIX(DD1=1,0,0.13,0,AAA21),COLOR00FF00;
DRAWTEXT_FIX(DD1=1,0,0.24,0,AAA31),COLOR00FFFF;

C85:=COST(85);
C15:=COST(15);
B1:=C85-C15;
B2:=(C85+C15)/2;
B3:=B1/B2*100;
A:=WINNER(C)*100;
BL:=C85/C15;
YC5:=PPART(5)*100;
YC10:=PPART(10)*100;
YC20:=PPART(20)*100;
YC30:=PPART(30)*100;
YC60:=PPART(60)*100;
YC100:=PPART(100)*100;
TJ:=RANGE(YC5,87,96) AND RANGE(YC10,71,92) AND RANGE(YC20,61,82) AND RANGE(YC30,47,63) AND RANGE(YC60,22,43) AND YC100<26;
XG:=A>97 AND BL<1.2 AND TJ AND V=HHV(V,20) AND B3<15;
STICKLINE(CROSS(XG,0.5),C,O,1.5,0),COLORWHITE;
STICKLINE(CROSS(XG,0.5),H,L,0,0),COLORWHITE;
DRAWTEXT(CROSS(XG,0.5),L*0.98,'注意'),COLORYELLOW;
ZT:=C/REF(C,1)>=1.095 AND C=H;
YZ:=ZT AND O=C;
YZT:= BARSLAST(YZ<1); DRAWTEXT(YZT>0,L*0.96,VAR2STR(YZT,0)),COLORWHITE;

LY:=BARSLASTCOUNT(C>O);
YX:=REF(C,1)/C>=1.023 AND CT0:=BARSLAST(YX);
ZF:=(C-REF(C,1))/REF(C,1)*100;
A0:=EVERY(BETWEEN(ZF,-5,5) AND VOLA1:=C>=REF((O-C)*7/9+C,T)AND VOL=HHV(VOL,T) AND VOL>REF(VOL,1);
A20:=BRAR.AR*1.06>BRAR.BR AND BRAR.AR>=REF(BRAR.AR,2);
A30:=VR.VR*1.03>=VR.MAVR AND MACD.DEA=HHV(MACD.DEA,3);
A4:=C/MA(C,20)*100;
A5:=IF(EXIST(L>REF(H,1),2),HSL>0,HSL>3 AND HSL<12);
SY:=H/MAX(C,O)*100 ;
ST:=MAX(C,O)/MIN(C,O)*100;
A70:=IF(ST>107,SY<100.95,SY>0)AND LY<7;
A60:=A1 AND A20 AND A30 AND A4<110.35 AND A5 AND A70;
XG0:=T0>3 AND REF(A0,1) AND COUNT(A1,T+1)=1 AND A60 AND T<17;
TA:=BARSLAST(XG0);
DRAWTEXT_FIX(ISLASTBAR,0.005,0.005,0,FGBLOCK),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.005,0.1,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.005,0.2,0,DYBLOCK),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.005,0.3,0,GNBLOCK),COLORWHITE;

你可能想看:

有話要說...

取消
掃碼支持 支付碼