TM賦值:1200823 漲停賦值:如果日期<TM,返回計算漲停價,否則返回計算漲停價,畫紅色 跌停賦值:如果日期<TM,返回計算跌停價,否則返回計算跌停價,畫綠色 ZT1賦值:最高價>=漲停 AND 周期類型=5 AND 最高價>收盤價 DT賦值:收盤價<=跌停 AND 周期類型=5 AND 最低價=收盤價 DT1賦值:最低價<=跌停 AND 周期類型=5 AND 最低價<收盤價 ZT賦值:收盤價>=漲停 AND 周期類型=5 AND 最高價=收盤價 陰陽皇帝賦值:最近3日存在最低價=10日內(nèi)最低價的最低值 AND 1日前的DTORDT1 AND (ZT1 OR ZT) 輸出皇帝:陰陽皇帝 程序源碼 TM:=1200823; 漲停:=IF(DATE<TM,ZTPRICE(REF(C,1),IF(CODELIKE('688'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),ZTPRICE(REF(C,1),IF(CODELIKE('688') OR CODELIKE('300'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))),COLORRED; 跌停:=IF(DATE<TM,DTPRICE(REF(C,1),IF(CODELIKE('688'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),DTPRICE(REF(C,1),IF(CODELIKE('688') OR CODELIKE('300'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))),COLORGREEN; ZT1:=H>=漲停 AND PERIOD=5 AND H>C; DT:=C<=跌停 AND PERIOD=5 AND L=C; DT1:=L<=跌停 AND PERIOD=5 AND L<C; ZT:=C>=漲停 AND PERIOD=5 AND H=C; 陰陽皇帝:=EXIST(L=LLV(L,10),3) AND REF(DT OR DT1,1) AND (ZT1 OR ZT); 皇帝:陰陽皇帝; |
|