通达信超大主力吃货源码

2016-07-04 10:59:00来源:本站整理浏览:338

VAR3:=MA(CLOSE,13);
VAR4:=100-ABS(((CLOSE-VAR3)/(VAR3))*(100));
VAR5:=LLV(LOW,75);
VAR6:=HHV(HIGH,75);
VAR7:=(VAR6-VAR5)/(100);
VAR8:=SMA((CLOSE-VAR5)/(VAR7),20,1);
VAR9:=SMA((OPEN-VAR5)/(VAR7),20,1);
VARA:=(3)*(VAR8)-(2)*(SMA(VAR8,15,1));
VARB:=(3)*(VAR9)-(2)*(SMA(VAR9,15,1));
VARC:=100-VARB;
VARD:=(REF(LOW,1))*(0.89999997);
VARE:=(LOW)*(0.89999997);
VARF:=((VARE)*(VOL)+(VARD)*(CAPITAL-VOL))/(CAPITAL);
VAR10:=EMA(VARF,30);
VAR11:=CLOSE-REF(CLOSE,1);
VAR12:=MAX(VAR11,0);
VAR13:=ABS(VAR11);
VAR14:=((SMA(VAR12,7,1))/(SMA(VAR13,7,1)))*(100);
VAR15:=((SMA(VAR12,13,1))/(SMA(VAR13,13,1)))*(100);
VAR16:=BARSCOUNT(CLOSE);
VAR17:=((SMA(MAX(VAR11,0),6,1))/(SMA(ABS(VAR11),6,1)))*(100);
VAR18:=(((-200))*(HHV(HIGH,60)-CLOSE))/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR19:=((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15)))*(100);
VAR1A:=SMA((SMA(VAR19,4,1)-50)*(2),3,1);
VAR1B:=((INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14)))*(100);
VAR1C:=SMA(VAR1B,4,1);
VAR1D:=SMA(VAR1C,3,1);
VAR1E:=((HHV(HIGH,30)-CLOSE)/(CLOSE))*(100);
VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);
VAR20:=REVERSE(VAR1F);
VAR21:=SMA(VAR1F,3,1);
趋势:SMA(VAR21,3,1),COLORLIBLUE,LINETHICK1;
人气:SMA(趋势,3,1),COLORMAGENTA,LINETHICK1;
DRAWICON(CROSS(趋势,人气),人气,1);
DRAWICON(CROSS(人气,趋势),人气,2);
A1:=CROSS(趋势,人气);
AA:=A1 AND 趋势 >30 AND 趋势<75 AND DYNAINFO(37)<8;
NOTEXT出击:IFF(CROSS(趋势,人气) AND (趋势<30),20,0),COLOR0000FF,LINETHICK2;
NOTEXT短卖:IFF(CROSS(人气,趋势) AND (人气>75),85,100),COLOR008000,LINETHICK2;
{ 2} VAR1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
VAR2:=SMA(VAR1,3,1);
VAR30:=SMA(VAR2,3,1);
VAR40:=3*VAR2-2*VAR3;
VAR50:=LLV(LOW,5);
VAR60:=HHV(HIGH,5);
VAR70:=EMA((CLOSE-VAR50)/(VAR60-VAR50)*100,4)*2;
VAR80:=EMA(0.667*REF(VAR70,1)+0.333*VAR70,2);
VAR90:=3*VAR70-2*VAR80;
VARA0:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VARB0:=POW(MA(LOW,5),2)+MA(LOW,5);
VARC0:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARD0:=(VARA0-LLV(VARB0,64))/(HHV(VARC0,64)-LLV(VARB0,64))*150+65-10;
VARE0:=SMA(VARD0,3,1)*1.5-100;
VARF0:=SMA(VARE0,3,1);
VAR100:=3*VARE-2*VARF;
VAR110:=(HIGH+LOW+CLOSE*2)/4;
VAR120:=EMA(VAR110,13);
VAR130:=STD(VAR110,13);
VAR140:=(VAR110-VAR120)*100/VAR13;
VAR150:=EMA(VAR140,5);
VAR170:=EMA(VAR150,13)+200-100;
VAR180:=EMA(VAR170,10);
VAR190:=3*VAR170-2*VAR180;
VAR1A0:=VAR20+VAR70+VARE0+VAR170;
VAR1B0:=VAR30+VAR80+VARF0+VAR180;
VAR1C0:=VAR40+VAR90+VAR100+VAR190;
VAR1D0:=(HIGH+LOW+CLOSE)/3;
VAR200:=(VAR1D0-MA(VAR1D0,34))/(0.015*AVEDEV(VAR1D0,34));
VAR220:=(HIGH+LOW+CLOSE+VAR1D0)/4;
VAR230:=EMA(VAR220,24);
VAR240:=STD(VAR200,24);
VAR250:=(VAR220-VAR230)/VAR240*100;
VAR260:=(VAR1D0-MA(VAR1D0,24))/(0.015*AVEDEV(VAR1D0,24));
VAR270:=EMA(VAR250,5);
VAR2A:=((VAR270+VAR260+VAR200)/3+165)/4;
VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2;
VAR2C:=(VAR1A0+VAR1B0+VAR1C0*30)/32/5-15;
VAR2D:=EMA(VAR2C,7);
VAR2E:=(VAR2A+VAR2C)/2/1.1;
超短:EMA(VAR2E,3),COLORRED ;
短线:EMA(超短,5),COLORWHITE;
趋势线:EMA((VAR2B+VAR2D)/2,2) ,COLORYELLOW;
DRAWICON(CROSS(趋势线,0),0,1);
DRAWICON(CROSS(100,超短),100,2);
DRAWTEXT(趋势线>REF(趋势线,1)AND REF(趋势线,1)<REF(趋势线,2)AND COUNT(CROSS(超短,短线),3)=1 AND 短线<30,短线,'看底');
{流通盘:CAPITAL/1000000,COLOR7F00FF,LINETHICK0;}
N:=8;
M:=13;
P:=60;
S:=3;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
超大主力吃: IF(V4>=0,V4,0),COLOR7F00FF,LINETHICK3;
超大主力吐: IF(V4<=0,V4,0),COLOR66FF00,LINETHICK2;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
超大主力吃货线:8,COLORFF80FF,LINETHICK2,CROSSDOT;


 


 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式