筹码分级【副图指标】
{筹码分级【副图指标】}
背景色:DRAWGBK(C>0, RGB(50,50,50),RGB(0,0,0),50,0,0);{浅色背景};
获利比例:(WINNER(C)*100),COLORGREEN,NODRAW;
平均成本:COST(50),NODRAW;
持仓:6.42,NODRAW;
持仓获利比例:(WINNER(持仓)*100),COLORRED,NODRAW;
获利盘走势:=WINNER(C)*100,COLORFFFFFF,LINETHICK2;
白色:STICKLINE(获利比例<10,0,获利比例,2.8,0),COLORBLUE; {COLORFFEFDB}
黄色:STICKLINE(获利比例>=10 AND 获利比例<45,0,获利比例,2.8,0),COLOR0099FF;
红色:STICKLINE(获利比例>=45 AND 获利比例<=85,0,获利比例,2.8,0),COLORRED;
紫色:STICKLINE(获利比例>=85 AND 获利比例<=100,0,获利比例,2.8,0),COLORMAGENTA;
获利盘走势01:EXPMEMA(获利盘走势,5),COLORBLACK,LINETHICK3;
获利盘走势02:EXPMEMA(获利盘走势,10),COLORBLACK,LINETHICK3;
深坑3:DRAWBAND(获利盘走势01,RGB(205,51,51),获利盘走势02,RGB(84,139,84));
获利盘走势1:EXPMEMA(获利盘走势,3),COLORWHITE,LINETHICK2;
获利盘走势2:EXPMEMA(获利盘走势,5),COLORCYAN,LINETHICK1;
获利盘走势3:EXPMEMA(获利盘走势,5),COLORRED,LINETHICK1;
获利盘走势4:EXPMEMA(获利盘走势,10),COLORGREEN,LINETHICK1;
标识:=DRAWICON(获利比例<1,8,1),COLORGREEN,LINETHICK3;
向上突破:=DRAWICON(FILTERX(CROSS(获利盘走势,获利盘走势2),10),获利盘走势*1.1,1);
向下突破:=DRAWICON(FILTERX(CROSS(获利盘走势2,获利盘走势),10),获利盘走势2*1.03,2);
主力持仓:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORLICYAN,LINETHICK2;
中线:50,COLOR555555,DOTLINE;
文字1:DRAWTEXT_FIX(C!=0,0.01,0.06,0,'★★★ 想赚钱,只能在红色彩带上升段做多头交易。'),COLORRED,LINETHICK2;
文字2:DRAWTEXT_FIX(C!=0,0.01,0.12,0,'★★★ 最好是,只做 50 以上的、红色彩带上升段。'),COLORYELLOW;
文字3:DRAWTEXT_FIX(C!=0,0.01,0.18,0,'★★★ 50以下上升段可视为反弹走势,不宜做票,要做,也只宜轻仓。'),COLORLIBLUE;
文字4:DRAWTEXT_FIX(C!=0,0.01,0.24,0,'★★★ 不怕赔,你就在绿色彩带空头段做票试试看。但,得认赌服输。'),COLORGREEN;
-6,COLORBLACK;
单线多头加仓:=LLV(MA(HIGH,(5)),1),LINETHICK1,COLORGREEN;
双线空头减仓:=HHV(MA(HIGH,(5)),2),LINETHICK1,COLORRED;
选股:=REF(双线空头减仓,1)>REF(单线多头加仓,1) AND REF(双线空头减仓,0)=REF(单线多头加仓,0);
单线伊始:DRAWICON(选股,-0.1,34);
{庄家在行动}
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
庄家在行动:IF(V4>=0,V4,0),COLORCYAN,LINETHICK2;
A1:=(6);
A2:=IF(LOW>A1,0,IF(HIGH<A1,1,(A1-LOW+0.01)/(HIGH-LOW+0.01)));
A3:=VOL/(LOW);
A4:=REF(HHV(CLOSE,120),1);
A5:=REF(LLV(CLOSE,120),1);
A6:=100*(CLOSE-A5)/(A4-A5);
A7:=A2>0 OR A2=1;
A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80;
A9:=REF(A8,1) OR REF(A8,2) OR REF(A8,3) OR REF(A8,4);
A10:=A8 AND A9;
A11:=IF(FILTER(A8,3),5,0);
A12:=IF(FILTER(A10,3),10,0);
筹码进场日:IF(A11,8,0),COLORLICYAN,LINETHICK1;