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(CCBB)=0)=1; 短卖出:=BARSLAST((AA=DD and DD>BB))=1,; 短买入:=COUNT(EE,BARSLAST(AA=DD and DD>BB)) and EE; {-----------------【图解模板】---------------------} FILLRGN(BBDD,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; 老师帮做个红色的虚线出现的时候的选股公式 谢谢
爱约股解答:
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;
短买入:COUNT(EE,BARSLAST(AA=DD and DD>BB)) and EE;