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);
皇帝:阴阳皇帝;
九毛八公式解读
TM赋值:1200823 涨停赋值:如果日期=涨停 AND 周期类型=5 AND 最高价>收盘价 DT赋值:收盘价<=跌停 AND 周期类型=5 AND 最低价=收盘价 DT1赋值:最低价<=跌停 AND 周期类型=5 AND 最低价<收盘价 ZT赋值:收盘价>=涨停 AND 周期类型=5 AND 最高价=收盘价 阴阳皇帝赋值:最近3日存在最低价=10日内最低价的最低值 AND 1日前的DTORDT1 AND (ZT1 OR ZT) 输出皇帝:阴阳皇帝