請問我用此選股結果在 2019/11/01 日 5203訊連 指標有出現,選股卻選不出來,請小幫手幫忙看看哪裏有問題 謝謝
value1=average(volume,5);
value2=average(volume,6);
value3=average(volume,7);
value4=average(volume,8);
value5=average(volume,9);
value6=average(volume,10);
value7=average(volume,11);
value8=average(volume,12);
value9=average(volume,13);
value10=average(volume,14);
value11=average(volume,15);
value12=average(volume,16);
value13=average(volume,17);
value14=average(volume,18);
value15=average(volume,19);
value16=average(volume,20);
value1=GetField("成交量");
variable:count(0);
count=0;
if value1>value1[1] then count=count+1;
if value2>value2[1] then count=count+1;
if value3>value3[1] then count=count+1;
if value4>value4[1] then count=count+1;
if value5>value5[1] then count=count+1;
if value6>value6[1] then count=count+1;
if value7>value7[1] then count=count+1;
if value8>value8[1] then count=count+1;
if value9>value9[1] then count=count+1;
if value10>value10[1] then count=count+1;
if value11>value11[1] then count=count+1;
if value12>value12[1] then count=count+1;
if value13>value13[1] then count=count+1;
if value14>value14[1] then count=count+1;
if value15>value15[1] then count=count+1;
if value16>value16[1] then count=count+1;
if count >=14 then ret = 1;

6 評論