买卖MACD,是自用指标,提示比较清晰,
买点出现可以等金叉再买,卖点出现不要犹豫。
请配合其他指标一起使用,效果更好
{主力清洗}
VAR1:=REF((LOW + OPEN + CLOSE + HIGH) / 4, 1);
VAR2:=SMA (ABS (LOW - VAR1), 13,1) / SMA (MAX(LOW-VAR1, 0),10,1);
VAR3:= EMA (VAR2, 10);
VAR4:= LLV (LOW, 33);
VAR5:= EMA(IF(LOW <= VAR4, VAR3, 0), 3);
Z:0, COLORWHITE;
主力进场:IF (VAR5>REF (VAR5,1),VAR5,0),COLORRED, NODRAW;
洗盘:IF (VAR5 < REF (VAR5,1), VAR5, 0), COLORGREEN, NODRAW;
STICKLINE (VAR5 < REF (VAR5,1), 0, VAR5, 3, 0), COLORGREEN;
STICKLINE (VAR5 > REF (VAR5,1), 0, VAR5, 3, 0), COLOR000055;
STICKLINE (VAR5 > REF (VAR5, 1), 0, VAR5, 2.6, 0),COLOR000077;
STICKLINE (VAR5 > REF (VAR5, 1), 0,VAR5, 2.1, 0), COLOR000099;
STICKLINE (VAR5 > REF (VAR5,1),0,VAR5,1.5, 0), COLOR0000BB;
STICKLINE (VAR5 > REF (VAR5,1),0, VAR5,0.9, 0), COLOR0000DD;
STICKLINE (VAR5 > REF (VAR5,1),0, VAR5,0.3, 0), COLOR0000FF;
STICKLINE (VAR5 < REF (VAR5, 1),0,VAR5,3,0), COLOR005500;
STICKLINE (VAR5 < REF (VAR5,1),0, VAR5,2.6,0), COLOR007700;
STICKLINE (VAR5 < REF (VAR5, 1),0,VAR5,2.1, 0), COLOR009900;
STICKLINE (VAR5 < REF (VAR5,1),0 ,VAR5,1.5, 0), COLOR00BB00;
STICKLINE (VAR5 < REF (VAR5,1),0 ,VAR5,0.9, 0), COLOR00DD00;
STICKLINE (VAR5 < REF (VAR5,1),0, VAR5,0.3, 0), COLOR00FF00;
VAR21:=SMA (ABS (HIGH - VAR1), 13, 1) / SMA (MIN (HIGH-VAR1, 0),10,1);
{分析家公式网WWW.fxjgsw.com}
VAR31:=EMA (VAR21, 10);
VAR41:=HHV (HIGH, 33);
VAR51:= EMA(IF(HIGH >= VAR41, VAR31, 0), 3);
主力拉高:IF(VAR51<REF (VAR51,1),VAR51,0),COLORYELLOW,NODRAW;
STICKLINE (VAR51 < REF (VAR51, 1), 0, VAR51, 3,0), COLORYELLOW;
出货: IF (VAR51 >REF (VAR51,1), VAR51, 0), COLORCYAN, NODRAW;
STICKLINE (VAR51 > REF (VAR51, 1), 0, VAR51,3,0), COLORCYAN;
{买卖MACD}
VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR6:=(VAR3+VAR4+VAR5)/3;
VAR7:=EMA(VAR6,5);
指标: EMA(EMA(VAR3,5),5)*3, COLORSTICK;
VAR8:=IF(VAR6<=-20,10,0);
VAR9:=HHV(VAR8,10);
STICKLINE(VAR8=10,20,10,5,0),COLOR6666FF;
VARA:=IF(VAR9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
K:EMA(VAR7,5)*2, , COLORFF00FF;
D:EMA(K,5), , COLORWHITE;
J:K*3-D*2, ,COLORYELLOW;
VARB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10;
换手:= VOL/CAPITAL*100, , COLORYELLOW;
成交〖万手〗:=VOL/10000, ,COLORWHITE;
DRAWTEXT(VAR8=10 AND FILTER(VAR8=10,5),-10{15},'近底部'),LINETHICK1,COLORYELLOW;
STICKLINE(VAR8=10 AND FILTER(VAR8=10,5),-1.6{20},-10,5,0),COLORYELLOW;
DRAWTEXT(VARA=20,15,'底部'),LINETHICK1,COLORWHITE;
STICKLINE((VARA=20),0,10,5,0),COLORWHITE;
VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG (3,5),2)<=REF(ZIG(3,5),3));
VARD:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG (3,5),2)>=REF(ZIG(3,5),3));
STICKLINE((VARC=1),(-14),0,4,0),COLOR0000FF;
DRAWTEXT((VARC=1),(-14),'买'),COLOR0000FF;
STICKLINE((VARD=1),14,0,4,0),COLOR00FF00;
DRAWTEXT((VARD=1),18,'卖'),COLOR00FF00;
VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VARF:=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);
VAR10:=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);
VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,15,'大资金活动'),LINETHICK1,COLORFF00FF;
{STICKLINE(VAR11 AND COUNT(VAR11,30)=1,1,10,5,0),COLORFF00FF;}
VAR12:=(HIGH+LOW+CLOSE)/3;
VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));
VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));
VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0);
VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15);
VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VAR18:=100-ABS(VAR17);
VAR19:=IF(VAR18<90,VAR18,100);
VAR1A:=IF(VARE>0,VARE,0);
VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60;
VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100;
DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,15,'大笔出货'),LINETHICK1,COLORFFCC66;
STICKLINE(VAR1C AND COUNT(VAR1C,30)=1,0,10,5,0),COLORFFCC66;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!