MA2:=(REF(C,2)+REF(C,1)+C)/3,NODRAW; PARTLINE(ma2,ma2<REF(ma2,1),RGB(255,255,0),ma2>=REF(ma2,1),RGB(255,0,0),1,RGB(255,255,0));
STICKLINE(ma2>=REF(ma2,1) ,C,O,9,1) ,colorred;
STICKLINE(ma2>=REF(ma2,1) ,H,MAX(C,O),1,1) ,colorred;
STICKLINE(ma2>=REF(ma2,1) ,L,MIN(C,O),1,1) ,colorred;
STICKLINE(ma2<REF(ma2,1) ,C,O,9,1) ,colorwhite;
STICKLINE(ma2<REF(ma2,1) ,H,MAX(C,O),1,1) ,colorwhite;
STICKLINE(ma2<REF(ma2,1) ,L,MIN(C,O),1,1) ,colorwhite;
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
买1:=VAR10;//www.fxjgsw.com
买2:=(VAR11+VAR13+VAR15+VAR17);
卖1:=(VAR12+VAR14+VAR16+VAR18);
B:IF(买1>0 OR 买2>0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,coloryellow;
DRAWTEXT(买1>0 OR 买2>0,LOW*0.99,'买'),colorred;
S:IF(卖1>0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,colorgreen;
DRAWTEXT(卖1>0,HIGH*1.02,'卖'),colorgreen;
DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,LOW*0.95,'机构进场'),LINETHICK1,COLORFF00FF;
E:ZIG(3,5);
PARTLINE(E,E>REF(E,1),RGB(255,85,5),E),colorblue,LINETHICK2;
G:=ZIG(1,3);//www.fxjgsw.com
PARTLINE(G,G>REF(G,1),RGB(255,85,5),G),colorblue,LINETHICK2;
买点1:=(Var11+Var13+Var15+Var17);买点2:=(Var13+Var15+Var17);卖点1:=(Var12+Var14+Var16+Var18);
卖点2:=(Var14+Var16+Var18);
STICKLINE( 买点1>0 ,H,L, 10,1),colormagenta,linethick1;STICKLINE( 买点1>0,O,C,6,0),colormagenta,linethick1;
STICKLINE( 买点2>0 ,H,L, 10,1),colormagenta,linethick1;STICKLINE( 买点2>0,O,C,6,0),colormagenta,linethick1;
STICKLINE( 卖点1>0,H,L, 11,5),coloryellow,linethick1;STICKLINE( 卖点1>0,O,C,6,0),coloryellow,linethick1;
STICKLINE( 卖点2>0,H,L, 11,5),coloryellow,linethick1;STICKLINE( 卖点2>0,O,C,6,0),coloryellow,linethick1;
DRAWTEXT(卖点2>0, H,'顶'),coloryellow,linethick3;
DRAWTEXT(买点2>0, L,'底'),colormagenta,linethick3;
红轨道:=MA(MA(CLOSE,3),1),LINETHICK1,coloryellow;
绿轨道:=MA(MA(CLOSE,3),3);
上升:IF(红轨道>=绿轨道,绿轨道,DRAWNULL),coloryellow,LINETHICK5;
红轨道:=MA(MA(CLOSE,3),1),LINETHICK1,coloryellow;
绿轨道:=MA(MA(CLOSE,3),3);
下升:IF(绿轨道>=红轨道,红轨道,DRAWNULL),colorblue,LINETHICK5;
买线:=ZIG(1,3);
卖线:=MA(买线,3);
STICKLINE(买线<卖线,H,L,0,0),colorgreen;
STICKLINE(买线<卖线,C,O,10,0),Color007700;
STICKLINE(买线<卖线,C,O,9,0),Color008E00;
STICKLINE(买线<卖线,C,O,8,0),Color009900;
STICKLINE(买线<卖线,C,O,7,0),Color00A600;
STICKLINE(买线<卖线,C,O,6,0),Color00B500;
STICKLINE(买线<卖线,C,O,5,0),Color00C600;
STICKLINE(买线<卖线,C,O,4,0),Color00D500;
STICKLINE(买线<卖线,C,O,3,0),Color00E600;
STICKLINE(买线>=卖线,H,L,1,0),Color0000FF;
STICKLINE(买线>=卖线,C,O,10,0),Color0000A3;
STICKLINE(买线>=卖线,C,O,9,0),Color0000B7;
STICKLINE(买线>=卖线,C,O,7,0),Color0000C8;
STICKLINE(买线>=卖线,C,O,6,0),Color0000D9;
STICKLINE(买线>=卖线,C,O,5,0),Color0000CD;
STICKLINE(买线>=卖线,C,O,4,0),Color0000E9;
STICKLINE(买线>=卖线,C,O,3,0),Color0000EA;
STICKLINE(买线>=卖线,C,O,2,0),Color0000FF;
VAR1:=ZIG(3,2.88)<REF(ZIG(3,2.88),1) AND REF(ZIG(3,2.88),1)>REF(ZIG(3,2.88),2);
VAR2:=ZIG(3,2.88)>REF(ZIG(3,2.88),1) AND REF(ZIG(3,2.88),1)<REF(ZIG(3,2.88),2);
STICKLINE(VAR1,C,O,8,0),COLOR00FF00;
STICKLINE(VAR1,C,O,5,0),COLOR00FF00;
STICKLINE(VAR1,H,L,2,0),COLOR00FF00;
DRAWTEXT(VAR1,H*1.007,' 上阻力'),COLOR80FFFF;
STICKLINE(VAR2,C,O,7,0),COLOR0000FF;
STICKLINE(VAR2,C,O,5,0),COLOR0000FF;
STICKLINE(VAR2,H,L,2,0),COLOR0000FF;
DRAWTEXT(VAR2,L*0.993,' 下阻力'),COLOR43D0FA;
VAR3:=ZIG(3,4.88)<REF(ZIG(3,4.88),1) AND REF(ZIG(3,4.88),1)>REF(ZIG(3,4.88),2);
VAR4:=ZIG(3,4.88)>REF(ZIG(3,4.88),1) AND REF(ZIG(3,4.88),1)<REF(ZIG(3,4.88),2);
STICKLINE(VAR3,C,O,8,0),COLOR00FF00;
STICKLINE(VAR3,C,O,5,0),COLOR00FF00;
STICKLINE(VAR3,H,L,2,0),COLOR00FF00;
VAR9:=ZIG(3,8.88)<REF(ZIG(3,8.88),1) AND REF(ZIG(3,8.88),1)>REF(ZIG(3,8.88),2);
VAR10:=ZIG(3,8.88)>REF(ZIG(3,8.88),1) AND REF(ZIG(3,8.88),1)<REF(ZIG(3,8.88),2);
DRAWTEXT(VAR9,H*1.007,'强上阻力■'),COLOR00FF00;
DRAWTEXT(VAR10,L*0.993,'强下阻力■■'),COLOR00FFFF;
VAR13:=ZIG(3,15.88)<REF(ZIG(3,15.88),1) AND REF(ZIG(3,15.88),1)>REF(ZIG(3,15.88),2);
VAR14:=ZIG(3,15.88)>REF(ZIG(3,15.88),1) AND REF(ZIG(3,15.88),1)<REF(ZIG(3,15.88),2);
DRAWTEXT(VAR13,H*1.02,'★★★大逆转 趋势'),COLOR00FF00;
DRAWTEXT(VAR14,L*0.975,'★★★大逆转 趋势'),COLOR00FFFF;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!