通达信黑马因子副图指标 源码 贴图
2024-10-30 11:30:00来源:本站整理浏览:236
通达信黑马因子副图指标 源码 贴图
VAR1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR3:=(SMA(VAR2,3,1)-18)*1.55;
VAR4:=SMA(VAR3,3,1);
VAR5:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
VAR6:=SMA(VAR5,10,1);
VAR7:=(EMA(SMA(VAR6,8,1),34)-25)*2.6;
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)/2;
VAR12:=SMA(VAR11,3,1)*1.5-46;
VAR13:=SMA(VAR12,3,1);
VAR14:=3*VAR12-2*VAR13;
VAR15:=(VAR1+VAR2+VAR5)/3;
VAR16:=((VAR3+VAR3+VAR6+VAR12)/4-15)*1.67;
VAR17:=((VAR4+VAR4+VAR7+VAR13)/4-15)*1.67;
VAR18:=((VAR1+VAR5*2+VAR15+VAR16+VAR17+VAR11+VAR12+VAR13+VAR14)/10-15)*1.67;
VAR19:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9;
VAR20:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92;
VAR21:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93;
VAR22:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94;
VAR23:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95;
VAR24:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91;
VAR25:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96;
VAR26:=((VAR19*8+VAR20*8+VAR21*8+VAR22+VAR23+VAR24+VAR25)/28-0.1)*185;
VAR27:=SMA(VAR26,3,1);{公式网WWW.GPXIAZAI.COM}
VAR28:=(SMA(VAR27,8,1)-8)*1.18;
彩线1:(VAR16+VAR17+VAR18+VAR12+VAR13+VAR14+VAR28+VAR7)/13,COLOR004080;
彩线2:(VAR16+VAR17+VAR18+VAR12+VAR13+VAR14+VAR28+VAR7)/21,COLOR808000;
彩线3:(VAR16+VAR17+VAR18+VAR12+VAR13+VAR14+VAR28+VAR7)/34,COLORFF8080;
彩线4:(VAR3+VAR6+VAR27*2)/4,COLOR0000FF;
100,COLORLIGRAY;
VAR32:=CROSS(彩线4,彩线3);
VAR35:=VAR32 AND REF(彩线4,1)<0;
DRAWICON(VAR35,VAR35+5,38);
黑马:CROSS(彩线1,彩线3),COLORBLUE;
DRAWICON(黑马,黑马+5,25);
VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR3:=(SMA(VAR2,3,1)-18)*1.55;
VAR4:=SMA(VAR3,3,1);
VAR5:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
VAR6:=SMA(VAR5,10,1);
VAR7:=(EMA(SMA(VAR6,8,1),34)-25)*2.6;
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)/2;
VAR12:=SMA(VAR11,3,1)*1.5-46;
VAR13:=SMA(VAR12,3,1);
VAR14:=3*VAR12-2*VAR13;
VAR15:=(VAR1+VAR2+VAR5)/3;
VAR16:=((VAR3+VAR3+VAR6+VAR12)/4-15)*1.67;
VAR17:=((VAR4+VAR4+VAR7+VAR13)/4-15)*1.67;
VAR18:=((VAR1+VAR5*2+VAR15+VAR16+VAR17+VAR11+VAR12+VAR13+VAR14)/10-15)*1.67;
VAR19:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9;
VAR20:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92;
VAR21:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93;
VAR22:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94;
VAR23:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95;
VAR24:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91;
VAR25:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96;
VAR26:=((VAR19*8+VAR20*8+VAR21*8+VAR22+VAR23+VAR24+VAR25)/28-0.1)*185;
VAR27:=SMA(VAR26,3,1);{公式网WWW.GPXIAZAI.COM}
VAR28:=(SMA(VAR27,8,1)-8)*1.18;
彩线1:(VAR16+VAR17+VAR18+VAR12+VAR13+VAR14+VAR28+VAR7)/13,COLOR004080;
彩线2:(VAR16+VAR17+VAR18+VAR12+VAR13+VAR14+VAR28+VAR7)/21,COLOR808000;
彩线3:(VAR16+VAR17+VAR18+VAR12+VAR13+VAR14+VAR28+VAR7)/34,COLORFF8080;
彩线4:(VAR3+VAR6+VAR27*2)/4,COLOR0000FF;
100,COLORLIGRAY;
VAR32:=CROSS(彩线4,彩线3);
VAR35:=VAR32 AND REF(彩线4,1)<0;
DRAWICON(VAR35,VAR35+5,38);
黑马:CROSS(彩线1,彩线3),COLORBLUE;
DRAWICON(黑马,黑马+5,25);
- 上一篇公式:通达信利剑出击竞价选股指标 源码 贴图
- 下一篇公式:通达信四象合涨副图指标 源码 贴图