上穿选股公式
2020/7/13 18:23:12
公式编写说明:
A:=CURRBARSCOUNT;A1:=DAY!=REF(DAY,2);A2:=BARSLAST(A1)+3;A3:=MA(C,A2);A4:=SUM(AMO,A2)/SUM(VOL,A2)/100;A5:=IF(CAPITAL>0,A4,A3);现价:IF(A<=CONST(A2),CLOSE,DRAWNULL)COLOR0098FF,LINETHICK1;均价:IF(A<=CONST(A2),A5,DRAWNULL),COLORFF9800,LINETHICK1;前收盘:IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL),COLORRED,LINETHICK3;DRAWTEXT(CROSS(现价,REF(均价,1)),均价,'MAI'),COLOR00FFFF;DRAWTEXT(CROSS(现价,前收盘),前收盘,'前收盘'),COLOR00FFFF;请老师作一个 上穿红线选股
公式源码回答:
A:=CURRBARSCOUNT;
A1:=DAY!=REF(DAY,2);
A2:=BARSLAST(A1)+3;
前收盘:=IF(A<=CONST(A2),DYNAINFO(3),DRAWNULL);
REF(C>前收盘,1)=0 AND C>前收盘=1;
投股票 网 w ww.tou18.cn
股市公式下载推荐