DRAWGBK((DATE 0),COLORRGB(0,0,33),COLORRGB(0,0,33),1);
{-----------------------☆功能开关------------------------}
AA:100*(C-REF(C,8))/REF(C,8),LINETHICK,COLORGREEN;
BB:MA(AA,5),LINETHICK,COLORYELLOW;
CC:=REVERSE(AA);
DD:IF(CC AA,AA,CC),LINETHICK,COLORWHITE;
EE:=BARSLAST((AA=DD and DD BB)=0)=1;
短卖出:=BARSLAST((AA=DD and DD BB))=1,;
{www.9m8.cn 九毛八公式指标网 股票软件下载网_最新股票指标公式}
短买入:=COUNT(EE,BARSLAST(AA=DD and DD BB)) and EE;
{-----------------【图解模板】---------------------}
FILLRGN(BB DD,BB,DD),COLORBROWN;
FILLRGN(C,AA,DD),Color006A00;
FILLRGN(BB DD,BB,DD),Color006A00;
PARTLINE(C,AA),COLORGREEN;
PARTLINE(DD BB,DD),COLORGREEN,COLORWHITE;
PARTLINE(AA=DD and DD BB,DD),COLORRED;
PARTLINE(C,BB),COLORYELLOW;
VERTLINE(短买入),LINEDOT,COLORRED;
VERTLINE(短卖出),LINEDOT,ColorFFB900;
PARTLINE(C,0),LINEDOT,COLORGRAY;