买点股池专用 无需L2通达信公式 副图 源码附图
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
VAR2:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*(HIGH-OPEN+(CLOSE-LOW)),IF(CLOSE=OPEN AND CLOSE>REF(CLOSE,1),VOL,0)));
VAR3:=IF(CLOSE>OPEN,VAR1*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),IF(CLOSE=OPEN AND CLOSE<REF(CLOSE,1),VOL,0)));
VAR4:=SUM((VAR2-VAR3)/CAPITAL,1)*1000;
VAR5:=DYNAINFO(23)-DYNAINFO(22);
VAR6:=CLOSE>OPEN AND CLOSE-LOW>HIGH-CLOSE;
VAR7:=CLOSE<OPEN AND HIGH-OPEN<CLOSE-LOW AND OPEN-CLOSE<CLOSE-LOW;
VAR8:=VAR6=1 OR VAR7=1;
VAR9:=(HIGH+LOW+CLOSE)/3;
VAR10:=(VAR9-MA(VAR9,15))/(0.015*AVEDEV(VAR9,15));
VAR11:=(VAR9-MA(VAR9,10))/(0.015*AVEDEV(VAR9,10));
VAR12:=EMA(HIGH,3);
VAR13:=EMA(LOW,3);
VAR14:=EMA(HIGH,5);
VAR15:=EMA(LOW,5);
VAR16:=EMA(LOW,10);
VAR17:=(VAR12+VAR14+VAR13+VAR15)/4;
VAR18:=(VAR12-VAR13)/8+VAR17;
VAR19:=(EXPMA((CLOSE+HIGH+LOW)/3,4)+MA((CLOSE+HIGH+LOW)/3,4*2)+MA((CLOSE+HIGH+LOW)/3,4*4))/3;
VAR20:=(EXPMA((CLOSE+HIGH+LOW)/3,6)+MA((CLOSE+HIGH+LOW)/3,6*2)+MA((CLOSE+HIGH+LOW)/3,6*4))/3;
VAR19>VAR20 AND VAR10>0 AND VAR11>0 AND VAR12>VAR14 AND VAR13>VAR15 AND VAR15>VAR16 AND OPEN<VAR18 AND LOW<VAR13 AND CLOSE<VAR17 AND VAR4>0 AND VAR5>0 AND VAR8=1;
未来函数检测结果如下:
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VAR1赋值:成交量/((最高价-最低价)*2-收盘价-开盘价的绝对值)
VAR2赋值:IF(收盘价>开盘价,VAR1*(最高价-最低价),IF(收盘价<开盘价,VAR1*(最高价-开盘价+(收盘价-最低价)),IF(收盘价=开盘价 AND 收盘价>1日前的收盘价,成交量,0)))
VAR3赋值:IF(收盘价>开盘价,VAR1*(最高价-收盘价+(开盘价-最低价)),IF(收盘价<开盘价,VAR1*(最高价-最低价),IF(收盘价=开盘价 AND 收盘价<1日前的收盘价,成交量,0)))
VAR4赋值:SUM((VAR2-VAR3)/当前流通股本,1)*1000
VAR5赋值:DYNAINFO(23)-DYNAINFO(22)
VAR6赋值:收盘价>开盘价 AND 收盘价-最低价>最高价-收盘价
VAR7赋值:收盘价<开盘价 AND 最高价-开盘价<收盘价-最低价 AND 开盘价-收盘价<收盘价-最低价
VAR8赋值:VAR6=1 OR VAR7=1
VAR9赋值:(最高价+最低价+收盘价)/3
VAR10:=(VAR9-VAR9的15日简单移动平均)/(0.015*AVEDEV(VAR9,15))
VAR11:=(VAR9-VAR9的10日简单移动平均)/(0.015*AVEDEV(VAR9,10))
VAR12:=最高价的3日指数移动平均
VAR13:=最低价的3日指数移动平均
VAR14:=最高价的5日指数移动平均
VAR15:=最低价的5日指数移动平均
VAR16:=最低价的10日指数移动平均
VAR17:=(VAR12+VAR14+VAR13+VAR15)/4
VAR18:=(VAR12-VAR13)/8+VAR17
VAR19:=(EXPMA((收盘价+最高价+最低价)/3,4)+MA((收盘价+最高价+最低价)/3,4*2)+MA((收盘价+最高价+最低价)/3,4*4))/3
VAR20:=(EXPMA((收盘价+最高价+最低价)/3,6)+MA((收盘价+最高价+最低价)/3,6*2)+MA((收盘价+最高价+最低价)/3,6*4))/3
VAR19>VAR20 AND VAR10>0 AND VAR11>0 AND VAR12>VAR14 AND VAR13>VAR15 AND VAR15>VAR16 AND 开盘价0 AND VAR5>0 AND VAR8=1