公式指标平台 股票指标公式源码分享 登录 注册
公式指标平台
未来函数检测
首 页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 操盘手公式 东财通公式 飞狐公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式指标平台 > 同花顺公式 > 正文 → 正文

同花顺优化版MACD指标公式

发布时间:2015/9/2 7:27:36  浏览次数:

红色做多;蓝色大资金进场,跟进小牛线,增加主升浪提示。

想抄底?请使用《买入就赢》;想做中短线,请使用《机会来临》;怕错失大牛股?请使用《发现大牛》;想玩短线,请使用《超级短线》,总有一款适合你,以上为选股公式,请到选股平台查找。

 


VAB1:=CROSS(SMA(CLOSE,2,1),SMA(LOW,5,1));

VAB2:=(SMA(HIGH,21,2)*1.05)*1.05;

VAB3:=IF(VAB1,VAB2,SMA(LOW,5,1));

VAB4:=CROSS(SMA(CLOSE,2,1),(SMA(HIGH,21,2)*1.05));

VAB5:=IF(VAB4,(SMA(HIGH,21,2)*1.05)*1.10,(SMA(LOW,21,2)*0.95));

VAB6:=VAB3>SMA(LOW,5,1) AND CROSS(C,REF(MA(C,13),13/2+1)) AND VOL>0;

VAB7:=REF(H/O<1.02,1) AND REF(C<O,1);

VAB8:=VAB5>(SMA(LOW,21,2)*0.95) OR VAB6 AND VAB7 AND C>MA(C,55);

STICKLINE(VAB8,-13,63,8,0),colorbrown;

VAR1:=(C-MA(C,6))/MA(C,6)*100;

VAR2:=(C-MA(C,24))/MA(C,24)*100;

VAR3:=(C-MA(C,32))/MA(C,32)*100;

VAR4:=(VAR1+VAR2+VAR3)/3;

VAR5:=EMA(VAR4,5);

VAR6:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;

VAR7:=SMA(SMA(100-3*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1)+SMA(2*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);

VAR8:=VAR7<REF(VAR7,1) AND V>REF(V,1) AND C>REF(C,1);

K:=EMA(VAR5,5)*4,NODRAW;

D:EMA(K,5),NODRAW,COLOR38B0DE;

J:K*3-D*2,NODRAW,COLORCC66FF;

MACD:EMA(EMA(VAR1,5),5)*6,NODRAW,colorwhite;

DRAWBAND(K,RGB(230,58,58),D,RGB(256,150,60));

STICKLINE(MACD>0,0,MACD,1,0),LINETHICK4,colorred;

STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,1,0),LINETHICK4,COLORFFFF00;

STICKLINE(MACD<0,0,MACD,1,0),LINETHICK4,COLORFF9900;

STICKLINE(MACD<0 AND MACD>REF(MACD,1),0,MACD,1,0),LINETHICK4,COLORFF00FF;

红色做多:LLV(VAR6,3)<VAR6,NODRAW,colorred;

STICKLINE(LLV(VAR6,3)<VAR6,0,-15,1.8,0),LINETHICK4,colorred;

中短线:IF(J>D,-53,DRAWNULL),LINETHICK2,colorligreen;

超短线:IF(VAR8>0 AND J<D,-20,DRAWNULL),CIRCLEDOT,coloryellow;

涨停:=REF(C,1)/REF(C,2)>1.095 AND REF(C,2)/REF(C,3)>1.095 AND REF(C,3)/REF(C,4)>1.095;

涨停天数:=BARSLAST(涨停)<6;

VAR9:=EMA(CLOSE,2)-EMA(CLOSE,150);

VAR10:=EMA(VAR9,100);

VAR11:=2*(VAR9-VAR10);

VAR12:=POW(VAR11,3)*0.1+POW(VAR11,1);

VAR13:=IF( VAR11>0.1,VAR12,0)*5;

VAR14:=MA(VAR13,35);

一字涨停:=C/REF(C,1)>1.0975 AND H=O;

AA2:=VAR13>REF(VAR13,1) AND REF(VAR13,1)<REF(VAR13,2) AND

REF(C<O,1) AND O/REF(O,1)>=0.993  AND  REF(C,1)/REF(C,2)<=0.97;

猎庄二号:VAR13>VAR14  AND AA2  AND CONST(OPEN)  AND NOT(一字涨停),NODRAW,colorliblue;

STICKLINE(猎庄二号,-50,-35,8,0),coloryellow;

STICKLINE(猎庄二号,-50,-35,5,0),colorred;

STICKLINE(猎庄二号,-60,-35,2,0),colormagenta;

DRAWTEXT(猎庄二号,45,'猎庄二号'),coloryellow;

VAR15:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR16:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);

VAR17:=VAR15<REF(VAR16,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);

VAR18:=VAR17 AND COUNT(VAR17,30)=1;

STICKLINE(VAR18,3,43,5,0),colorblue;

DRAWTEXT(VAR18,60,'大资金入场'),colorgreen;

VAR19:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);

VAR20:=SMA(VAR19,3,1);

VAR21:=SMA(VAR20,3,1);

VAR22:=COUNT(C<=O,3)>2 AND REF(C,1)<REF(C,2);

VAR24:=(2*CLOSE+HIGH+LOW+OPEN)/5;

VAR25:=EMA(EMA(EMA(VAR24,4),4),4);

VAR26:=(VAR25-REF(VAR25,1))/REF(VAR25,1)*100;

VAR27:=MA(VAR26,2);

VAR28:=MA(VAR26,1);

VAR29:=(CROSS(VAR28,VAR27) AND VAR28<0);

VAR30:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;

VAR31:=(EMA(VAR30,3)+EMA(VAR30,6)+EMA(VAR30,12)+EMA(VAR30,24))/4;

A1:=EMA(VAR31,2);

A2:=EMA(A1,2);

A3:=EMA(A2,2);

A4:=EMA(A3,2);

A5:=EMA(A4,2);

VAR32:=CROSS(A1,A5);

VAR33:=(CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;

K3:=SMA(VAR33,4,1);

D3:=SMA(K3,4,1);

RSS:=4*K3-3*D3;

VR32:=(C/REF(C,1));

LLL:=VOL/REF(MA(VOL,5),1);

LLL1:=VOL/REF(MA(VOL,5),1);

ZF1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;

VAR34:=REF(((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04),1) AND C>=(MA(C,3));

VAR35:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;

VAR36:=SMA(VAR35,2,1);

VAR37:=VAR36>REF(VAR36,1) AND REF(VAR36,1)<REF(VAR36,2) AND VAR36<23 AND  C>=MA(C,3) ;

VGG10:=MA(CLOSE,34);

VGG11:=MA(VGG10*0.82,5);

VGG12:=CLOSE<VGG11;

VGG13:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100)<-0.4;

XX1:=VGG13 AND VGG12;

VGG14:=(CLOSE-REF(CLOSE,24))/REF(CLOSE,24)*100;

VGG15:=CROSS(VGG14,MA(VGG14,12)) AND OPEN<CLOSE AND OPEN/REF(CLOSE,1)<=0.97 AND CLOSE/OPEN>=1.05 AND VGG14<-25;

AA4:=((C-LLV(L,20))/(HHV(H,20)-LLV(L,20)))*100;

K20:=SMA(AA4,6,1);

VAR88:=IF(LLV(K20,5)<10 AND (C=LLV(C,10) OR L=LLV(L,10)) AND C>REF(C,1)*0.618,40,0);

SS4:=COUNT(VAR88=40,2)>=1 AND (RSS-REF(RSS,1))>=0 AND CLOSE>=OPEN;

小牛线:BETWEEN(VAR21,76,98) AND ROUND(VAR21)-ROUND(REF(VAR21,1))>=0,NODRAW,colorcyan;

STICKLINE(小牛线,-30,-36,10,0),colormagenta;

发现大牛:NOT(VAR22) AND COUNT(ZF1>2,5)>=1 AND (LLL>0.5 OR ZF1>=8) AND C>=MA(C,8) AND COUNT(CLOSE>=OPEN,8)>=4

AND ROUND(VAR21)>=88 AND ROUND(REF(VAR21,1))>=88 AND  REF(VAR21,2)>=86,NODRAW,colormagenta;

STICKLINE(发现大牛,-30,-33,10,0),colormagenta;

STICKLINE(发现大牛,-33,-36,10,0),colormagenta;

超级短线:VAR29 AND VAR32 AND (RSS-REF(RSS,1))>0 AND C>MA(C,8) AND BETWEEN(VR32,1.02,1.04)  AND BETWEEN(LLL,0.9,1.26),NODRAW,colorlimagenta;

STICKLINE(超级短线,25,55,8,0),colorlimagenta;

机会来临:VAR37 OR VAR34,NODRAW,coloryellow;

STICKLINE(机会来临,-35,-60,5,0),coloryellow;

SSS:=REF(NOT(((CLOSE-H)/H)<-0.03),1);

SS3:=XX1 AND LLL<1.6 AND RSS-REF(RSS,1)>0 AND NOT(((CLOSE-H)/H)<-0.026);

买入就赢:SS4 OR VGG15 OR (XX1 AND LLL<1.6 AND (LLL1>=0.9 OR (C>MA(C,8) AND LLL1>=0.6) OR (C>MA(C,8) AND CLOSE=OPEN) OR (REF(LLL,1)>2 AND CLOSE>=OPEN))

AND NOT(((CLOSE-H)/H)<-0.026) AND RSS-REF(RSS,1)>0 AND COUNT(SS3,3)<=2),NODRAW,colorcyan;

STICKLINE(买入就赢,33,53,6,0),colorcyan;

日涨:(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100,NODRAW,colorwhite;

DRAWTEXT(VAB8,K+55,'主升浪'),colormagenta;

 

同花顺优化版MACD指标公式

资源下载链接   资源大小:unknow
精品资源推荐

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZB.COM ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识