当前位置:分析家公式网 → 股票公式 → 大智慧L2公式 → 一键转帖:主力进出胜利大逃亡指标
软件名称:[B]主力进出胜利大逃亡指标[/B]
软件类型:国产软件
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:解密版
软件大小:10.0 KB
官方主页:Home Page
更新时间:2009-02-26 21:01:21
软件简介:
股票主力进出胜利大逃亡指标源码
1、主力进出
{主力进出 N:1,100,8;M:1,100,13:1,100,60;S:1,100,3}
n:=8;m:=13;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),COLOR00FF00,LINETHICK2;
主力开始进: IF(V4>=0,V4,0),COLORFF00FF,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;
大资金进场: IF(VB>=0,VB,0),COLORRED,LINETHICK2;
大资金撤走: IF(VB<=0,VB,0),COLORBLUE,LINETHICK2;
2、胜利大逃亡
胜利逃亡(大智慧)
Var1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
Var2:=SMA(Var1,26,1);
Var3:=SMA(Var2,26,1);
Var4:=3*Var2-2*Var3;
Var5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
Var6:=SMA(Var5,5,1);
Var7:=SMA(Var6,10,1);
Var8:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14,1);
Var9:=HIGH-REF(HIGH,1);
VarA:=REF(LOW,1)-LOW;
VarB:=SMA(IF(Var9>0 AND Var9>VarA,Var9,0),12,1);
VarC:=SMA(IF(VarA>0 AND VarA>Var9,VarA,0),12,1);
VarD:=VarB*100/Var8;
VarE:=VarC*100/Var8;
VarF:=SMA(ABS(VarE-VarD)/(VarE+VarD)*100,12,1);
Var10:=(VarF+REF(VarF,5))/2;
Var11:=SUM(HIGH-OPEN,12)/SUM(OPEN-LOW,12)*100;
Var12:=SUM(MAX(0,HIGH-REF(CLOSE,1)),12)/SUM(MAX(0,REF(CLOSE,1)-LOW),12)*100;
Var13:=AMOUNT/VOL/100;
Var14:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
Var15:=SUM(AMOUNT,5)/Var13/100;
Var16:=SUM(AMOUNT,13)/Var13/100;
Var17:=SUM(AMOUNT,34)/Var13/100;
Var18:=SUM(AMOUNT,209)/Var13/100;
Var19:=REF(VOL,1)+REF(VOL,2)+REF(VOL,3)+REF(VOL,4);
Var1A:=Var19/CAPITAL;
Var1B:=VOL/CAPITAL*Var14+Var1A*REF(Var13,1);
Var1C:=DMA(Var14,VOL/Var15);
Var1D:=DMA(Var14,VOL/Var16);
Var1E:=DMA(Var14,VOL/Var17);
Var1F:=DMA(Var14,VOL/CAPITAL);
Var20:=100*(CLOSE-Var1C)/Var1C;
Var21:=100*(CLOSE-Var1D)/Var1D;
Var22:=100*(CLOSE-Var1E)/Var1E;
Var23:=100*(CLOSE-Var1F)/Var1F;
Var24:=100*(CLOSE-Var1D)/Var1D;
Var25:=LLV(HIGH,480);
Var26:=100*(CLOSE-Var25)/Var25;
Var27:=LLV(HIGH,240);
Var28:=100*(CLOSE-Var27)/Var27;
Var29:=LLV(HIGH,720);
Var2A:=100*(CLOSE-Var29)/Var29;
Var2B:=AMOUNT/(100*VOL);
Var2C:=MA(CLOSE,5);
Var2D:=100*(Var2C-REF(Var2C,1))/REF(Var2C,1);
Var2E:=CLOSE-LOW;
Var2F:=HIGH-LOW;
Var30:=CLOSE-HIGH;
Var31:=IF(CLOSE>=0,(Var2E/Var2F+Var30/Var2F)*VOL,(Var30/Var2F+Var2E/Var2F)*VOL);
Var32:=SUM(Var31,10)/10000;
Var33:=AMOUNT/(100*VOL);
Var34:=Var1D;
Var35:=100*(Var1D-REF(Var1D,1))/REF(Var1D,1);
Var36:=Var32>0 AND Var35>0;
Var37:=Var6<30 AND Var7<30 AND Var6>Var7 AND Var2<80 AND Var3<80 AND Var28<45 AND Var26<45;
Var38:=Var36 AND Var37;
买入: IF(Var38,100,0), linethick2,coloryellow;
Var39:=CROSS(Var7,Var6);
Var3A:=Var7>80 OR Var6>80;
Var3B:=Var39 AND Var3A;
逃顶: IF(Var3B,100,0),linethick2,colorred;
Var2:=SMA(Var1,26,1);
Var3:=SMA(Var2,26,1);
Var4:=3*Var2-2*Var3;
Var5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
Var6:=SMA(Var5,5,1);
Var7:=SMA(Var6,10,1);
Var8:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14,1);
Var9:=HIGH-REF(HIGH,1);
VarA:=REF(LOW,1)-LOW;
VarB:=SMA(IF(Var9>0 AND Var9>VarA,Var9,0),12,1);
VarC:=SMA(IF(VarA>0 AND VarA>Var9,VarA,0),12,1);
VarD:=VarB*100/Var8;
VarE:=VarC*100/Var8;
VarF:=SMA(ABS(VarE-VarD)/(VarE+VarD)*100,12,1);
Var10:=(VarF+REF(VarF,5))/2;
Var11:=SUM(HIGH-OPEN,12)/SUM(OPEN-LOW,12)*100;
Var12:=SUM(MAX(0,HIGH-REF(CLOSE,1)),12)/SUM(MAX(0,REF(CLOSE,1)-LOW),12)*100;
Var13:=AMOUNT/VOL/100;
Var14:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
Var15:=SUM(AMOUNT,5)/Var13/100;
Var16:=SUM(AMOUNT,13)/Var13/100;
Var17:=SUM(AMOUNT,34)/Var13/100;
Var18:=SUM(AMOUNT,209)/Var13/100;
Var19:=REF(VOL,1)+REF(VOL,2)+REF(VOL,3)+REF(VOL,4);
Var1A:=Var19/CAPITAL;
Var1B:=VOL/CAPITAL*Var14+Var1A*REF(Var13,1);
Var1C:=DMA(Var14,VOL/Var15);
Var1D:=DMA(Var14,VOL/Var16);
Var1E:=DMA(Var14,VOL/Var17);
Var1F:=DMA(Var14,VOL/CAPITAL);
Var20:=100*(CLOSE-Var1C)/Var1C;
Var21:=100*(CLOSE-Var1D)/Var1D;
Var22:=100*(CLOSE-Var1E)/Var1E;
Var23:=100*(CLOSE-Var1F)/Var1F;
Var24:=100*(CLOSE-Var1D)/Var1D;
Var25:=LLV(HIGH,480);
Var26:=100*(CLOSE-Var25)/Var25;
Var27:=LLV(HIGH,240);
Var28:=100*(CLOSE-Var27)/Var27;
Var29:=LLV(HIGH,720);
Var2A:=100*(CLOSE-Var29)/Var29;
Var2B:=AMOUNT/(100*VOL);
Var2C:=MA(CLOSE,5);
Var2D:=100*(Var2C-REF(Var2C,1))/REF(Var2C,1);
Var2E:=CLOSE-LOW;
Var2F:=HIGH-LOW;
Var30:=CLOSE-HIGH;
Var31:=IF(CLOSE>=0,(Var2E/Var2F+Var30/Var2F)*VOL,(Var30/Var2F+Var2E/Var2F)*VOL);
Var32:=SUM(Var31,10)/10000;
Var33:=AMOUNT/(100*VOL);
Var34:=Var1D;
Var35:=100*(Var1D-REF(Var1D,1))/REF(Var1D,1);
Var36:=Var32>0 AND Var35>0;
Var37:=Var6<30 AND Var7<30 AND Var6>Var7 AND Var2<80 AND Var3<80 AND Var28<45 AND Var26<45;
Var38:=Var36 AND Var37;
买入: IF(Var38,100,0), linethick2,coloryellow;
Var39:=CROSS(Var7,Var6);
Var3A:=Var7>80 OR Var6>80;
Var3B:=Var39 AND Var3A;
逃顶: IF(Var3B,100,0),linethick2,colorred;
[url=http://www.70822.com/soft/sort013/sort03/down-6813.html]主力进出胜利大逃亡指标[/url]