大智慧精品壓力支撐買賣籌碼分析波段操盤指標公式
- 指標類別: 大智慧指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 主圖
- 日期:2019-06-24 來源:互聯網
大智慧精品壓力支撐買賣籌碼分析波段操盤指標公式:含有未來函數
input:n(5,1,100,1);
DRAWGBKLAST(v>1,STRIP(RGB(0,100,0),RGB(0,0,0),0));
MA5:MA(CLOSE,5),PRECIS2,COLORred,linethick2;
MA10:MA(CLOSE,10),PRECIS2,color009900,linethick2;
MA20:MA(CLOSE,20),linethick0;
MA30:MA(CLOSE,30),PRECIS2,colorffffFF,linethick0;
MA120:=MA(CLOSE,120);
MA250:=MA(CLOSE,250);
{底:llv(l,N),color009900,PRECIS2,CROSSDOT;}
DTPL:=MA10>MA30 AND MA20>MA30 AND MA30>REF(MA30,1);
破線:MIN(MA20*1.05,MA30*1.1),COLORff89b2,DOTLINE,LINETHICK1,PRECIS2;
差幅:=C/MIN(MA20*1.05,MA30*1.1)-1;
均線流:=(DTPL AND MA5>MA30 AND MA5<MA10)*-0.1;
偏離率:=(C<MIN(MA20*1.05,MA30*1.1) AND C>MA30)*0.1;
BDGD:=C=HHV(C,20);
GDSJ:=BARSLAST(BDGD);
REF(C,GDSJ),COLORff9933,POINTDOT,LINETHICK3,PRECIS2;
{C/REF(C,GDSJ)-1,COLOR00FF00,POINTDOT;}
目標:=IF(均線流=-0.1 AND 偏離率=0.1 AND GDSJ>=N,0.8,0);
MBSJ:=BARSLAST(目標=0.8);
TP1:=CROSS(C,MIN(MA20*1.05,MA30*1.1)) AND REF(GDSJ,1)>=N;
TP2:=偏離率=0 AND REF(COUNT(偏離率=0.1,N)=N,1) AND C>REF(C,1);
突破:=(TP1 OR TP2)*1;
QSXS1:=MA5>REF(MA5,1);
LYHT:=DTPL AND MA5>MA10 AND NOT(QSXS1) AND REF(QSXS1,1);
MAV5:=EMA(V,5);
MAV10:=EMA(V,10);
LNMACD:=((V-MAV5)/MAV5*2+(V-MAV10)/MAV10)*10;
量坑:=LNMACD<=-10;
優選:=目標 AND COUNT(量坑,3)>=1;
{以下設置主圖顯示方式}
DRAWTEXT(目標=0.8,L*1.009,'='),colorFFFFFF,LINETHICK3,ALIGN1;
DRAWTEXT(突破,L,'★'),coloryellow;
DRAWTEXT(LYHT,(MA10+MA20)/2, '¤'),COLORFF00FF;
DRAWICON(優選,L*0.98,1),ALIGN1;
GX:=MAX(MA5,MAX(MA10,MA20));
DX:=MIN(MA5,MIN(MA10,MA20));
QSXS:=DX>MA30 AND MA30>REF(MA30,1);
均線粘合:=IF(ABS(GX/DX-1)*100<=3,1,0);
FL:=V>REF(V,1) OR V>MA(V,5);
SZ:=(CROSS(C,MA(C,3)) OR CROSS(C,MA(C,5))) AND C>=O;
放量上漲:=IF(FL AND SZ,1,0);
果斷出擊:=FILTER(COUNT(均線粘合,2) AND COUNT(放量上漲,2) AND C>O AND QSXS,2)*100;
{以下設置果斷出擊后的漲幅跟蹤,不需要的可以刪除}
MRSJ:=BARSLAST(果斷出擊);
漲:=(C/REF(C,MRSJ)-1)*100*(MRSJ<=20);
ZZ:=MRSJ<20 AND CROSS(H,REF(C,MRSJ)*1.09999);
知足:=ZZ AND COUNT(ZZ,MRSJ)=1;
DB:=MRSJ<20 AND CROSS(H,REF(C,MRSJ)*1.05);
達標:=DB AND COUNT(DB,MRSJ)=1;
DRAWTEXT(知足,H*1.03,'+10%'),COLORFFFFFF;
DRAWTEXT(果斷出擊,L,'♂'),COLORFFFF33,ALIGN1,LINETHICK3;
DRAWTEXT(達標,H*1.01,'+5%'),COLORYELLOW,ALIGN1;
WR5:=100*(HHV(H,5)-C)/(HHV(H,5)-LLV(L,5));
WR6:=100*(HHV(H,6)-C)/(HHV(H,6)-LLV(L,6));
WR:=80-(WR5*3+WR6*2)/5;
DRAWTEXT(WR<-10,L*0.99, '#'),COLOR00ff00;
MTM:=C-REF(C,1);
DX1:=100*EMA(EMA(MTM,N),N)/EMA(EMA(ABS(MTM),N),N);
買1:=IF(LLV(DX1,2)=LLV(DX1,7) AND COUNT(DX1<0,2) AND CROSS(DX1,MA(DX1,2)),1,0);
賣1:=IF(HHV(DX1,2)=HHV(DX1,7) AND COUNT(DX1>50,2) AND CROSS(MA(DX1,2),DX1),1,0);
DRAWTEXT(filter(賣1=1,5),high*1.02,'賣'),color00ff00,ALIGN1;
DRAWTEXT(filter(買1=1,5),low*0.99, '買'),colorRED,ALIGN1;
QSXS3:=MA20>=REF(MA20,1);
DTPL3:=MA5>MA10 AND MA10>MA20 AND MA20>MA30;
ZWP3:=COUNT(C>MA20,5)=5 AND DTPL3;
HCP3A:=CROSS(MA20*1.03,L) AND REF(ZWP3,1);
HCP3B:=CROSS(MA20,C) AND REF(ZWP3,1);
回3:=((HCP3A OR HCP3B) AND QSXS3)*3;
HCSJ3:=BARSLAST(回3);
ZC3:=(CROSS(C,MA20) OR CROSS(C,MA20*1.03)) AND HCSJ3<=5;
支撐:IF(COUNT(ZC3>0,5),REF(L,HCSJ3),REF(L,HCSJ3)),COLORFF00ff,POINTDOT,linethick3,PRECIS2;
KK:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.14159;
準備:=CROSS(KK,0)*80;
ZBSJ:=BARSLAST(準備=80);
IF(NOT(準備=80),REF(L,ZBSJ),REF(L,ZBSJ)),COLOR00FF00,POINTDOT,linethick3,PRECIS2;
主籌估算:=EMA(WINNER(c)*70,3);
散籌估算:=EMA((WINNER((c)*1.1)-WINNER((c)*0.9))*70,3);
籌碼鎖定:=散籌估算-主籌估算 ;
動態底部:=EMA(IF(L<= LLV(l,60),SMA(ABS(L-REF(L,1)),60,1)/SMA(MAX(L-REF(l,1),0),99,1),0)*5,3);
漲:=CROSS(主籌估算,籌碼鎖定);
強:=CROSS(主籌估算,散籌估算);
STICKLINE(漲,O,C,4,0),COLORYELLOW;
STICKLINE(漲,O,H,0,0),COLORYELLOW;
STICKLINE(漲,L,C,0,0),COLORYELLOW;
STICKLINE(強, O,C,4,0),colormagenta;
STICKLINE(強,O,H,0,0),colormagenta;
STICKLINE(強,L,C,0,0),colormagenta;
STICKLINE(籌碼鎖定<-50,O,C,4,0),COLORred;
STICKLINE(籌碼鎖定<-50,O,H,0,0),COLORred;
STICKLINE(籌碼鎖定<-50,L,C,0,0),COLORred;
gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100);
明日阻力:=l+(gj-l)+(c-l);
明日支撐:=l+(c-gj);
今日阻力:=REF(明日阻力 , 1);
今日支撐:=REF(明日支撐 , 1);
STICKLINE(DISPSTATUS=2 and c>=今日阻力,今日阻力,今日阻力,20,0),ColorRED;
STICKLINE(DISPSTATUS=2 and c<今日阻力,今日阻力,今日阻力,20,0),Color00FFFF;
STICKLINE(DISPSTATUS=2 and c>=今日支撐,今日支撐,今日支撐,20,0),ColorFF00FF;
STICKLINE(DISPSTATUS=2 and c<今日支撐,今日支撐,今日支撐,20,0),Color00ADFF;
DRAWTEXTREL(610,40,'今日支撐:'+NUMTOSTRN(今日支撐 ,2 )),Colorred;
DRAWTEXTREL(610,5,'今日阻力:'+NUMTOSTRN(今日阻力 ,2 )),Color00FFFF;
買入:=STRFIND(Extrastring('評級'),'買入',1)>0;
增持:=STRFIND(Extrastring('評級'),'增持',1)>0;
持有:=STRFIND(Extrastring('評級'),'持有',1)>0;
DRAWTEXTREL(5,970,'評級:'+Extrastring('評級')),ColorFFB6C1;
{DRAWTEXTABS(5,360,'板塊:'+BKNAME),ColorRED;}
流通:=FINANCE2(37)/10000;
市盈率:=DYNAINFO(39);
F:=COST(5 );J:=COST(95 );
M:=COST(15 );B:=COST(85 );
F1:=(J-F)/(F+J)*100;M1:=(B-M)/(B+M)*100;
集中度90:=F1;
集中度70:=M1;
獲利盤:=WINNER(CLOSE)*100;
套牢盤:=100*(1-WINNER(C));
最新收益:=FINANCE2(3);
浮籌比:=(winner(c*1.1)-winner(c*0.9))/winner(hhv(h,0))*100; DRAWTEXTABS(5,50,'浮籌比:'+浮籌比+'% '),LINETHICK1,Colora9a9a9;
DRAWTEXTABS(300,5,'流通:'+流通+' '),LINETHICK1,Colora9a9a9;DRAWTEXTABS(5,65,'市盈率:'+市盈率+' '),LINETHICK1,Colora9a9a9;
DRAWTEXTABS(5,5,'集中度90:'+集中度90+' '),LINETHICK1,Color00FF00;
DRAWTEXTABS(100,5,'集中度70:'+集中度70+' '),LINETHICK1,ColorYELLOW;
DRAWTEXTABS(5,20,'獲利盤:'+獲利盤+'% '),LINETHICK1,Colora9a9a9;
DRAWTEXTABS(5,35,'套牢盤:'+套牢盤+'% '),LINETHICK1,Colora9a9a9;
大智慧精品壓力支撐買賣籌碼分析波段操盤指標公式實例圖解:
大智慧精品壓力支撐買賣籌碼分析波段操盤指標公式