每支妖股都有 庄家进场-洗盘-拉升等轨迹,本主图旨在凸出关键节点运行轨迹,希望对大家有所帮助!
说明:主图提示未来函数是划线函数造成,不会对主要信号造成影响!
黄金柱成交量副图源码:
{预估成交量}
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME 0.5,TOTAL,MTIME);
预估成交量:=IF((CURRBARSCOUNT=1 AND DYNAINFO(8) 1),VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
{ STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8) 1),预估成交量,0, 4,-1),COLORFF00FF,LINETHICK2;}
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
{STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;}
VOL2:VOL,VOLSTICK;
AA:= VOL =REF(V,1)*1.91 REF(C,1);
A2:= VOL =REF(V,2)*1.91 REF(C,2);
A3:= AMOUNT = REF(AMOUNT, 2)*1.91 && AMOUNT =REF(AMOUNT,2);
AA1:=VOL REF(LLV(VOL,21),1);
AA2:=VOL REF(LLV(VOL,55),1);
AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1) =0.05;
STICKLINE(AA1,0,V,1,0),COLORGREEN;
STICKLINE(AA2,0,V,1,0),COLORMAGENTA;
STICKLINE(AA3,0,V,1,0),COLORWHITE;
STICKLINE(AA,0,V,1,0),COLORYELLOW;
STICKLINE(A2,0,V,1,0),COLORYELLOW;
STICKLINE(A3,0,V,1,0),COLORYELLOW;
倍缩量1 := VOL/REF(VOL,1) 0.5,COLORBLUE;
倍缩量2 := VOL/REF(VOL,2) 0.5,COLORBLUE;
STICKLINE(倍缩量1, 0, V, 3, 0),COLORBLUE;
STICKLINE(倍缩量2, 0, V, 3, 0),COLORBLUE;
CHAGULA:SMA(MAX(CLOSE-C,0),7,1)/SMA(ABS(CLOSE-C),7,1)*100,NODRAW;
{
个股能量线:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
大盘能量线:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3);
VOL_210 := HHV(VOL, 150);
个股线: 个股能量线 * VOL_210 / 100 /10000,COLORRED,LINETHICK2;
大盘线: 大盘能量线 * VOL_210 / 100 /10000,COLORGREEN,LINETHICK2;
出头鸟:=CROSS(个股线, 大盘线);
DRAWTEXT(出头鸟, 大盘线, '出头鸟'), COLORBLUE;
}{九毛八公式指标网www.9m8.cn}
{MV1:MA(VOL,5);
MV2:MA(VOL,10);
{MV3:MA(VOL,20);};
总股本:=STRCAT(STRCAT('总股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'亿');
{流通盘:=STRCAT(STRCAT(' 流通盘: ',CON2STR(CAPITAL/1000000,2)),'亿');}
全流通:=STRCAT(' 流通比: ',CON2STR((CAPITAL/1000000)/(TOTALCAPITAL/1000000),2));
流通值:=(CAPITAL/1000000)*C;
市值:=STRCAT(STRCAT(' 流通: ',CON2STR(流通值,2)),'亿');
股本市值:=STRCAT('市值: ',STRCAT(STRCAT(STRCAT(总股本,全流通),市值),''));
{DRAWTEXT_FIX(ISLASTBAR,0.005,0.115,0,股本市值),COLORBLUE;}
换手率5 : IF( HHV(DYNAINFO(37), 180) 0.05, 0.05 * CAPITAL, 0), COLOR000080; {DYNAINFO(37) 0.25即25%,市值大于800亿的不显示此线}
换手率10 : IF( HHV(DYNAINFO(37), 180) 0.10, 0.10 * CAPITAL, 0), COLORRED, LINETHICK2{如果180内有换手率大于10%的成交量,就显示此线,否则不显示};
换手率20 : IF( HHV(DYNAINFO(37), 180) 0.20, 0.20 * CAPITAL, 0),COLORFFFF00 ;
{换手率20 : IF(流通值 200, 换手20, 0);};
五日量:MA(V,5), DOTLINE, LINETHICK2, COLORRED;
妖股起爆:MA(CLOSE,25)+MA(CLOSE,25)*20/100*0.35,COLORRED,LINETHICK2;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;
压力线:(MA(MA(H,25),25)-MA(MA(L,25),25))*1+MA(MA(H,25),25),DOTLINE,COLORYELLOW;
趋势:=MA(MA(L,25),25)-(MA(MA(H,25),25)-MA(MA(L,25),25))*1,LINETHICK2,COLORRED;
STICKLINE(趋势 LOW AND 趋势 HIGH,趋势,MIN(MIN(OPEN,CLOSE),趋势),2,0),COLORGREEN;
STICKLINE(趋势 MIN(C,O) AND 趋势 MAX(C,O),趋势,MIN(OPEN,CLOSE),2,0),COLORGREEN;
STICKLINE(趋势 HIGH,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(趋势 HIGH,HIGH,LOW,0,0),COLORGREEN;
VAR23:=100*MA(MA((C-REF(C,1)),6),6)/MA(MA(ABS((C-REF(C,1))),6),6);
回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23 0,2) AND CROSS(VAR23,MA(VAR23,2));
XG:=趋势 HIGH AND 回调买 AND L CHAGULA:SMA(MAX(CLOSE-C,0),7,1)/SMA(ABS(CLOSE-C),7,1)*100,NODRAW;
DRAWLINE(XG,H,REF(XG,1),REF(H,1),1),COLORRED;
DRAWLINE(XG,L,REF(XG,1),REF(L,1),1),COLORGREEN;
STICKLINE(XG,C,O,3,0),COLORLIMAGENTA;
DRAWICON(XG,L,28);{九毛八公式指标网www.9m8.cn}
DRAWTEXT(XG,LOW-0.075*LOW,'发现庄家关注'),COLORYELLOW;
XXBB:=EMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*4,5)*100;
关注1:=REF(XXBB,1) 50 AND XXBB-REF(XXBB,1)
关注2:=REF(关注1,1)=0 AND 关注1;
DRAWTEXT(关注2,LOW-0.075*LOW,'转强进场'),COLORRED;
STICKLINE(关注2,C,O,3,0),COLORYELLOW;
走妖:=REF(C 压力线 OR C 妖股起爆,1) AND C 压力线 AND C 妖股起爆 AND C/REF(C,1) 1.04 AND REF(C,1)/REF(C,2) 1.065;DRAWTEXT_FIX(1,0.980,20,1,'★好福气公式网'),COLORYELLOW;
STICKLINE(走妖,C,O,3,0),COLORRED;
DRAWTEXT(走妖,LOW-0.085*LOW,'走妖起爆或出局'),COLORCYAN;