《黑马王子公式.docx》由会员分享,可在线阅读,更多相关《黑马王子公式.docx(12页珍藏版)》请在三一办公上搜索。
1、黑马王子公式1黑马王子 黑马王子量柱群指标图 VOLUME:VOL,VOLSTICK; 降:COUNT(CLOSEREF(CLOSE,1),2)=2 AND COUNT(VOL0; VO:VOL=LLV(VOL,100) AND T; 地量柱:T AND VO,COLORBLUE; STICKLINE(地量柱,0,V,1,0),COLORBLUE; DRAWTEXT(地量柱,VOL+3000,地),COLORBLUE; BLZ:=VOLREF(V,1)*1.9; BLZ1:=VOLREF(LLV(VOL,13),1); BLZ2:=VOL2*REF(VOL,1) AND CLOSEHJZ2 A
2、ND CO; 黄金柱:FILTER(HJZ3,5),STICK,COLORRED,LINETHICK4; STICKLINE(黄金柱,0,V,1,0),COLORRED; DRAWTEXT(黄金柱,VOL+10000,黄),COLORRED; 价涨量缩:降,COLORGREEN; FLZ:=VREF(V,1)*0.98 AND V=MXA,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0), COLOR600020; STICKLINE(MXMXA,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),
3、DATE),5,0), COLOR404050; DRAWKLINE(H,O,L,C); AA:=ABS(2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30)/MA(CLOSE,30); 趋势线MA(2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORRED; CC:=(CLOSE/趋势线); MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3); MAAA:=(MA1-趋势线)/趋势线)/3; TMP:=MA1-MAAA*MA1; JJ:IF(TMP=趋势线,趋势线,DRAWNULL),LINETHICK3,COLORGREEN; XJ
4、:IF(TMP=MXA,LOW,HIGH,0.0,1),COLORRED; STICKLINE(MX=MXA,CLOSE,OPEN,3,1),COLORRED; STICKLINE(MXMXA,LOW,HIGH,0.0,1),COLORGREEN; STICKLINE(MX=MXA,JD-0.1,1); DRAWTEXT(CROSS(CP,JD) AND MX=MXA,JD-0.38,加仓),COLORYELLOW; BL:=VOL=REF(V,1)*1.91 AND CREF(C,1)*1.01; DRAWTEXT(FILTER(BL,3),H+0.2,倍量柱)COLORYELLOW; ST
5、ICKLINE(FILTER(BL,3),OPEN,CLOSE,1.5,0),COLORYELLOW; XG:=SUMBARS(FILTER(BL,3),1); STICKLINE(XG,REF(L,XG-1),REF(L,XG-1),10,0),COLORYELLOW; 3跟庄 机构资金出入和建仓行为的实用副图 VARA:=REF(LOW,1); VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100; VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3); VARD:=LLV(LOW,30); VA
6、RE:=HHV(VARC,30); VARF:=IF(MA(CLOSE,58),1,0); VARG:=EMA(IF(LOW28,28,VARG); RSV:=(CLOSE - LLV(LOW,9) / (HHV(HIGH,9) - LLV(LOW,9) * 100); K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; X:=LLV(J,2)=LLV(J,8); 买入时机: IF(CROSS(J,3),65,0),COLORFF00FF,LINETHICK3; DRAWTEXT(买入时机,70.1,跟庄),COLORFF00FF; VA:=(2*C+H+L
7、)/4; VB:=LLV(L,5); VC:=HHV(H,5); 红线上穿买:EMA(VA-VB)/(VC-VB)*100,5),COLORRED; 红线下穿卖:EMA(红线上穿买,3),COLORFFFF00; 趋势:3*SMA(CLOSE-LLV(LOW,27)/(HHV(HIGH,27)-LLV(LOW,27)*100,5,1)-2*SMA(SMA(CLOSE-LLV(LOW,27)/(HHV(HIGH,27)-LLV(LOW,27)*100,5,1),3,1),COLOR00FFFF; 秘密买点: IF(趋势=3,20,0),COLOR00FF00,LINETHICK3; 机构建仓:
8、IF(趋势0; 倍量:= VOL=REF(V,1)*1.9 AND CREF(C,1); 地量又倍量:COUNT(百日地量,5)=1 AND COUNT(倍量,1)=1; 2.倍量过左峰 N:=20; 左峰高:=REF(HHV(C,N),1); 倍量过左:REF(COUNT(C左峰高 AND CO AND VOL/REF(VOL,1)=1.9; 3.回踩黄金线 1.黄金柱 JJ:=(3*C+H+L+O)/6; VAR1:=DMA(JJ,0.2); VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3) +4*REF(JJ,4)+3*REF(JJ,5)+2
9、*REF(JJ,6)+REF(JJ,8)/36; TJ1:=VOL=HHV(VOL,10) AND VOL2*REF(VOL,1) AND CLOSEVAR1 AND CREF(C,1); LJL:=FILTER(TJ1,3); 黄金线:=REF(LOW,BARSLAST(LJL); 黄金柱:=FILTER(TJ1,3); 2.倍量过左峰 SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1); SR2:=FILTER(SR1,10); SR3:=BACKSET(SR2,10+1); HD:=FILTER(SR3,10); 前高:=REF(H,BARSLAST(HD); 倍量:=
10、VOL/REF(VOL,1)=2 AND COUNT(CLOSEOPEN,1) OR LOWREF(HIGH,1) AND COUNT(OPENCLOSE,1) AND VOL/REF(VOL,1)=2; 突破前高:=CROSS(C,前高); 倍量过左峰:= 突破前高 AND 倍量; 3.凹口起柱 T7:=REF(VOL,6)/REF(VOL,7)=2; T6:=REF(VOL,5)/REF(VOL,6)=2; T5:=REF(VOL,5)/REF(VOL,4)=1.5; T4:=REF(VOL,4)/REF(VOL,3)=1.5; T3:=REF(VOL,2)/REF(VOL,3)=1.5;
11、 T1:=V/REF(VOL,1)2; T0:=CO AND CREF(C,1); 凹口起柱:= T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0 OR T3 AND T1 AND T0 ; 凹口起柱 AKQZ:= 黄金柱 AND 凹口起柱; 4.前高低位 X:=21; TTY:=H; AAT:=REF(TTY,X)=HHV(TTY,2*X+1); BBT:=FILTER(AAT,X); CCT:=BACKSET(BBT,X+1); HD10T:=FILTER(CCT,X); 前期高位:=R
12、EF(H,BARSLAST(HD10T); 突破前高 TPQG:= 黄金柱 AND 倍量过左峰 AND C前期高位; 选股 回踩黄金线: (COUNT(TPQG,10) OR COUNT(AKQZ,10) AND COUNT(CROSS(黄金线*1.01,L),3)0 AND L=黄金线 AND CREF(C,1) AND REF(C,2)REF(C,1) AND COUNT(LJL,3)=0; 5.长阴短柱 长阴短柱: C/REF(C,1)0.95 AND VHHV(V,30)/1.9; 6.1 底同向精准 NN:=3; LL0:=0; L0:=LL0/100; L1:=ABS(L-REF(
13、L,1)=L0; L2:=ABS(L-REF(L,2)=L0; L3:=ABS(L-REF(L,3)=L0; L4:=ABS(L-REF(L,4)=L0; L5:=ABS(L-REF(L,5)=2,COLORRED; 5启动买双阴卖 启动点红买黄卖双阴出货 COHL:=(C+O+H+L)/4;算术均价 成交均价:=AMOUNT/VOL/100; TEST:=BETWEEN(成交均价,L,H); CC0:=IF(TEST,成交均价,COHL),COLORWHITE;当均价远离算术均价时,用算术均价 CC:=FORCAST(CC0,5),COLORWHITE; EMA34:EMA(CC,34),C
14、OLORFFCC66; EMA21:EMA(CC,21),COLORGREEN; EMA13:EMA(CC,13),COLORBROWN; EMA5:EMA(EMA(CC,5),2),COLORYELLOW; TJ:= CO AND ABS(EMA13-EMA5)EMA5*0.01 AND ABS(EMA13-EMA21)EMA21*0.01 AND ABS(EMA34-EMA21)REF(EMA5,1) AND EMA13REF(EMA13,1) AND EMA21REF(EMA21,1) AND EMA34REF(EMA34,1); 启动点:=FILTER(TJ,5); DRAWTEXT(
15、启动点,L*0.95,启动),COLORMAGENTA; A1:=Ma(C,5); A2:=Ma(C,10); 可以自设均线,牛市21日线,熊市10日线 A3:=(A1+A2)/2; IF (A1A2,A1,A3),Colorred,linethick2; IF (A1A2,A2,A3),Colorred,linethick2; IF (A1=A2,A1,A3),Color00ff00,linethick2; IF (A10 AND EMA(CLOSE,12)/LOW1.15,5), LOW,),linethick7 , COLORff00ff; VARA:=(AMOUNT)/(VOL)/(1
16、00); VARB:=(3)*(HIGH)+LOW+OPEN+(2)*(CLOSE)/(7); VARC:=(SUM(AMOUNT,7)/(VARA)/(100); VARD:=DMA(VARB,(VOL)/(VARC); VARE:=(CLOSE-VARD)/(VARD)*(100); VARF:=(CLOSE-LLV(LOW,34)/(HHV(HIGH,34)-LLV(LOW,34)*(100); VARJ:=MA(VARE,20)+STD(VARE,20); BIAS18:=(CLOSE-MA(CLOSE,18)/(MA(CLOSE,18)*(100); aa:=SMA(VARF,3,1
17、); ss:=(REF(BIAS18,1)=5) AND CROSS(VARJ,VARE) AND (aa79); DRAWTEXT(REF(BIAS18,1)=5) AND CROSS(VARJ,VARE) AND (aass),h*1.02,),LINETHICK7,colorgreen; Var1:=ZIG(3,10)REF(ZIG(3,10),2); Var2:=ZIG(3,10)REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)REF(ZIG(3,10),2); STICKLINE(Var1,C,O,8,0),COLORYELLOW,LINETHICK2; S
18、TICKLINE(Var1,C,O,3,0),COLORYELLOW,LINETHICK2; STICKLINE(Var1,H,L,1,0),COLORYELLOW,LINETHICK2; STICKLINE(Var2,C,O,8,0),COLORFF00FF,LINETHICK2; STICKLINE(Var2,C,O,3,0),COLORFF00FF,LINETHICK2; STICKLINE(Var2,H,L,1,0),COLORFF00FF,LINETHICK2; 双阴出货:=FILTER(COUNT(CO,2)=2 AND L13 AND REF(Var6,1)/Var61.23 A
19、ND CLOSE/REF(CLOSE,1)1.03; 春笋: IF(Var7 AND REF(CLOSE,1)=COST(5),20,0),LINESTICK ,COLOR00FF00,LINETHICK2; Var8:=MA(CLOSE,27); Var9:=(CLOSE-Var8)/Var8*100; VarA:=MA(Var9,2); VarB:=BARSLAST(CROSS(-10,VarA)=1); VarC:=BARSLAST(CROSS(VarA,10)=1); VarD:=VarA3; VarE:=VarA10 AND VarC3; 黄金坑: IF(VarD,VarA,0),L
20、INESTICK ,LINETHICK2, COLORYELLOW; 财神到: IF(VarE,VarA,0),LINESTICK , COLORGREEN; 稳赚买: IF(VarAREF(VarA,1) AND VarD AND VarA0,40,1); VarF:=REF(LOW,1)*0.9; Var10:=LOW*0.9; Var11:=(Var10*VOL+VarF*(CAPITAL-VOL)/CAPITAL; Var12:=EMA(Var11,30); Var13:=CLOSE-REF(CLOSE,1); Var14:=MAX(Var13,0); Var15:=ABS(Var13
21、); Var16:=SMA(Var14,7,1)/SMA(Var15,7,1)*100; Var17:=SMA(Var14,13,1)/SMA(Var15,13,1)*100; Var18:=BARSCOUNT(CLOSE); Var19:=SMA(MAX(Var13,0),6,1)/SMA(ABS(Var13),6,1)*100; Var1A:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60)+100; Var1B:=(CLOSE-LLV(LOW,15)/(HHV(HIGH,15)-LLV(LOW,15)*100; Var1C:=SM
22、A(SMA(Var1B,4,1)-50)*2,3,1); Var1D:=(INDEXC-LLV(INDEXL,14)/(HHV(INDEXH,14)-LLV(INDEXL,14)*100; Var1E:=SMA(Var1D,4,1); Var1F:=SMA(Var1E,3,1); Var20:=(HHV(HIGH,30)-CLOSE)/CLOSE*100; Var21:=Var19=25 AND Var1A20 AND Var1C-30 AND Var1F=-0.25 AND Var1622 AND Var1750; 超跌: STICKLINE(Var21,0,60,5,0); 7、临界点 N
23、: 1 100 7; M: 1 100 3; TR0:= SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1),ABS(LOW-REF(CLOSE,1),N); HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;DMP:= SUM(IF(HD0 AND HDLD,HD, 0),N);DMM:= SUM(IF(LD0 AND LDHD,LD,0),N);PDI: DMP*100/TR0;MDI: DMM*100/TR0; ADX: MA(ABS(MDI-PDI)/(MDI+PDI)*100,M);ADXR:(ADX+REF(A
24、DX,M)/2; 预警:IF(ADX90 AND PDI=0,30,0),COLORYELLOW,LINETHICK2; 买:IF(CROSS(PDI,MDI) AND (C 1.05*REF(C,1) OR REF(C,1)1.05*REF(C,2) AND (V2*REF(V,1) OR REF(V,1)2*REF(V,2)AND MA(V,5)MA(V,60) ,20,0),COLORRED, LINETHICK2;买2:IF(CROSS(PDI,MDI) AND COUNT(预警,10)=1,10,0),LINETHICK3; 8、带黄金柱的量柱指标 VVOL:IF(CURRBARSC
25、OUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0; 量:VOL,VOLSTICK; AA:=VOL=REF(V,1)*1.91 & CREF(C,1); AA1:=VOLREF(LLV(VOL,21),1); AA2:=VOLREF(LLV(VOL,55),1); AA3:=ABS(VOL-REF(VOL,1)/REF(VOL,1)=0.05; AA4:=VOLREF(L,3) AND HHV(V,3)REF(O,3) AND REF(V,3)2*REF(V,4),V,8); M5:MA(VOL,5); M10:MA(VOL,10); M20:MA(VOL,20);
链接地址:https://www.31ppt.com/p-3136918.html