九毛八公式指标
源码如下: VOL,VOLSTICK; A1:=barslast(dispstatus=1)+1; A2:=hhv(v,a1); A3:=llv(v,a1); A4:=barslast(v=a2)+1; A5:=barslast(v=a3)+1; drawtext(if(v=0,v<(-1),A2=v and (v=hhvall(v))),hhvall(v),' '+'←放量'),coloryellow; drawtext(if(v=0,v<(-1),A3=v and (v=llvall(v))),llvall(v)*3,'地量'),valign1,align1,colorgreen; 自己改写如下:(测试不对) A1:=barslast(dispstatus=1)+1; A2:=hhv(v,a1); A3:=llv(v,a1); xg:if(v=0,v<(-1),A3=v and (v=llvall(v)));
公式模块:
A1:=barslast(dispstatus=1)+1;
A3:=llv(v,a1); xg:A3=v and (v=llvall(v));