ZBT
_NAME 屠龙
_COMM
_PAR T
_VAR DT1, DT2, DT3, DT7
_ZB ASR, HUO, CLOSE, LFS, CYC, 涨跌幅, 博弈K线收盘, 博弈K线开盘, 博弈K线最高, 博弈K线最低, CYS
_RES DTLL2, DTLL6, DTLL7, DTLL1, DTLL6ZD, DTLLJJ
_DEF 1.000
_CODE
DT1=CYC(13)/MA(CLOSE,13);
DT2=CLOSE;
DT3=REF(CLOSE,1);
DTLL2=(REF(COSTD(DT3,7),T)-REF(COSTD(DT3,0),T)-REF(COSTD(DT2,7),T)+REF(COSTD(DT2,0),T))*涨跌幅/ABS(涨跌幅);
DT7=HUO*LFS/100;
EMA(DTLL7,DT7*DT1,t);
EMA(DTLL6,DT1*HUO*(100-LFS)/100,t);
DTLL6ZD=MA((DTLL6-REF(DTLL6,1)),5);
DTLL1=LSLOPE((0.618*博弈K线收盘+0.382*博弈K线开盘+0.618*博弈K线最高+0.382*博弈K线最低)/2*(100-LFS),T);
__END