时鸣

 找回密码
 立即注册
查看: 20814|回复: 27
打印 上一主题 下一主题

[技术] 逃顶抄底公式(大智慧源码主图)

  [复制链接]
跳转到指定楼层
楼主
发表于 2012-3-9 09:35:34 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 叶箫 于 2012-3-9 09:38 编辑

逃顶抄底公式(大智慧源码主图):x1:EMA(C,7);
x2:EMA(c,21);
x3:EMA(x2,7);
x4:ema(x3,27);
x5:ema(x2,100);
x6:ema(x5,100);
Var1:=MA(CLOSE,5);
var2:=x1>x2 and x2>x3 and x3>x4 and x4>x5 and x5>x6;
var3:=x2>ref(x2,1) and x3>ref(x3,1) and x4>ref(x4,1) and x5>ref(x5,1) and x6>ref(x6,1);
Var4:=(LOW+HIGH+CLOSE+open)/4;
Var5:=MA(CLOSE,34);
Var6:=MA(CLOSE,60);
Var7:=(2*CLOSE+HIGH+LOW)/4;
Var8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);
Var9:=EMA(Var8,7);
Var10:=LLV(LOW,34);
Var11:=HHV(HIGH,34);
Var12:=EMA((Var7-Var10)/(Var11-Var10)*100,6);
Var13:=EMA(0.667*REF(Var12,1)+0.333*Var12,4);
Var14:=LLV(LOW,120);
Var15:=HHV(HIGH,120);
Var16:=Var15-Var14;
VarA:=REF(CLOSE,1);
VarB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;
VarC:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;
VarE:=SMA(MAX(CLOSE-VarA,0),6,1)/SMA(ABS(CLOSE-VarA),6,1)*100;
CB:=MA(Var4,5);
A1:=HHV(CB,20);
A2:=HHV(CB,60);
B1:=LLV(CB,20);
MID:=FORCAST(C,10);
上轨:=EMA(MID*1.05,3),COLOR00DDFF;
下轨:=EMA(MID*0.95,4),COLOR00AAFF;
aa:=100*(C-下轨)/(上轨-下轨);
drawtext((Varc+VarB< 7 AND CROSS(Var8,Var9) AND Var9< -18 AND Var9< VarB),l,'短买'),color00ff00;
drawtext(filter(var3 and var2 and count(x1<ref(x1,1),5)>2 and x1>ref(x1,1),3),l,'回补'),coloryellow;
drawtext(COUNT(CLOSE< REF(CLOSE,1),8)/8> 0.3 AND COUNT(Var12> Var13,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE> OPEN,l,'低买'),colorff00ff;
drawtext(ref(aa,1)>aa and ref(aa,1)>100 and c>ref(c,1),h,'短出'),colorffff00;
drawtext(CROSS(84,VarE),h,'高出1'),colorf00ff0;
drawtext(filter((a2>ref(a2,1) and b1>ref(b1,1)),5),h,'高出2'),color00ffff;

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
大智慧 <顶级买卖>主图 破解版:
MA3:MA(C,3);
MA20:MA(C,20);
ma122:ma(c,122),COLORFFFF00;
ma250:ma(c,250),linethick1,COLORFFFFFF;
趋势1:IF(EMA(EMA(EMA(EMA(CLOSE,3),3),3),3),0,1),Linethick1,CoLor0000FF;
趋势2:IF(EMA(REF(趋势1,1),3),0,1),Linethick1,CoLor00FFFF;
趋势3:EMA(EMA(EMA(EMA(EMA(CLOSE,65),3),3),3),3),Linethick1,CoLorFF0000;
买线:=EMA(CLOSE,2);
卖线:=EMA((SLOPE(CLOSE,21))*(20)+CLOSE,42);
BU:=CROSS(买线,卖线) ;
SEL:=CROSS(卖线,买线);
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX(CLOSE-LC,0),6,1))/(SMA(ABS(CLOSE-LC),6,1)))*(100);
VAR1:=IF(REF((LOW+OPEN+CLOSE+HIGH)/(4),1),0,1);
VAR2:=IF((SMA(ABS(LOW-VAR1),13,1))/(SMA(MAX(LOW-VAR1,0),10,1)),0,1);
VAR3:=IF(EMA(VAR2,10),0,1);
VAR4:=IF(LLV(LOW,33),0,1);
VAR5:=IF(EMA(IF((LOW<=VAR4),VAR3,0),5),0,1);
VAR6:=REF(CLOSE,1);
VAR7:=((SMA(MAX(CLOSE-VAR6,0),6,1))/(SMA(ABS(CLOSE-VAR6),6,1)))*(100);
VAR8:=(LLV(LOW,5)=LLV(LOW,45)) AND (CLOSE>=(OPEN)*(1.04));
VAR9:=(CLOSE>(REF(HIGH,1)+REF(LOW,1))/(2));
VAR10:=VAR8 AND VAR9;
VAR11:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR12:=LLV(LOW,13);
VAR13:=HHV(HIGH,13);
VAR14:=(LLV(LOW,1)=LLV(LOW,35)) AND (CLOSE>=(OPEN)*(1.04));
VAR15:=(CLOSE>(REF(HIGH,1)+REF(LOW,1))/(2));
VAR16:=EMA(((VAR11-VAR12)/(VAR13-VAR12))*(100),13);
VAR17:=(((CLOSE-MA(CLOSE,6))/(MA(CLOSE,6)))*(100)+((CLOSE-MA(CLOSE,24))/(MA(CLOSE,24)))*(100)+((CLOSE-MA(CLOSE,32))/(MA(CLOSE,32)))*(100))/(3);
大顶:=FILTER((VAR17>20) AND FILTER((VAR17<REF(VAR17,1)),5),5);
VAR18:=(OPEN+LOW+HIGH+CLOSE)/(4);
MAN:=(SMA(HIGH,21,2))*(1.05);
短底2:=EMA(VAR18,5);
支撑:=HHV(短底2,60);
VAR4M:=((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36)))*(100);
VAR5M:=SMA(VAR4M,5,1);
VAR6M:=SMA(VAR5M,8,1);
VAR7M:=CROSS(VAR5M,VAR6M) AND (VAR6M<5);
VAR8M:=(CLOSE>LLV(CLOSE,60)+(0.3)*(LLV(CLOSE,60))) AND VAR7M;
VAR9M:=IF((CLOSE>1000),VAR7M,VAR8M);
黑马起步:=VAR9M;
短期底部:=(LLV(HIGH,30))*(0.93);
逃:=FILTER((HIGH>支撑) AND (CLOSE<支撑) AND ((CLOSE)/(OPEN)>0-1.06) AND (CLOSE<OPEN),5) ;
逃命:=(黑马起步>0);
选逃:=FILTER((((逃命 or 逃) or CROSS(84,RSI)) or 大顶),3);
STICKLINE((买线>=卖线),LOW,HIGH,1,0),CoLor0000FF;
STICKLINE((买线>=卖线),CLOSE,OPEN,4.5,0),CoLor0000AA;
STICKLINE((买线>=卖线),CLOSE,OPEN,4,0),CoLor0000CC;
STICKLINE((买线>=卖线),CLOSE,OPEN,3,0),CoLor0000CC;
STICKLINE((买线>=卖线),CLOSE,OPEN,2,0),CoLor0000EE;
STICKLINE((买线<卖线),CLOSE,OPEN,4.5,0),CoLorAAAA00;
STICKLINE((买线<卖线),CLOSE,OPEN,4,0),CoLorBBBB00;
STICKLINE((买线<卖线),CLOSE,OPEN,3,0),CoLorCCCC00;
STICKLINE((买线<卖线),CLOSE,OPEN,2,0),CoLorEEEE00;
STICKLINE((买线<卖线) ,LOW,HIGH,1,0),CoLorFFFF00;
DRAWTEXT(选逃,(HIGH)*(1.03),'逃'),CoLorFFFF00;
DRAWTEXT(BU,(LOW)*(0.996),'买'),CoLor00FFFF;
DRAWTEXT(SEL,(HIGH)*(1.028),'卖'),CoLor00FF00;
主力进场:=FILTER((VAR5>REF(VAR5,1)),5);
DRAWTEXT(FILTER((VAR5>REF(VAR5,1)),5),(LOW)*(0.995),'↑'),CoLorFF0000;
DRAWTEXT(FILTER((VAR5>REF(VAR5,1)),5),(LOW)*(0.96),'主力'),CoLorFF0000;
STICKLINE(FILTER((VAR5>REF(VAR5,1)),5) AND CLOSE,OPEN,5,0,1),CoLorFF0000;
STICKLINE(FILTER((VAR5>REF(VAR5,1)),5),LOW,HIGH,1,0),CoLorFF0000;
指數位置:=(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));
抄底:=CROSS(指數位置,10);
STICKLINE(BU,(MAX(CLOSE,OPEN))*(0.995),(MIN(CLOSE,OPEN))*(1.005),2.5,0),CoLor0000FF;
VARA:=EMA((0.667)*(REF(VAR16,1))+(0.333)*(VAR16),2);
多:=VAR16;
空:=EMA((0.382)*(REF(VAR16,2))+(0.618)*(VAR16),12);
A1:=(VOL=HHV(VOL,120));
A2:=((CLOSE)/(OPEN)>1.05);
TJ:=A1 AND A2;
龙:=VAR10;
买4:=VAR14;
AA1:=(AMOUNT)/(VOL);
BB1:=(LOW<(AA1)*(0.9));
CC1:=(((CLOSE-REF(CLOSE,1))/(REF(CLOSE,1)))*(100)>1.2);
DD1:=(LOW<(MA(CLOSE,5))*(0.921));
EE1:=(VOL<(MA(VOL,5))*(1.5));
FF1:=BB1 AND CC1 AND DD1 AND EE1;
买3:=FILTER(FF1,3);
二十天最低跌幅:=(HHV(CLOSE,20))/(LLV(CLOSE,20));
RSV:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=(3)*(K)-(2)*(D);
X:=(LLV(J,2)=LLV(J,8));
买1:=CROSS(J,REF(J+0.01,1)) AND X AND (J<20) AND (二十天最低跌幅>=1.3);
长期底部:=LLV(HIGH,30);
上:=(SMA(LOW,5,2))*(0.96);
选底:=FILTER((LOW<=上) AND (HIGH>=短期底部) AND (CLOSE>=长期底部) AND ((CLOSE)/(OPEN)>1.03),3);
DRAWTEXT(IF(选底,100,0),(LOW)*(0.95),'底'),CoLorFFFFFF;
DRAWTEXT(IF(选底,100,0),(LOW)*(0.995),'↑'),CoLor00FFFF;
STICKLINE(IF(选底 ,100,0),CLOSE,OPEN,7,0),CoLorFF00FF;
STICKLINE(IF(选底,100,0),LOW,HIGH,1,0),CoLorF000FF;
选买:=FILTER((买3 or 选底),3) AND (COUNT(买1+买4+龙,3)>0);
STICKLINE(选买,HIGH,(HHV(HIGH,90))*(0.95),0.2,0),CoLorFF0000;
DRAWTEXT(选买,(HHV(HIGH,90))*(1),'稳赚'),CoLorFFFFFF;
DRAWTEXT(选买,(HHV(HIGH,90))*(0.97),'10%买'),CoLorFFFFFF;


提示:仅供参考!

评分

参与人数 5威望 +11 收起 理由
姜强 + 1 哥给的不是分,是支持!
郭会丽 + 2 赞一个!
张波 + 5 赞一个!
徐其军 + 2 谢谢分享!
屈茂松 + 1 我是通达信的 呵呵

查看全部评分

沙发
发表于 2012-3-9 09:37:26 | 只看该作者
谢谢分享
板凳
发表于 2012-3-9 09:38:29 | 只看该作者
没分给你加了,只能再顶一次哈
地板
发表于 2012-3-9 09:49:00 | 只看该作者
5#
发表于 2012-3-9 09:56:36 | 只看该作者
6#
发表于 2012-3-9 10:06:35 | 只看该作者
辛苦了,收下!
7#
发表于 2012-3-9 10:26:48 | 只看该作者
谢谢分享
8#
发表于 2012-3-9 10:28:54 | 只看该作者
第一个指标测试有问题,呵呵
9#
发表于 2012-3-9 10:32:21 | 只看该作者
10#
发表于 2012-3-9 10:35:29 | 只看该作者
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|时鸣 ( 沪ICP备18046765号 )

GMT+8, 2024-11-22 21:35 , Processed in 0.040625 second(s), 17 queries .

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表