AMV0:=vol*(O+C+H+L)/4;
势:EMA(AMV0,21)/EMA(VOL,21);
压:6*HHV(势,2)-5*势;
托:2*势-压;
STICKLINE(CLOSE>势,OPEN,CLOSE,6,1), COLORRED;
STICKLINE(CLOSE=势,OPEN,CLOSE,6,1), COLORRED;
STICKLINE(CLOSE>势,LOW,OPEN,0.8,1), COLORRED;
STICKLINE(CLOSE=势,LOW,OPEN,0.8,1), COLORRED;
STICKLINE(CLOSE>势,CLOSE,HIGH,0.8,1),COLORRED;
STICKLINE(CLOSE=势,CLOSE,HIGH,0.8,1),COLORRED;
{ -通达信公式}
{价画直线指标 };
STICKLINE(ISLASTBAR,C,C,3333,-1),COLORWHITE;
{涨停跌停1}
STICKLINE(C>1.0999*REF(C,1),O,C,4,0),COLORRED;
STICKLINE(1.0999*C<REF(C,1),O,C,4,0),COLORGREEN;