編程思路破譯輸出競價強弱排序:開盤金額/開盤價/自由流通股本(股)*100*(開盤價-1日前的收盤價)/1日前的收盤價*100 X_1賦值:如果滬深京品種類型=4OR(滬深京品種類型=3ANDDATE>=1200824),返回1.2,否則返回1.1 X_2賦值:收盤價<=最高價 AND 最高價>1日前的收盤價*X_1-0.01 AND 收盤價/1日前的收盤價>1.06 輸出昨日漲停統(tǒng)計:1日前的條件連續(xù)成立次數(shù) X_3賦值:收盤價的有效數(shù)據(jù)周期數(shù)>30 X_4賦值:如果模糊匹配品種名稱,返回0,否則返回1 X_5賦值:如果模糊匹配品種名稱,返回0,否則返回1 X_6賦值:量比>0 X_7賦值:流通市值<10000000000 X_8賦值:如果模糊匹配品種代碼,返回0,否則返回1 X_9賦值:1日前的收盤價的4日累和 X_10賦值:(開盤價/((開盤價+X_9)/5)*100-100)*5 X_11賦值:X_3 AND X_8 AND X_4 AND X_5 AND X_6 AND 上市的天數(shù)>30 AND X_7 AND X_10>=74 AND X_10<100 輸出競價精選:X_11*((開盤價/((開盤價+X_9)/5)*100-100)*5/3.1415) 輸出開盤漲幅%:(開盤價/1日前的收盤價-1)*100 輸出開盤換手Z:開盤金額/開盤價/自由流通股本(股)*100 輸出競價額萬:開盤金額/10000 X_12賦值:(收盤價/1日前的收盤價-1)*100 輸出競價量:開盤金額/開盤價/100 輸出競量比:競價量/1日前的成交量(手)*100 輸出今昨量比:成交量(手)/1日前的成交量(手) 輸出流通市值億:流通市值/100000000 輸出細分行業(yè):當滿足條件1時,在0位置書寫文字,COLOR00C0C0 輸出概念:當滿足條件1時,在0位置書寫文字,COLOR00C0C0 程序源碼 競價強弱排序:DYNAINFO(15)/DYNAINFO(4)/FINANCE(46)*100*(DYNAINFO(4)-REF(CLOSE,1))/REF(CLOSE,1)*100; X_1:=IF(FINANCE(3)=4 OR (FINANCE(3)=3 AND DATE>=1200824),1.2,1.1); X_2:=CLOSE<=HIGH AND H>REF(CLOSE,1)*X_1-0.01 AND C/REF(C,1)>1.06; 昨日漲停統(tǒng)計:REF(BARSLASTCOUNT(X_2),1); X_3:=BARSCOUNT(CLOSE)>30; X_4:=IF(NAMELIKE(639),0,1); X_5:=IF(NAMELIKE(640),0,1); X_6:=DYNAINFO(17)>0; X_7:=FINANCE(40)<10000000000; X_8:=IF(CODELIKE(82),0,1); X_9:=REF(SUM(CLOSE,4),1); X_10:=(OPEN/((OPEN+X_9)/5)*100-100)*5; X_11:=X_3 AND X_8 AND X_4 AND X_5 AND X_6 AND FINANCE(42)>30 AND X_7 AND X_10>=74 AND X_10<100; 競價精選:X_11*((OPEN/((OPEN+X_9)/5)*100-100)*5/3.1415); 開盤漲幅%:(OPEN/REF(CLOSE,1)-1)*100; 開盤換手Z:DYNAINFO(15)/OPEN/FINANCE(46)*100; 競價額萬:DYNAINFO(15)/10000; X_12:=(CLOSE/REF(CLOSE,1)-1)*100; 競價量:DYNAINFO(15)/OPEN/100; 競量比:競價量/REF(VOL,1)*100; 今昨量比:VOL/REF(VOL,1); 流通市值億:FINANCE(40)/100000000; 細分行業(yè):DRAWTEXT(1,0,HYBLOCK),COLOR00C0C0; 概念:DRAWTEXT(1,0,GNBLOCK),COLOR00C0C0; 風險提示該公式包含未來函數(shù):DYNAINFO |
|