{精品量价齐升追大牛 胜率超90% 主图源码如下}
{量价齐升主图指标,无未来函数}
DIFF:=EMA(C,8)-EMA(C,13);
DEA:=EMA(DIFF,5);
DCZ1:=DIFF>DEA;
WU1:=(C-LLV(LOW,8))/(HHV(H,8)-LLV(LOW,8))*100;
K:=SMA(WU1,3,1);
D:=SMA(K,3,1);
DCZ2:=K>D;
ZS:=REF(C,1);
NS1:=(SMA(MAX(C-ZS,0),5,1))/(SMA(ABS(C-ZS),5,1))*100;
NS2:=(SMA(MAX(C-ZS,0),13,1))/(SMA(ABS(C-ZS),13,1))*100;
DCZ3:=NS1>NS2;WU:=-(HHV(H,13)-C)/(HHV(H,13)-LLV(LOW,13))*100;
DC5:MA(C,5)DOTLINE;
DC10:MA(C,13)LINETHICK2;
主力突破1:=SMA(WU,3,1);
主力突破2:=SMA(主力突破1,3,1);
DCZ4:=主力突破1>主力突破2;
BBI:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4;
DCZ5:=C>BBI;
擒牛:=C-REF(C,1);
擒牛J:=100*EMA(EMA(擒牛,5),3)/EMA(EMA(ABS(擒牛),5),3);
擒牛M:=100*EMA(EMA(擒牛,13),8)/EMA(EMA(ABS(擒牛),13),8);
DCZ6:=擒牛J>擒牛M;
擒牛S:=(C*2+H+L)/4;
DT:=EMA(擒牛S,13)-EMA(擒牛S,34);
ZT:=EMA(DT,5);
空头:=(-2*(DT-ZT))*3.8,COLORGREEN;
多头:=(2*(DT-ZT))*3.8,COLORRED;
DCZ7:=多头>空头;MA11:=MA(C,5);
MA22:=REF(MA(C,5),1);
DCZA2:=IF(MONTH< 12,1,1);
DCZA3:=(2*C+H+LOW)/4;
DCZA4:=LLV(LOW,34);
DCZA5:=HHV(H,34);
主力:=EMA((DCZA3-DCZA4)/(DCZA5-DCZA4)*100,13)*DCZA2;
散户:=EMA(0.667*REF(主力,1)+0.333*主力,2);
DCZ9:=主力>散户;
DCZ10:=(多头>空头) AND (主力>散户);
DCZ11:=(多头>空头) AND (主力>散户) AND (DIFF>DEA) AND (K>D) AND (NS1>NS2) AND (主力突破1>主力突破2) AND (C>BBI) AND (擒牛J>擒牛M);
量价齐升:=BARSLASTCOUNT((DCZ1 AND DCZ2 AND DCZ3 AND DCZ4 AND DCZ5 AND DCZ6 AND DCZ7 AND DCZ9 AND DCZ10 AND DCZ11))=1;
DRAWICON((DCZ1 AND DCZ2 AND DCZ3 AND DCZ4 AND DCZ5 AND DCZ6 AND DCZ7 AND DCZ9 AND DCZ10 AND DCZ11),L,1);
STICKLINE((DCZ1 AND DCZ2 AND DCZ3 AND DCZ4 AND DCZ5 AND DCZ6 AND DCZ7 AND DCZ9 AND DCZ10 AND DCZ11),OPEN,C,2,0),COLORYELLOW;
STICKLINE((DCZ1 AND DCZ2 AND DCZ3 AND DCZ4 AND DCZ5 AND DCZ6 AND DCZ7 AND DCZ9 AND DCZ10 AND DCZ11),OPEN,C,1,0),COLORFF00FF;
DRAWICON(量价齐升,L,18);
DRAWTEXT(量价齐升,L*0.96,'★齐升'),COLORYELLOW;
{精品量价齐升追大牛 胜率超90% 副图源码如下}
{量价齐升副图指标,无未来函数}
DCZ1:=(2*CLOSE+HIGH+LOW)/4;
DCZ2:=LLV(LOW,34);
DCZ3:=HHV(HIGH,34);
DCZ4:=EMA((DCZ1-DCZ2)/(DCZ3-DCZ2)*100,8);
DCZ5:=EMA(DCZ4,5);
DCZ6:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
DCZ7:=HHV(DCZ6>20,10);
DCZ8:=MA(CLOSE,5);
DCZ9:=MA(CLOSE,10);
DCZ10:=MA(CLOSE,20);
DCZ11:=MA(CLOSE,30);
DCZ12:=BARSLAST(CROSS(DCZ8,DCZ9));
DCZ13:=BARSLAST(CROSS(DCZ9,DCZ8));
DCZ14:=IF(DCZ12<DCZ13,DCZ12+1,0);
DCZ15:=IF(DCZ13<DCZ12,DCZ13+1,0);
DCZ16:=DCZ8>DCZ10 AND DCZ9>DCZ10 AND DCZ10>REF(DCZ10,1) AND DCZ11>REF(DCZ11,1);
DCZ17:=HHV(DCZ14,5)>=2 AND DCZ16 AND DCZ8>REF(DCZ8,1) AND DCZ8>DCZ9;
DCZ18:=DCZ17*DCZ14;
DCZ19:=BARSLAST(DCZ18>0 AND NOT(REF(DCZ18,1)))+1;
DCZ20:=(CLOSE/REF(CLOSE,DCZ19)-1)*100;
拉升值:IF(DCZ20>0,DCZ20,0),COLORLIMAGENTA;
DCZ21:=0.24;
DCZ22:=IF(CLOSE>REF(CLOSE,1),88,0);
DCZ23:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND DCZ22>0,91,0);
DCZ24:=FILTER(DCZ23>90,45);
STICKLINE(DCZ24,10,0,1,0),COLORYELLOW;
STICKLINE(DCZ24,10,0,0.5,0),COLORRED;
DRAWTEXT(DCZ24>0,7,'量值+拉升值,大于10,后市看涨'),COLOR00C5FF;