筹码分析(上轨道、下轨道)介绍
筹码分析(上轨道、下轨道)
【大智慧】筹码分析(上轨道、下轨道)-指标公式源码
{ N(1,100,12)N2(-30,0,-25)N3(1,10,6)N4(1,100,95)M(34,10,55)}
input:N(12,1,100),N2(-25,-30,0),N3(6,1,10),N4(95,1,100),M(34,10,55);
Var3:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
筹码: MA((CLOSE-REF(OPEN,M))/REF(OPEN,M),1)*100,pointdot,colorblue;
筹码差: MA(筹码,10),pointdot;
Var5:=VOL/CAPITAL*100;
上轨道: SUM(Var5,30);
下轨道: REVERSE(SUM(Var5,30));
跌筹比: 筹码/下轨道, COLORSTICK;
STICKLINE(筹码>0,筹码*1.9,0,3,0),colorblue;
STICKLINE(筹码<0,筹码*1.9,0,3,0),colorblue;
STICKLINE(筹码>筹码差,筹码*1.9,筹码差*1.9,3,1),colorred;
STICKLINE(筹码<筹码差,筹码*1.9,筹码差*1.9,3,1),colorgreen;
提示: STICKLINE(跌筹比>1 AND 筹码<N2,跌筹比*20,0,1,1),colorcyan;
VarE:=IF(跌筹比>1,10,0);
VarF:=CLOSE<0.98*REF(CLOSE,1);
买入:=if(跌筹比>N4/100 AND 筹码<N2 AND Var3>5.5 OR COUNT(跌筹比>N4/100 AND 筹码<N2 AND Var3>5.5 ,N) AND VarF,1,0);
STICKLINE(买入,45,0,6,0);
DRAWTEXT(跌筹比>N4/100 AND 筹码<N2 AND Var3>6 ,40,'买'),colorff00ff;
DRAWTEXT(COUNT(跌筹比>N4/100 AND 筹码<N2 AND Var3>5.5 ,N) AND CLOSE<0.95*REF(CLOSE,1),30,'震'),colorred;
DRAWTEXT(COUNT(跌筹比>N4/100 AND 筹码<N2 AND Var3>5.5 ,N) AND CLOSE<0.98*REF(CLOSE,1) AND CLOSE>0.96*REF(CLOSE,1),40,'打'),colorgreen;
DRAWTEXT(COUNT(跌筹比>N4/100 AND 筹码<N2 AND Var3>5.5 ,N) AND CLOSE<0.96*REF(CLOSE,1) AND CLOSE>0.94*REF(CLOSE,1),40,'压'),colorgreen;
gd13983