咨詢內容:
老師好!
我想在選股中剔除數日連續漲停的股票,但現在滬深創科ST等漲幅限制不一,整了半天也不得要領,還請老師幫助,多謝!
?
?來源: www.tumamayizhan.com
金字塔資深技術:
code:=STRLEFT(stklabel , 3);
name:=STRLEFT(STKNAME , 1);
zf:=0.1;
if STRCMP(code,'300' ) and MARKETLABEL='SZ' then zf:=0.2;
if STRCMP(code,'688' ) and MARKETLABEL='SH' then zf:=0.2;
if STRICMP(name ,'*' ) or STRICMP(name ,'S' ) then zf:=0.3;
a:zf
定義好深圳創業、科創、st的不同漲幅
技術交流:資深技術02 發表于 2022-2-28 09:16
code:=STRLEFT(stklabel , 3);
name:=STRLEFT(STKNAME , 1);
zf:=0.1;
多謝!我試試
?
技術交流:103820 發表于 2022-2-28 09:30
多謝!我試試
code:=STRLEFT(stklabel , 3);
name:=STRLEFT(STKNAME , 1);
zf:=1.1;
if STRCMP(code,'300' ) and MARKETLABEL='SZ' then zf:=1.2;
if STRCMP(code,'688' ) and MARKETLABEL='SH' then zf:=1.2;
if STRICMP(name ,'*' ) or STRICMP(name ,'S' ) then zf:=1.05;
c=rounds(ref(c,1)*zf,2);
老師,這樣只能選出ST類的票,是寫的不對嗎?