源码“真正无敌”大智慧版本(付通达信源码和说明)
-
相关简介:C/C++ Code 复制内容到剪贴板 STICKLINE(c0andma(vol,55)0,0,130,6,0),Color000000; WFVAR51:=(((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36)))*100); WFVAR61:=SMA(WFVAR51,5,1); WFVAR71:=SMA(WFVAR61,8,1); WFVAR81:=(CROSS(WFVAR61,WFVAR71)AND(WFVAR7110));
-
文章来源:择股网作者:股海网发布时间:2009-09-16浏览次数:
C/C++ Code复制内容到剪贴板
- STICKLINE(c>0 and ma(vol,55)>0,0,130,6,0),Color000000;
- WFVAR51:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100);
- WFVAR61:=SMA(WFVAR51,5,1);
- WFVAR71:=SMA(WFVAR61,8,1);
- WFVAR81:=(CROSS(WFVAR61,WFVAR71) AND (WFVAR71 < 10));
- WFVAR91:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND WFVAR81);
- WFVARA121:=IF((CLOSE > 1000),WFVAR81,WFVAR91);
- 逃:WFVARA121,ColorBlue;
- STICKLINE(逃,130,0,4.5,0),ColorBlue;
- VAR11:=REF(CLOSE,1);
- VAR12:=(SMA(MAX(CLOSE-VAR11,0),17,1))/(SMA(ABS(CLOSE-VAR11),17,1))*100;
- 减:CROSS(79,VAR12),colorgray;
- STICKLINE(减,120,0,4.5,0),colorgray;
- {ema13:=ema(c,13);ema34:=ema(c,34);ema55:=ema(c,55);
- gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5) );
- gr2:=ema13>ema34 and ema34>ema55 and ema13>ref(ema13,1);
- gr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1);
- gr4:=h=hhv(h,gr1);
- gr5:="macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1);
- gr6:=gr2 and gr3 and gr4;
- gr7:=gr2 and gr3 and gr4 and gr5;
- 收:gr6 and gr7,color00ff00;
- STICKLINE(收,110,0,4.5,0),color00ff00;}
- Ym:=(MA(C,13)-MA(C,55))/MA(C,13)*100;
- YZ1m:=C/O>1.02 AND H/C>1.02 AND O/L<1.02;
- YZ2m:=REF(C,1)>REF(O,1) AND O>MA(C,11);
- 顶:YZ1m AND YZ2m AND Ym>10,ColorFFFF00;
- STICKLINE(顶,100,0,4.5,0),ColorFFFF00;
- 空:=EMA(C,5);
- 均衡:=EMA(空,5);
- 中轨:=HHV(MA(H,13),13);
- var5:=FILTER(均衡>REF(均衡,1)AND 中轨<REF(中轨,1)AND C>REF(C,1),11);
- 加仓:var5,Color7F00FF;
- STICKLINE(加仓,90,0,4.5,0),Color7F00FF;
- y1:=EMA(EMA(C,5),5);y2:=HHV(MA(H,13),13);
- var51:=FILTER(y1>REF(y1,1)AND y2<REF(y2,1)AND C>REF(C,1),11);
- 追涨:var51,Color007FFF;
- STICKLINE(追涨,80,0,4.5,0),Color007FFF;
- 上:=(SMA(HIGH,21,2) * 1.05);
- 下轨:=(SMA(LOW,21,2) * 0.969);AA10:=MA(CLOSE,8);
- 追击:FILTER(((((((CLOSE / OPEN) > 1.04) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (CLOSE > 下轨)) AND ((AA10 - REF(AA10,1)) > 0)) AND (CLOSE < 上)),3)*10,ColorFF1CAE;
- STICKLINE(追击,70,0,4.5,0),ColorFF1CAE;
- 多方趋势:=(7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1));
- 空方趋势:= EMA(MA(多方趋势,5),7);
- 金矿:CROSS(多方趋势,空方趋势) AND 空方趋势 <35,ColorYellow;
- STICKLINE(金矿,60,0,4.5,0),ColorYellow;
- 赢家:=3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1);
- 下注:CROSS(赢家,MA(赢家,15)) AND 赢家<35,COLORFF00FF;
- STICKLINE(下注,50,0,4.5,0),COLORFF00FF;
- M1:=SUM((EMA((CLOSE + LOW)/(2),2))/(2.98),3);
- M2:=EMA(M1,21);
- VAR1j:=(2)*(MA((LLV((CLOSE + LOW)/(2),8))*(1.1),13)) - EMA((CLOSE + LOW)/(2),3) - ((CLOSE + LOW)/(2))*(0.1);
- VAR2j:=IF(((EMA((CLOSE + LOW)/(2),3) - VAR1j)*(5) > 0),(POW((EMA((CLOSE + LOW)/(2),3) - VAR1j)*(5),2))/(10),(((-1))*(POW((EMA((CLOSE + LOW)/(2),3) - VAR1j)*(5),2)))/(10));
- VAR3j:=IF((VAR2j > 0),VAR2j - 0,(-1));
- 绝杀:CROSS(VAR3j,0) AND ((CLOSE + LOW)/(2) > MA((CLOSE + LOW)/ (2),8)),ColorFF7F00;
- STICKLINE(绝杀,40,0,4.5,0),ColorFF7F00;
- Var2p:=REF(LOW,1);
- Var3p:=SMA(ABS(LOW-Var2p),3,1)/SMA(MAX(LOW-Var2p,0),3,1)*100;
- Var4p:=EMA(IF(CLOSE*1.2,Var3p*10,Var3p/10),3);
- Var5p:=LLV(LOW,38);
- Var6p:=HHV(Var4p,38);
- Var7p:=IF(LLV(LOW,90),1,0);
- Var8p:=EMA(IF(LOW<=Var5p,(Var4p+Var6p*2)/2,0),3)/618*Var7p;
- 趋势p:= 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);
- 底部p:=10;
- 出手:CROSS(趋势p,底部p),ColorWhite;
- STICKLINE(出手,30,0,4.5,0),ColorWhite;
- DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
- DEA1:=EMA(DIFF1,9);
- JCCOUNT:=COUNT(CROSS(DIFF1,DEA1),BARSLAST(DEA1>=0));
- 二金:CROSS(DIFF1,DEA1) AND DEA1<0 AND COUNT(JCCOUNT=2,21),ColorGreen;
- STICKLINE(二金,20,0,4.5,0),ColorGreen;
- Var1z1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45));
- Var2z1:=SMA(Var1z1,3,1);
- Var3z1:=SMA(Var2z1,3,1);
- Var4z1:=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(Var4z1,10) AND Var3z1<12,COLORRED;STICKLINE(抄底,10,0,4.5,0),COLORRED;
C/C++ Code复制内容到剪贴板
- {通达信用 择股网 www.zegu.cn 整理}
- 天:0,COLORRED,POINTDOT;地:130,COLORRED,POINTDOT;
- WFVAR51:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100);
- WFVAR61:=SMA(WFVAR51,5,1);
- WFVAR71:=SMA(WFVAR61,8,1);
- WFVAR81:=(CROSS(WFVAR61,WFVAR71) AND (WFVAR71 < 10));
- WFVAR91:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND WFVAR81);
- WFVARA121:=IF((CLOSE > 1000),WFVAR81,WFVAR91);
- 逃遁:=WFVARA121;
- STICKLINE(逃遁,130,0,0.1,0.1),COLORFF00FF;
- DRAWTEXT(逃遁,130,'逃'),COLORRED;
- VAR11:=REF(CLOSE,1);
- VAR12:=(SMA(MAX(CLOSE-VAR11,0),17,1))/(SMA(ABS(CLOSE-VAR11),17,1))*100;
- 减仓:=CROSS(79,VAR12);
- STICKLINE(减仓,130,0,0.1,0.1),COLORFF00FF;
- DRAWTEXT(减仓,120,'减'),COLORYELLOW;
- EMA13:=EMA(C,13);
- EMA34:=EMA(C,34);
- EMA55:=EMA(C,55);
- GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );
- GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);
- GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);
- GR4:=H=HHV(H,GR1);
- GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1);
- GR6:=GR2 AND GR3 AND GR4;
- GR7:=GR2 AND GR3 AND GR4 AND GR5;
- 见好:=GR6 AND GR7;
- STICKLINE(见好,130,0,0.1,0.1),COLORFF00FF;
- DRAWTEXT(见好,110,'见'),COLORRED;
- YM:=(MA(C,13)-MA(C,55))/MA(C,13)*100;
- YZ1M:=C/O>1.02 AND H/C>1.02 AND O/L<1.02;
- YZ2M:=REF(C,1)>REF(O,1) AND O>MA(C,11);
- 独秀:=YZ1M AND YZ2M AND YM>10;
- STICKLINE(独秀,130,0,0.1,0.1),COLORFF00FF;
- DRAWTEXT(独秀,100,'独'),COLORYELLOW;
- M1:=SUM((EMA((CLOSE + LOW)/(2),2))/(2.98),3);M2:=EMA(M1,21);
- VAR1J:=(2)*(MA((LLV((CLOSE + LOW)/(2),8))*(1.1),13)) - EMA((CLOSE + LOW)/(2),3) - ((CLOSE + LOW)/(2))*(0.1);
- VAR2J:=IF(((EMA((CLOSE + LOW)/(2),3) - VAR1J)*(5) > 0),(POW((EMA((CLOSE + LOW)/(2),3) - VAR1J)*(5),2))/(10),(((-1))*(POW((EMA((CLOSE + LOW)/(2),3) - VAR1J)*(5),2)))/(10));
- VAR3J:=IF((VAR2J > 0),VAR2J - 0,(-1));
- 绝杀:=CROSS(VAR3J,0) AND ((CLOSE + LOW)/(2) > MA((CLOSE + LOW)/(2),8));
- STICKLINE(绝杀,130,0,0.1,0.1),COLORFF00FF;
- DRAWTEXT(绝杀,90,'杀'),COLORRED;
- 空:=EMA(C,5);
- 均衡:=EMA(空,5);
- 中轨:=HHV(MA(H,13),13);
- VAR5:=FILTER(均衡>REF(均衡,1)AND 中轨<REF(中轨,1)AND C>REF(C,1),11);
- 加仓:=VAR5;
- STICKLINE(加仓,130,0,0.1,0.1),COLORFF00FF ;
- DRAWTEXT(加仓,80,'加'),COLORYELLOW;
- 上:=(SMA(HIGH,21,2) * 1.05);
- 下轨:=(SMA(LOW,21,2) * 0.969);AA10:=MA(CLOSE,8);
- 追击:=FILTER(((((((CLOSE / OPEN) > 1.04) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (CLOSE > 下轨)) AND ((AA10 - REF(AA10,1)) > 0)) AND (CLOSE < 上)),3)*10;
- STICKLINE(追击,130,0,0.1,0.1),COLORFF00FF;
- DRAWTEXT(追击,70,'追'),COLORRED;
- DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
- DEA1:=EMA(DIFF1,9);
- JCCOUNT:=COUNT(CROSS(DIFF1,DEA1),BARSLAST(DEA1>=0));
- 二金:=CROSS(DIFF1,DEA1) AND DEA1<0 AND COUNT(JCCOUNT=2,21);
- STICKLINE(二金,130,0,0.1,0.1),COLORFF00FF;
- DRAWTEXT(二金,60,'金'),COLORYELLOW;
- VAR2P:=REF(LOW,1);
- VAR3P:=SMA(ABS(LOW-VAR2P),3,1)/SMA(MAX(LOW-VAR2P,0),3,1)*100;
- VAR4P:=EMA(IF(CLOSE*1.2,VAR3P*10,VAR3P/10),3);
- VAR5P:=LLV(LOW,38);
- VAR6P:=HHV(VAR4P,38);
- VAR7P:=IF(LLV(LOW,90),1,0);
- VAR8P:=EMA(IF(LOW<=VAR5P,(VAR4P+VAR6P*2)/2,0),3)/618*VAR7P;
- 趋势P:=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);
- 底部P:= 10;
- 出手:=CROSS(趋势P,底部P);
- STICKLINE(出手,130,0,0.1,0.1),COLORFF00FF;
- DRAWTEXT(出手,50,'手'),COLORRED;
- VAR1Z1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45));
- VAR2Z1:=SMA(VAR1Z1,3,1);
- VAR3Z1:=SMA(VAR2Z1,3,1);
- VAR4Z1:=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(VAR4Z1,10) AND VAR3Z1<12;
- STICKLINE(抄底,130,0,0.1,0.1),COLORFF00FF ;
- DRAWTEXT(抄底,40,'抄'),COLORYELLOW;
- Y1:=EMA(EMA(C,5),5);Y2:=HHV(MA(H,13),13);
- VAR51:=FILTER(Y1>REF(Y1,1)AND Y2<REF(Y2,1)AND C>REF(C,1),11);
- 追涨:=VAR51;
- STICKLINE(追涨,130,0,0.1,0.1),COLORFF00FF;
- DRAWTEXT(追涨,30,'涨'),COLORRED;
- 赢家:=3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1);下注:=CROSS(赢家,MA(赢家,15)) AND 赢家<35;
- STICKLINE(下注,130,0,0.1,0.1),COLORFF00FF;
- DRAWTEXT(下注,20,'注'),COLORYELLOW;
- 多方趋势:=(7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1));
- 空方趋势:= EMA(MA(多方趋势,5),7);
- 金矿:=CROSS(多方趋势,空方趋势) AND 空方趋势<35;
- STICKLINE(金矿,130,0,0.1,0.1),COLORFF00FF;
- DRAWTEXT(金矿,10,'矿'),COLORRED;
原作者说明:组合了13个公式,大家觉得太乱,我用色柱重编了一下。
我在100多个颜色中精选了13个,你要还不满意可以更换颜色。
一个字的逃出自彩虹桥,减 收 顶 出自135均线。
加仓出自号称6000点以后未亏的祝福宝宝,追涨出自号称500万落英缤纷,
追击出自金牛图,金矿出自挖金矿,下注出自大富翁,实际是渔家下网的改进版,
绝杀号称真是一块金砖,出手出自常式出手剑,二金是低位二次金叉,
抄底是个人提炼。不是简单罗列,各有妙处要靠体会,绝无未来,所以不能100%,
用时看大势和个人理解可能受益匪浅。选股去掉每个最后一行,去掉颜 色。
请大家顶贴,还有精品日后奉上!
下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
|