总手=vol;
draw(总手,color="white");
zz=ifelse(refBefore(close,1) > refBefore(open,1) && open > refBefore(close,1) * 1.014 && close < open * 1.02,1,3);
v5=ma(vol,5);
v12=ma(vol,12);
v34=ma(vol,34);
c6=ma(close,6);
drawStickBetweenIf(close,0,vol,color="#gray",fill=true,linewidth=2);
drawStickBetweenIf(isCrossUp(close,c6) && vol > v5 * 1.2 && vol > v12 * 1.2 && zz > 2 && close > high * 0.975,0,vol,color="red",fill=true,linewidth=2);
drawStickBetweenIf(isCrossUp(c6,close) && vol > v5 * 1.2 && vol > v12 * 1.2,0,vol,color="green",fill=true,linewidth=2);
drawStickBetweenIf(vol > ma(vol,5) * 2 && vol > v34 * 3 && close < refBefore(close,1) * 1.05,0,vol,color="yellow",fill=true,linewidth=2);
drawStickBetweenIf(vol < ma(vol,5) / 2 && vol < v12 / 2,0,vol,color="blue",fill=true,linewidth=2);
drawStickBetweenIf(vol > ma(vol,5) * 2 && vol > v34 * 3 && close < refBefore(close,1) * 1.05 && isCrossUp(close,c6) && vol > v5 * 1.2 && vol > v12 * 1.2 && zz > 2 && close > high * 0.975,vol * 0.5,0,color="red",fill=true,linewidth=2);
drawStickBetweenIf(vol > ma(vol,5) * 2 && vol > v34 * 3 && close < refBefore(close,1) * 1.05 && isCrossUp(c6,close) && vol > v5 * 1.2 && vol > v12 * 1.2,vol * 0.5,0,color="white",fill=true,linewidth=2);
drawText(vol > ma(vol,5) * 2 && vol > v34 * 3 && close < refBefore(close,1) * 1.05,vol,"天",color="yellow");
drawText(vol < ma(vol,5) / 2 && vol < v12 / 2,(v5 + vol) / 2,"地",color="lightskyblue");
drawText(isCrossUp(close,c6) && vol > v5 * 1.2 && vol > v12 * 1.2 && zz > 2 && close > high * 0.975,vol,"吸",color="red");