以下是翔博精选指标多空动向,公式源码和截图
翔博精选指标多空动向,筹码公式源码:
五十集中:=(COST(75)-COST(25))/(COST(75)+COST(25))*100;
成本价1:=COST(五十成本集中),COLORGREEN;
五十成本集中1:=100-五十成本集中;
成本价2:=COST(五十成本集中1),COLORBLUE;
单峰密集价:成本价2/成本价1-1,STICK;
红:=REF(单峰密集价,1) 单峰密集价AND成本价2 REF(成本价2,1);
绿:=REF(单峰密集价,1) 单峰密集价;
筹码:=单峰密集价 =0.25;
底部:=(COST(95)-COST(5))/(COST(95)+COST(5))*100;
底部成本价:=COST(底部),COLORYELLOW;
顶部:=100-底部;
顶部成本价:=COST(顶部),COLORGREEN;
均值:=(底部+顶部)/2;
均值成本:=COST(均值),COLORLICYAN,DOTLINE;
STICKLINE(红,单峰密集价,0,2.8,0),COLOR000055;
STICKLINE(红,单峰密集价,0,2,0),COLOR000088;
STICKLINE(红,单峰密集价,0,1.5,0),COLOR0000AA;
STICKLINE(红,单峰密集价,0,1,0),COLOR0000CC;
STICKLINE(红,单峰密集价,0,0.5,0),COLOR0000EE;
STICKLINE(红,单峰密集价,0,0,0),COLORFFFFFF;
底:=REF(单峰密集价,2) REF(单峰密集价,1)AND单峰密集价 REF(单峰密集价,1)AND均值成本 REF(均值成本,1);
STICKLINE(底,单峰密集价,0,0,0),COLORGREEN;
STICKLINE(底,单峰密集价,0,2.8,0),COLOR009900;
STICKLINE(底,单峰密集价,0,2,0),COLOR00BB00;
STICKLINE(底,单峰密集价,0,1.5,0),COLOR00DD00;
STICKLINE(底,单峰密集价,0,0.5,0),COLOR00FF00;
顶:=REF(单峰密集价,2) REF(单峰密集价,1)AND单峰密集价 REF(单峰密集价,1)AND均值成本 REF(均值成本,1);
STICKLINE(顶,单峰密集价,0,2,0),COLORYELLOW;
N:=30;
N1:=20;
V1:=REF(((HHV(H,N)-LLV(L,N))/LLV(L,N)),1) =(N1/100)ANDC =REF(HHV(H,N),1)ANDBARSCOUNT(C)
一线天:IF(V1,1,0);
A30:=EMA(C,34) REF(EMA(C,34),1);
A50:=COST(50),COLORRED,LINETHICK2;
A70:=WINNER(C)*100
A90:=CROSS(C,A50);
密集:A30ANDA50ANDA70ANDA90;
DRAWICON(突破密集,1,1);
AJB:=IF(CAPITAL 20000000,CAPITAL*33/100,IF(CAPITAL 12000000,CAPITAL*27/100,CAPITAL*22/100));
AJ1:=(COST(85)+COST(15))/2;AJ2:=(COST(75)+COST(25))/2;AJ3:=(COST(65)+COST(35))/2;AJ4:=(COST(55)+COST(45))/2;AJ5:=(COST(95)+COST(5))/2;
AJ:=(AJ1+AJ2+AJ3+AJ4+AJ5)/5;
BJ1:=(COST(90)+COST(10))/2;BJ2:=(COST(80)+COST(20))/2;BJ3:=(COST(70)+COST(30))/2;BJ4:=(COST(60)+COST(40))/2;BJ5:=(COST(50));
BJ:=(BJ1+BJ2+BJ3+BJ4+BJ5)/5;
筹码峰值:MA((AJ+BJ)/2,3),NODRAW;
筹码中枢:(COST(65)-COST(15))/(COST(25))*100,NODRAW;
日集中度:(AMOUNT/筹码峰值)/(CAPITAL-AJB)*2,NODRAW;
五日集中度:SUM(AMOUNT/筹码峰值,5)/(CAPITAL-AJB)/100*100,NODRAW;
{集中:日集中度
DRAWICON(集中,1.3,2);}
五日集中:五日集中度 30,COLORCYAN;
DRAWTEXT_FIX(1,0.0,0.02,0,'1.低位绿K底高位黄色K线小心顶红K拉升'),COLORYELLOW;
差价:=((C-REF(C,1))*0.382+(C-O)*0.618)*0.382;
均价:=(C+(H+L)/2*0.382+(C+O)/2*0.618)/2;
多空线:Ema(EMA(EMA(HHV((H+均价)/2,1)-EMA(差价,246)/35,3),8),24),COLORGRAY,LINETHICK5;
反多空线:=EMA(多空线-(EMA(均价,2)-多空线),2);
IF(反多空线 多空线,反多空线,DRAWNULL),COLORGREEN,LINETHICK5;
IF(反多空线 =多空线,反多空线,DRAWNULL),COLORBLUE,LINETHICK5;
操盘线:EMA(EMA(均价,4)-EMA(差价,246)/4,2),COLORMAGENTA,LINETHICK2;
反操盘线:=EMA(操盘线-(EMA(均价,2)-操盘线),2),COLORGRAY,LINETHICK2;
IF(反操盘线 操盘线,反操盘线,DRAWNULL),COLORWHITE,LINETHICK3;
IF(反操盘线 =操盘线,反操盘线,DRAWNULL),COLORRED,LINETHICK3;
stICKLINE(OPEN =CLOSE,HIGH,LOW,0.1,0),COLORFFCC00;
STICKLINE(OPEN =CLOSE,CLOSE,OPEN,3.5,0),COLORFF9F68;
STICKLINE(OPEN =CLOSE,CLOSE,OPEN,3,0),COLORFF9900;
STICKLINE(OPEN =CLOSE,CLOSE,OPEN,2.8,0),COLORFFAA11;
STICKLINE(OPEN =CLOSE,CLOSE,OPEN,2.2,0),COLORFFBB11;
STICKLINE(OPEN =CLOSE,CLOSE,OPEN,1.8,0),COLORFFCC22;
STICKLINE(OPEN =CLOSE,CLOSE,OPEN,1.4,0),COLORFFDD22;
STICKLINE(OPEN =CLOSE,CLOSE,OPEN,1,0),COLORFFEE33;
STICKLINE(OPEN =CLOSE,CLOSE,OPEN,0.5,0),COLORFFFF33;
STICKLINE(CLOSE OPEN,HIGH,LOW,0.1,0),COLOR0000FF;
STICKLINE(CLOSE OPEN,CLOSE,OPEN,3.5,0),COLOR0000CC;
STICKLINE(CLOSE OPEN,CLOSE,OPEN,3,0),COLOR3300CC;
STICKLINE(CLOSE OPEN,CLOSE,OPEN,2.8,0),COLOR0033CC;
STICKLINE(CLOSE OPEN,CLOSE,OPEN,2.2,0),COLOR6633CC;
STICKLINE(CLOSE OPEN,CLOSE,OPEN,1.8,0),COLOR3333FF;
STICKLINE(CLOSE OPEN,CLOSE,OPEN,1.4,0),COLOR6633FF;
STICKLINE(CLOSE OPEN,CLOSE,OPEN,1,0),COLOR3366FF;
STICKLINE(CLOSE OPEN,CLOSE,OPEN,0.5,0),COLOR6666FF;
翔博精选指标多空动向,筹码公式截图