VAR1:=INDEXC;
VAR2:=MA(VAR1,6);
VAR3:=MA(VAR1,24);
VAR4:=MA(VAR1,32);
VAR5:=MA(VAR1,62);
VAR6:=MA(VAR1,105);
VAR7:=VAR5;
VAR1N:=MA(CLOSE,5);
VAR2N:=MA(CLOSE,10);
VAR3N:=(VAR1N-CLOSE)/CLOSE>3/100;
VAR4N:=(VAR2N-VAR1N)/VAR1N>0.05;
VAR5N:=LLV(CLOSE,3)=LLV(CLOSE,8);
VAR8:=VAR4>VAR2*1.07 AND VAR3>VAR2*1.055;
VAR9:=VAR2>VAR1*0.55;
百发百中:VAR7 AND VAR8 AND VAR9 AND CLOSE/COST(8)<=1.1 AND
(CLOSE>OPEN OR CLOSE>REF(OPEN,1) OR C>REF(CLOSE,1)),LINETHICK2;
底部:VAR3N AND VAR4N AND VAR5N,COLORGREEN;
绝对底部2:COUNT(百发百中=1,5)=1 AND 底部,LINETHICK2,COLOR00CCFF;
绝对底部:STICKLINE( FILTER(绝对底部2=1,1),0 ,0.5,2 , 0),COLORRED;
起爆擒庄换手源码如下:
换手:=V*100/CAPITAL;
主力:=MA(换手,4);
大户:=MA(换手,9);
中户:=MA(换手,17);
散户:=MA(换手,34);
均量:=(主力+大户+中户+散户)/4;
主力能量:(主力-均量),NODRAW;
主力能量柱:STICKLINE(主力能量,0,ABS(主力能量),2,0),COLORRED;大户能量:(大户-均量),NODRAW;
大户能量柱:STICKLINE(大户能量,ABS(主力能量),ABS(主力能量)+ABS(大户能量),2,0),COLORYELLOW;{中户持仓量}
中户能量:(中户-均量),NODRAW;
中户能量柱:STICKLINE(中户能量,ABS(主力能量)+ABS(大户能量),ABS(主力能量)+ABS(大户能量)+ABS(中户能量),2,0),COLORMAGENTA;{散户持仓量}
散户能量:(散户-均量),NODRAW;
散户能量柱:STICKLINE(散户能量,ABS(主力能量)+ABS(大户能量)+ABS(中户能量),ABS(主力能量)+ABS(大户能量)+ABS(中户能量)+ABS(散户能量),2,0),COLORGREEN;{主导力量}
A:=MAX(主力能量,大户能量);
B:=MAX(中户能量,散户能量);
主导力量:MAX(A,B);
DRAWTEXT(ISLASTBAR=1 AND 主力能量>=0,主力能量/2,'[主力增仓]'),COLORRED;
DRAWTEXT(ISLASTBAR=1 AND 主力能量<0,ABS(主力能量)/2,'[主力减仓]'),COLOR00FF00;
DRAWTEXT(ISLASTBAR=1 AND 大户能量>=0,ABS(主力能量)/2+0.8,'[大户增仓]'),COLORFF00FF
DRAWTEXT(ISLASTBAR=1 AND 大户能量<0,ABS(主力能量)/2+0.8,'[大户减仓]'),COLOR38FF38;
DRAWTEXT(ISLASTBAR=1 AND 中户能量>=0,ABS(主力能量)/2+1.6,'[中户增仓]'),COLORFF60FF;
DRAWTEXT(ISLASTBAR=1 AND 中户能量<0,ABS(主力能量)/2+1.6,'[中户减仓]'),COLOR66FF66;
DRAWTEXT(ISLASTBAR=1 AND 散户能量>=0,ABS(主力能量)/2+2.3,'[散户增仓]'),COLORFF88FF;
DRAWTEXT(ISLASTBAR=1 AND 散户能量<0,ABS(主力能量)/2+2.3,'[散户减仓]'),COLOR88FF88;
起爆突破筹码源码如下:
V1:=IF(C/REF(C,1)>=1.098 AND C=O,EMA(EMA(EMA(HHV(V,10),3),13),360),EMA(EMA(EMA(V,3),13),360));
V2:=IF(C/REF(C,1)>=1.098 AND C=O,HHV(V,10),HHV(V,3));
紫:EMA(((CLOSE*V2-REF(COST(90),1)*V1)/20+250)*1.2/5,3),COLORMAGENTA,LINETHICK2;
趋势1:=EMA(紫,13),COLORMAGENTA,DOTLINE;
兰:EMA(((REF(COST(90),1)*V1-CLOSE*V2)/20+250)*1.2/5,3),COLORCYAN,LINETHICK2;
趋势2:=EMA(兰,13),COLORCYAN,DOTLINE;
红:EMA(((CLOSE*V2-REF(COST(10),1)*V1)/20+250)*1.2/5,3),COLORRED,LINETHICK2;
趋势3:=EMA(红,13),COLORRED,DOTLINE;
蓝:EMA(((REF(COST(10),1)*V1-CLOSE*V2)/20+250)*1.2/5,3),COLORBLUE,LINETHICK2;
趋势4:=EMA(蓝,13),COLORBLUE,DOTLINE;
DRAWTEXT(COUNT(红=HHV(红,60),10)=1 AND 红=HHV(红,60),红,'★突破'),COLORRED;
{X_1:=30;
X_2:=10;
X_3:=VOL/10000*CLOSE/100;
X_4:=REF(CLOSE,1);
X_5:=SUM(VOL,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);
X_6:=(CLOSE-X_4)*X_5;
X_7:=SUM(X_6,0);
X_8:=X_7;
JZOBV:=X_8;
紫2:EMA(((CLOSE*JZOBV-REF(COST(90),1)*JZOBV)/20+250)*1.2/5,3),COLORMAGENTA,DOTLINE;
兰3:EMA(((REF(COST(90),1)*JZOBV-CLOSE*JZOBV)/20+250)*1.2/5,3),COLORCYAN,DOTLINE;
红4:EMA(((CLOSE*JZOBV-REF(COST(10),1)*JZOBV)/20+250)*1.2/5,3),COLORRED,DOTLINE;
蓝5:EMA(((REF(COST(10),1)*JZOBV-CLOSE*JZOBV)/20+250)*1.2/5,3),COLORBLUE,DOTLINE;};
起爆主升浪源码如下:
大单动向:(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7)*10,NODRAW;
NOTEXT1:MA(大单动向,10)*3,NODRAW;
STICKLINE(大单动向>0,0,大单动向,2,0),COLORRED;
STICKLINE(大单动向<0,0,大单动向,2,0),COLORCYAN;
冠:HORCALC(HYBLOCK,105,1,DRAWNULL)=1,NODRAW,COLORRED;
亚:HORCALC(HYBLOCK,105,1,DRAWNULL)=2,NODRAW,COLORYELLOW;
季:HORCALC(HYBLOCK,105,1,DRAWNULL)=3,NODRAW,COLORWHITE;
XA_188:=EMA(CLOSE,9);
主升浪1:=EMA(XA_188*1.14,5),COLORGREEN;
主升浪4:=EMA(CLOSE,2),COLORRED;
STICKLINE(主升浪4>=主升浪1,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),1,0),COLOR545454 ;
VAR12:(CLOSE-LLV(LOW,40))/LLV(LOW,40)*100,COLORYELLOW;
趋势线: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,NODRAW;
主力线: (CLOSE-MA(LLV(LOW,40),40))/MA(LLV(LOW,40),40)*100,COLORMAGENTA;
攻击线:28,COLORLIBLUE,DOTLINE;
DRAWICON(CROSS(VAR12,攻击线),VAR12,9);
MA5:=MA(C,5);
持股线:IF((HHV(MA5,100)=MA5),主力线,DRAWNULL),COLORMAGENTA,LINETHICK5;
AA:=((CLOSE*V-REF(COST(90),1)*V)/20+250)*1.2/5,COLORMAGENTA;
BB:=((REF(COST(90),1)*V-CLOSE*V)/20+250)*1.2/5,COLORCYAN;
CC:=((CLOSE*V-REF(COST(10),1)*V)/20+250)*1.2/5,COLORRED;
DD:=((REF(COST(10),1)*V-CLOSE*V)/20+250)*1.2/5,COLORBLUE;
主升浪A:=(CC>0 AND CROSS(AA,BB) OR CROSS(AA,0)) ;
主升浪B:=CC>0 AND AA>0 AND BB<0 AND DD<0;
XGG:=(主升浪A AND COUNT(主升浪A,10)=1) OR (主升浪B AND COUNT(主升浪B,60)=1);
DRAWTEXT(XGG AND COUNT(XGG,20)=1,VAR12*1.16,'★主升浪'),COLORYELLOW;
DRAWICON(XGG AND COUNT(XGG,20)=1,VAR12*1.09,11);
DRAWTEXT(CC>=HHV(CC,60) AND COUNT(CC>=HHV(CC,20),20)=1 AND CC>BB,VAR12*1.16,'★看戏'),COLORGREEN;
DRAWICON(CC>=HHV(CC,60) AND COUNT(CC>=HHV(CC,20),20)=1 AND CC>BB,VAR12*1.19,12);
起爆擒庄模型源码如下:
X_1:=CLOSE*VOL;
X_2:=EMA((EMA(X_1,3)/EMA(VOL,3)+EMA(X_1,6)/EMA(VOL,6)+EMA(X_1,12)/EMA(VOL,12)+EMA(X_1,9)/EMA(VOL,9))/4,8);
X_3:=1.06*X_2;
A4:EMA(X_3-(EMA(CLOSE,3)-X_3),5),COLORYELLOW;
X_4:=IF(A4<=X_3,A4,X_3);
A5:2*X_3-X_4,COLORMAGENTA;
DRAWICON(CROSS(CLOSE,A4),0.98*LOW,7);
DRAWICON(CROSS(A5,A4),LOW,23);