{主力拉涨主图源码如下}
游资筹码:=C;
金牛突破3AA:=IF((游资筹码>REF(游资筹码,1)),88,0);
金牛突破4AA:=IF(((游资筹码)/(REF(游资筹码,1))>1.05) AND ((HIGH)/(游资筹码)< 1.01) AND (金牛突破3AA>0),91,0);
金牛:=(FILTER((金牛突破4AA>90),45)),COLORYELLOW;
STICKLINE(金牛,O,C,1.5,0),COLORYELLOW;
DRAWTEXT(金牛>0,L,' ★主力抄底'),COLOR00C5FF;
DRAWICON(金牛>0,L,9);
MA5:EMA(C,5);
MA13:EMA(C,13);
FABC1:=ABS(((3.48*游资筹码+HIGH+LOW)/4-EMA(游资筹码,23))/EMA(游资筹码,23));
FABC2:=DMA(((2.15*游资筹码+LOW+HIGH)/4),FABC1);
金线王:=EMA(FABC2,200)*1.118;
金线王2:=EMA(FABC2,200)*1.118;
条件:=(C-REF(C,1))/REF(C,1)*100>8;
金K线:=CROSS(C,金线王) AND 条件;
黑马启动:=金K线*11,LINETHICK2;
DRAWICON(金K线,L,13);
STICKLINE(金K线,O,C,1.5,0),COLORMAGENTA;
DRAWTEXT(金K线,L,' ★主力拉涨'),COLORRED;
{主力拉涨副图源码如下}
CTB1:=(CLOSE*2+HIGH+LOW)/4*10;
CTB2:=EMA(CTB1,13)-EMA(CTB1,34);
CTB3:=EMA(CTB2,5);
CTB4:=2*(CTB2-CTB3)*5.5;
CTA1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
CTA2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
CTA3:=(SMA(CTA2,3,1)-18)*1.55;
CTA4:=SMA(CTA3,3,1);
CTA5:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
CTA6:=SMA(CTA5,10,1);
CTA7:=(EMA(SMA(CTA6,8,1),34)-25)*2.6;
CTA8:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
CTA9:=POW(MA(LOW,5),2)+MA(LOW,5);
主力线:CTB4,COLORRED DOTLINE,LINETHICK1;
CTD1:=(H-REF(C,1))/REF(C,1)*100;
CTD2:=(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S')) AND CTD1>=4.945;
CTD3:=C=ZTPRICE(REF(C,1),0.1) OR CTD2 ;
CTD4:=HHV(VOL,10);
CTD5:=BARSLAST(CTD4=VOL);
强势拉升:CROSS(C,REF(C,CTD5)) AND CTD3 AND NOT(DYNAINFO(4)=0);
DRAWICON(CROSS(主力线,强势拉升),强势拉升*1.002,26);
STICKLINE(强势拉升,0,38,2,0),COLORFF00FF;
STICKLINE(强势拉升,0,28,2,1),COLORFF00FF;
STICKLINE(强势拉升,0,16,2,0),COLORFF00FF;
DRAWICON(强势拉升,25.88,9);
DRAWTEXT(强势拉升,25.89,' ★涨★')COLORMAGENTA;