大智慧箱之王副图指标
源码
{xzw箱之王}{副图}
cc:=(2*c+h+l)/4;
箱顶:HHV(MA((cc),5),30);
箱底:LLV(MA((cc),5),120);
箱中:(箱顶+箱底)/2,colorwhite;
JJ:=(cc+HHV(MA((cc),5),2)+LLV(MA((cc),5),2))/3;
AA:=EMA(JJ,3);
BB:=REF(AA,1);
STICKLINE(AA>BB,AA,BB,8,0),coloryellow,linethick3;
STICKLINE(AA
V1:=LLV(cc,10);
V2:=HHV(cc,25);
价位线:=EMA((cc-V1)/(V2-V1)*4,4);
DRAWTEXT(CROSS(价位线,0.3),cc,'买'),colorred;