实用性强的【量能抄底】通达信副图辅助征战股市
VAR1:=HHV(HIGH,21);
VAR2:=LLV(LOW,21);
VAR3:=REF(CLOSE,2);
VAR4:=((SMA(MAX(CLOSE-VAR3,0),7,1))/(SMA(ABS(CLOSE-VAR3),7,1)))*(100);
DRAWTEXT((VAR4< REF(VAR4,1)) AND (VAR4>79),115,'↓高位'),COLOR00F200;
VAR5:=((CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80)))*(200);
VARA:=SMA(VAR5,3,1);
VARB:=SMA(VARA,3,1);
VARC:=(3)*(VARA)-(2)*(VARB);
VARD:=LLV(LOW,5);
VARE:=HHV(HIGH,5);
VARF:=(EMA(((CLOSE-VARD)/(VARE-VARD))*(100),4))*(2);
VAR6:=EMA((0.66699999)*(REF(VARF,1))+(0.333)*(VARF),2);
VAR7:=(3)*(VARF)-(2)*(VAR6);
VAR8:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VAR9:=POW(MA(LOW,5),2)+MA(LOW,5);
VAR10:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VAR11:=((VAR8-LLV(VAR9,64))/(HHV(VAR10,64)-LLV(VAR9,64)))*(150)+65-10;
VAR12:=(SMA(VAR11,3,1))*(1.5)-100;
VAR13:=SMA(VAR12,3,1);
VAR14:=(3)*(VAR12)-(2)*(VAR13);
VAR15:=(HIGH+LOW+(CLOSE)*(2))/(4);
VAR1A:=EMA(VAR15,13);
VAR1B:=STD(VAR15,13);
VAR1C:=((VAR15-VAR1A)*(100))/(VAR1B);
VAR1D:=EMA(VAR1C,5);
VAR1E:=EMA(VAR1D,13);
VAR1F:=EMA(VAR1D,13)+200-100;
VAR16:=EMA(VAR1F,10);
VAR17:=(3)*(VAR1F)-(2)*(VAR16);
VAR18:=VARA+VARF+VAR12+VAR1F;
VAR19:=VARB+VAR6+VAR13+VAR16;
VAR20:=VARC+VAR7+VAR14+VAR17;
VAR21:=(HIGH+LOW+CLOSE)/(3);
VAR22:=((AMOUNT)/(VOL))/(100);
VAR23:=((SUM(AMOUNT,5))/(SUM(VOL,5)))/(100);
VAR24:=(VAR21-MA(VAR21,34))/((0.015)*(AVEDEV(VAR21,34)));
VAR25:=DMA(((AMOUNT)/(VOL))/(100),(VOL)/(CAPITAL));
VAR2A:=(HIGH+LOW+CLOSE+VAR21)/(4);
VAR2B:=EMA(VAR2A,24);
VAR2C:=STD(VAR2A,24);
VAR2D:=((VAR2A-VAR2B)/(VAR2C))*(100);
VAR2E:=(VAR21-MA(VAR21,24))/((0.015)*(AVEDEV(VAR21,24)));
VAR2F:=EMA(VAR2D,5);
VAR26:=((VAR2F+VAR2E+VAR24)/(3)+165)/(4);
VAR27:=(EMA(EMA(EMA(VAR26,15),10),5)-25)*(2)+VAR25;
VAR28:=((VAR18+VAR19+(VAR20)*(30))/(32))/(5)-15;
VAR29:=EMA(VAR28,13);
VAR30:=EMA(CLOSE,8);
VAR31:=EMA(VAR30,20);
VAR3A:=CROSS(VAR30,VAR31);
VAR3B:=(VAR30< EMA(CLOSE,120));
VAR3C:=(3)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(2)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1));
VAR3D:=EMA(VAR3C,3);
VAR3E:=EMA((VAR27+VAR29)/(2),2);
STICKLINE((VAR3E-REF(VAR3E,1)>0),VAR3E,0,10/3,0),COLOR00007B;
STICKLINE((VAR3E-REF(VAR3E,1)>0),VAR3E,0,9/3,0),COLOR000088;
STICKLINE((VAR3E-REF(VAR3E,1)>0),VAR3E,0,8/3,0),COLOR00009B;
STICKLINE((VAR3E-REF(VAR3E,1)>0),VAR3E,0,7/3,0),COLOR0000AE;
STICKLINE((VAR3E-REF(VAR3E,1)>0),VAR3E,0,6/3,0),COLOR0000BB;
STICKLINE((VAR3E-REF(VAR3E,1)>0),VAR3E,0,5/3,0),COLOR0000CC;
STICKLINE((VAR3E-REF(VAR3E,1)>0),VAR3E,0,4/3,0),COLOR0000DD;
STICKLINE((VAR3E-REF(VAR3E,1)>0),VAR3E,0,3/3,0),COLOR0000EC;
STICKLINE((VAR3E-REF(VAR3E,1)>0),VAR3E,0,2/3,0),COLOR0000E9;
STICKLINE((VAR3E-REF(VAR3E,1)< 0),VAR3E,0,10/3,0),COLOR00007B;
STICKLINE((VAR3E-REF(VAR3E,1)< 0),VAR3E,0,9/3,0),COLOR007B00;
STICKLINE((VAR3E-REF(VAR3E,1)< 0),VAR3E,0,8/3,0),COLOR008800;
STICKLINE((VAR3E-REF(VAR3E,1)< 0),VAR3E,0,7/3,0),COLOR009900;
STICKLINE((VAR3E-REF(VAR3E,1)< 0),VAR3E,0,6/3,0),COLOR00AA00;
STICKLINE((VAR3E-REF(VAR3E,1)< 0),VAR3E,0,5/3,0),COLOR00BB00;
STICKLINE((VAR3E-REF(VAR3E,1)< 0),VAR3E,0,4/3,0),COLOR00CE00;
STICKLINE((VAR3E-REF(VAR3E,1)< 0),VAR3E,0,3/3,0),COLOR00E100;
STICKLINE((VAR3E-REF(VAR3E,1)< 0),VAR3E,0,2/3,0),COLOR00F200;
STICKLINE((VAR3E-REF(VAR3E,1)< 0),VAR3E,0,1/3,0),COLORFFFF00;
DRAWTEXT(FILTER(CROSS(VAR3D,10),34),(-2),'←底'),COLORYELLOW;
VAR3F:=((CLOSE-MA(CLOSE,6))/(MA(CLOSE,6)))*(100);
VAR32:=((CLOSE-MA(CLOSE,12))/(MA(CLOSE,12)))*(100);
VAR33:=((CLOSE-MA(CLOSE,24))/(MA(CLOSE,24)))*(100);
VAR34:=(VAR3F+(2)*(VAR32)+(3)*(VAR33))/(6);
DRAWICON(VAR3A AND VAR3B,10,12);
DRAWTEXT(VAR3A AND VAR3B,10,'←可加仓'),COLORFFCC66;
未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VAR1赋值:21日内最高价最高值
VAR2赋值:21日内最低价最低值
VAR3赋值:2日前的收盘价
VAR4赋值:((SMA(收盘价-VAR3和0较大值,7,1))/(SMA(收盘价-VAR3的绝对值,7,1)))*(100)
DRAWTEXT((VAR4< 1日前的VAR4) AND (VAR4>79),115,'↓高位'),COLOR00F200
VAR5赋值:((收盘价-80日内最低价最低值)/(80日内最高价最高值-80日内最低价最低值))*(200)
VAR5的3日[1日权重]移动平均
VARA的3日[1日权重]移动平均
VARC赋值:(3)*(VARA)-(2)*(VARB)
VARD赋值:5日内最低价最低值
VARE赋值:5日内最高价最高值
VARF赋值:(EMA(((收盘价-VARD)/(VARE-VARD))*(100),4))*(2)
VAR6赋值:EMA((0.66699999)*(1日前的VARF)+(0.333)*(VARF),2)
VAR7赋值:(3)*(VARF)-(2)*(VAR6)
VAR8赋值:POW(收盘价的5日简单移动平均,2)+收盘价的5日简单移动平均
VAR9赋值:POW(最低价的5日简单移动平均,2)+最低价的5日简单移动平均
VAR10:=POW(最高价的5日简单移动平均,2)+最高价的5日简单移动平均
VAR11:=((VAR8-64日内VAR9最低值)/(64日内VAR10最高值-64日内VAR9最低值))*(150)+65-10
VAR11的3日[1日权重]移动平均
VAR12的3日[1日权重]移动平均
VAR14:=(3)*(VAR12)-(2)*(VAR13)
VAR15:=(最高价+最低价+(收盘价)*(2))/(4)
VAR1A:=VAR15的13日指数移动平均
VAR1B:=VAR15的13估算标准差
VAR1C:=((VAR15-VAR1A)*(100))/(VAR1B)
VAR1D:=VAR1C的5日指数移动平均
VAR1E:=VAR1D的13日指数移动平均
VAR1F:=VAR1D的13日指数移动平均+200-100
VAR16:=VAR1F的10日指数移动平均
VAR17:=(3)*(VAR1F)-(2)*(VAR16)
VAR18:=VARA+VARF+VAR12+VAR1F
VAR19:=VARB+VAR6+VAR13+VAR16
VAR20:=VARC+VAR7+VAR14+VAR17
VAR21:=(最高价+最低价+收盘价)/(3)
VAR22:=((成交额)/(成交量))/(100)
VAR23:=((5的成交额日累和)/(5的成交量日累和))/(100)
VAR24:=(VAR21-VAR21的34日简单移动平均)/((0.015)*(AVEDEV(VAR21,34)))
VAR25:=DMA(((成交额)/(成交量))/(100),(成交量)/(当前流通股本))
VAR2A:=(最高价+最低价+收盘价+VAR21)/(4)
VAR2B:=VAR2A的24日指数移动平均
VAR2C:=VAR2A的24估算标准差
VAR2D:=((VAR2A-VAR2B)/(VAR2C))*(100)
VAR2E:=(VAR21-VAR21的24日简单移动平均)/((0.015)*(AVEDEV(VAR21,24)))
VAR2F:=VAR2D的5日指数移动平均
VAR26:=((VAR2F+VAR2E+VAR24)/(3)+165)/(4)
VAR27:=(VAR26的15日指数移动平均,10),5)-25)*(2)+VAR25
VAR28:=((VAR18+VAR19+(VAR20)*(30))/(32))/(5)-15
VAR29:=VAR28的13日指数移动平均
VAR30:=收盘价的8日指数移动平均
VAR31:=VAR30的20日指数移动平均
VAR3A:=VAR30上穿VAR31
VAR3B:=(VAR30< 收盘价的120日指数移动平均)
VAR3C:=(3)*(SMA(((收盘价-27日内最低价最低值)/(27日内最高价最高值-27日内最低价最低值))*(100),5,1))-(2)*(SMA(SMA(((收盘价-27日内最低价最低值)/(27日内最高价最高值-27日内最低价最低值))*(100),5,1),3,1))
VAR3D:=VAR3C的3日指数移动平均
VAR3E:=EMA((VAR27+VAR29)/(2),2)
STICKLINE((VAR3E-1日前的VAR3E>0),VAR3E,0,10/3,0),COLOR00007B
STICKLINE((VAR3E-1日前的VAR3E>0),VAR3E,0,9/3,0),COLOR000088
STICKLINE((VAR3E-1日前的VAR3E>0),VAR3E,0,8/3,0),COLOR00009B
STICKLINE((VAR3E-1日前的VAR3E>0),VAR3E,0,7/3,0),COLOR0000AE
STICKLINE((VAR3E-1日前的VAR3E>0),VAR3E,0,6/3,0),COLOR0000BB
STICKLINE((VAR3E-1日前的VAR3E>0),VAR3E,0,5/3,0),COLOR0000CC
STICKLINE((VAR3E-1日前的VAR3E>0),VAR3E,0,4/3,0),COLOR0000DD
STICKLINE((VAR3E-1日前的VAR3E>0),VAR3E,0,3/3,0),COLOR0000EC
STICKLINE((VAR3E-1日前的VAR3E>0),VAR3E,0,2/3,0),COLOR0000E9
STICKLINE((VAR3E-1日前的VAR3E< 0),VAR3E,0,10/3,0),COLOR00007B
STICKLINE((VAR3E-1日前的VAR3E< 0),VAR3E,0,9/3,0),COLOR007B00
STICKLINE((VAR3E-1日前的VAR3E< 0),VAR3E,0,8/3,0),COLOR008800
STICKLINE((VAR3E-1日前的VAR3E< 0),VAR3E,0,7/3,0),COLOR009900
STICKLINE((VAR3E-1日前的VAR3E< 0),VAR3E,0,6/3,0),COLOR00AA00
STICKLINE((VAR3E-1日前的VAR3E< 0),VAR3E,0,5/3,0),COLOR00BB00
STICKLINE((VAR3E-1日前的VAR3E< 0),VAR3E,0,4/3,0),COLOR00CE00
STICKLINE((VAR3E-1日前的VAR3E< 0),VAR3E,0,3/3,0),COLOR00E100
STICKLINE((VAR3E-1日前的VAR3E< 0),VAR3E,0,2/3,0),COLOR00F200
STICKLINE((VAR3E-1日前的VAR3E< 0),VAR3E,0,1/3,0),COLORFFFF00
DRAWTEXT(FILTER(VAR3D上穿10,34),(-2),'←底'),画黄色
VAR3F:=((收盘价-收盘价的6日简单移动平均)/(收盘价的6日简单移动平均))*(100)
VAR32:=((收盘价-收盘价的12日简单移动平均)/(收盘价的12日简单移动平均))*(100)
VAR33:=((收盘价-收盘价的24日简单移动平均)/(收盘价的24日简单移动平均))*(100)
VAR34:=(VAR3F+(2)*(VAR32)+(3)*(VAR33))/(6)
当满足条件VAR3A AND VAR3B时,在10和12之间画图标
当满足条件VAR3A AND VAR3B时,在10和'←可加仓'位置书写文字