通达信私幕打板副图 打板追涨 高收益伴随高风险 源码
MM:=25;
ZLL:=250;
ZFL:=17;
ZFH:=11;
VAR2:=55;
VAR7:=(CLOSE-LLV(LOW,VAR2))/(HHV(HIGH,VAR2)-LLV(LOW,VAR2))*100;
VAR9:=SMA(VAR7,2,1);
VAR10:=MA(VAR9,2);
VAR11:=(VAR9*3+VAR10*2)/5;
VAR12:=MA(VAR11,3);
VAR13:=(VAR9*8+VAR12*3)/11;
VAR14:=(VAR9+VAR13)/2;
VAR15:=VAR7-LLV(VAR7,36);
VAR16:=(VAR14-LLV(VAR14,36)+VAR15)/2;
VAR20:=REF(CLOSE,1);
VAR21:=SMA(MAX(CLOSE-VAR20,0),34,1)/SMA(ABS(CLOSE-VAR20),34,1)*100;
VAR22:=VAR21-LLV(VAR21,36);
VAR23:=(MA(VAR22,2)*3+VAR22*13)/16*40;
VAR24:=MA(VAR16,13)*10;
VAR27:=VAR23;
VAR28:=VAR24;
VAR30:=IF(NAMELIKE(60),0,1);
VAR31:=IF(NAMELIKE(61),0,1);
VAR32:=IF(NAMELIKE(62),0,1);
VAR33:=IF(NAMELIKE(63),0,1);
VAR34:=IF(NAMELIKE(64),0,1);
VAR35:=IF(NAMELIKE(65),0,1);
VAR36:=VAR30 AND VAR31 AND VAR32 AND VAR33 AND VAR34 AND VAR35;
VAR37:=DYNAINFO(4)=0;
VAR38:=VAR36 AND NOT(VAR37);
VAR39:=CLOSE=OPEN AND HIGH=LOW;
VAR40:=COUNT(VAR39,5)>=2;
VAR43:=VAR27>VAR28*MM/10 AND VAR28>ZLL;
VAR44:=(CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1);
VAR46:=VAR44>ZFL-10 AND VAR44<ZFH;
私募打板:VAR43 AND VAR38 AND NOT(VAR39) AND VAR46 AND NOT(VAR40),COLORRED;
未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
MM赋值:25
ZLL赋值:250
ZFL赋值:17
ZFH赋值:11
VAR2赋值:55
VAR7赋值:(收盘价-VAR2日内最低价最低值)/(VAR2日内最高价最高值-VAR2日内最低价最低值)*100
VAR7的2日[1日权重]移动平均
VAR10赋值:VAR9的2日简单移动平均
VAR11赋值:(VAR9*3+VAR10*2)/5
VAR12赋值:VAR11的3日简单移动平均
VAR13赋值:(VAR9*8+VAR12*3)/11
VAR14赋值:(VAR9+VAR13)/2
VAR15赋值:VAR7-36日内VAR7最低值
VAR16赋值:(VAR14-36日内VAR14最低值+VAR15)/2
VAR20:=1日前的收盘价
VAR21:=SMA(收盘价-VAR20和0较大值,34,1)/SMA(收盘价-VAR20的绝对值,34,1)*100
VAR22:=VAR21-36日内VAR21最低值
VAR23:=(VAR22的2日简单移动平均*3+VAR22*13)/16*40
VAR24:=VAR16的13日简单移动平均*10
VAR27:=VAR23
VAR28:=VAR24
VAR30赋值:IF(NAMELIKE(60),0,1)
VAR31赋值:IF(NAMELIKE(61),0,1)
VAR32赋值:IF(NAMELIKE(62),0,1)
VAR33赋值:IF(NAMELIKE(63),0,1)
VAR34赋值:IF(NAMELIKE(64),0,1)
VAR35赋值:IF(NAMELIKE(65),0,1)
VAR36赋值:VAR30 AND VAR31 AND VAR32 AND VAR33 AND VAR34 AND VAR35
VAR37赋值:开盘价=0
VAR38赋值:VAR36 AND NOT(VAR37)
VAR39赋值:收盘价=开盘价 AND 最高价=最低价
VAR40赋值:统计5日满足VAR39的天数>=2
VAR43赋值:VAR27>VAR28*MM/10 AND VAR28>ZLL
VAR44赋值:(收盘价-1日前的收盘价)*100/1日前的收盘价
VAR46赋值:VAR44>ZFL-10 AND VAR44
输出私募打板:VAR43 AND VAR38 AND NOT(VAR39) AND VAR46 AND NOT(VAR40),画红色