落差选股(通达信 主图 选股)
主图指标
HH:IF(CURRBARSCOUNT<=TS,CONST(HHV(H,TS)),DRAWNULL),COLORGREEN;
LL:IF(CURRBARSCOUNT<=TS,CONST(LLV(L,TS)),DRAWNULL),COLORLIRED;
ZZ:IF(CURRBARSCOUNT<=TS,(HH+LL)/2,DRAWNULL),COLORLICYAN,DOTLINE;
现价:IF(FROMOPEN>0,DYNAINFO(7),DRAWNULL),COLORGRAY,DOTLINE;
落差:=(HH/LL-1)*100,NODRAW;
位置:=(C-LL)/(HH-LL)*100,NODRAW;
DRAWTEXT_FIX(1,0.0,0.1,0,STRCAT('落差: ',CON2STR(落差,2))),COLORYELLOW;
DRAWTEXT_FIX(1,0.0,0.2,0,STRCAT('位置: ',CON2STR(位置,2))),COLORYELLOW;
选股指标
HH:=IF(CURRBARSCOUNT<=TS,CONST(HHV(H,TS)),DRAWNULL);
LL:=IF(CURRBARSCOUNT<=TS,CONST(LLV(L,TS)),DRAWNULL);
ZZ:=IF(CURRBARSCOUNT<=TS,(HH+LL)/2,DRAWNULL);
落差:=(HH/LL-1)*100;
位置:=(C-LL)/(HH-LL)*100;
XG:落差>LC AND 位置<WZ;
赞 (0)