通达信准确率高:高抛低吸副图源码
参数:n=1 100 13
DRAWBAND(-25,RGB(0,50,0),-50,RGB(0,50,0));
DRAWBAND(50,RGB(0,0,200),25,RGB(0,0,200));
HCL:(((3*C+O)/2+H+L)/4-(HHV(H,N)+LLV(L,N))/2)/(HHV(H,N)-LLV(L,N))*100,COLORFF9900;
IF(HCL REF(HCL,1),HCL,DRAWNULL),COLORRED,LINETHICK3;
MHCL:WMA(HCL,5);
IF(MHCL REF(MHCL,1),MHCL,DRAWNULL),COLOR0077FF,LINETHICK3;
-25,COLORFF9900;25,COLOR0077FF;
DRAWTEXT_FIX(100,30,HCL,'卖出区',DRAWNULL),COLORRED;