把西电买卖牛K图用于大智慧.它的波段是 DRAWGBKlast(c>0,strip(RGB(0,0,255),RGB(0,0,0),0)); {K线} STICKLINE(CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1),LOW,HIGH,0.1,0),colorred; STICKLINE(CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1),OPEN,CLOSE,0,0),colorred; STICKLINE(CLOSE<OPEN or CLOSE=OPEN and CLOSE<=REF(CLOSE,1),LOW,HIGH,0.1,0),colorcyan; STICKLINE(CLOSE<OPEN or CLOSE=OPEN and CLOSE<=REF(CLOSE,1),OPEN,CLOSE,0,0),colorcyan; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),COLOR008800; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLOR009900; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLOR00AA00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLOR00BB00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLOR00CC00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00DD00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00EE00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00FF00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF00; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,COLOR000066; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000088; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR0000AA; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR0000BB; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR0000CC; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000DD; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000EE; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0) ,COLOR0000FF; TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3); STICKLINE(CROSS(MA(C,2),MA(C,7)),H,C,0.05,0),COLOR0000FF,LAYER0; STICKLINE(CROSS(MA(C,2),MA(C,7)),C,O,6,0),COLORFF0099,LAYER0 ; STICKLINE(CROSS(MA(C,2),MA(C,7)),O,L,0.05,0), COLOR0099FF,LAYER0; XG1:=CROSS(MA(C,7),MA(C,2)); STICKLINE(XG1,H,L,5,0),LINETHICK1,COLORWHITE,LAYER0; STICKLINE(XG1,H,L,0.2,0),COLORGREEN,LAYER0; STICKLINE(XG1,O,C,6,0),LINETHICK1,COLORGREEN,LAYER0; STICKLINE((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,6,0),COLORFF00FF,LAYER0; STICKLINE((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,6,0),COLORWHITE,LAYER0; STICKLINE(REF(COUNT(C<TYX3,5)=5,1) AND C>TYX3 AND C>O,C,O,6,0),COLOR00CCFF,LAYER0; FILLRGN(MA(C,2),MA(C,7),MA(C,2)>MA(C,7),RGB(80,0,80),MA(C,2)<MA(C,7),RGB(0,80,0)),LAYER7; P:=8; KE:=V*(H-L)/REF(C,1); KEP:=KE=HHV(KE,P); KUD:=BARSLAST(KEP); 红评台收:IF(IF(KUD=0,C>REF(C,1),REF(C,KUD)>REF(REF(C,1),KUD)),IF(KUD=0,C,REF(C,KUD)),0),POINTDOT,COLORYELLOW,LINETHICK0; 红评台低:IF(IF(KUD=0,C>REF(C,1),REF(C,KUD)>REF(REF(C,1),KUD)),IF(KUD=0,L,REF(L,KUD)),0),POINTDOT,COLORWHITE,LINETHICK0; 回调警戒:IF(IF(KUD=0,C>REF(C,1),REF(C,KUD)>REF(REF(C,1),KUD)),IF(KUD=0,C-(C-REF(C,1))*0.618,REF(C-(C-REF(C,1))*0.618,KUD)),0),POINTDOT,COLORBLUE,LINETHICK0; 绿评台收:IF(IF(KUD=0,C<REF(C,1),REF(C,KUD)<REF(REF(C,1),KUD)),IF(KUD=0,C,REF(C,KUD)),0),POINTDOT,COLORGREEN,LINETHICK0; 企稳警戒:IF(IF(KUD=0,C<REF(C,1),REF(C,KUD)<REF(REF(C,1),KUD)),IF(KUD=0,C+(REF(C,1)-C)*0.618,REF(C+(REF(C,1)-C)*0.618,KUD)),0),POINTDOT,COLOR0000ff,LINETHICK0; STICKLINE(IF(KUD=0,C>REF(C,1),REF(C,KUD)>REF(REF(C,1),KUD)),红评台收,红评台收,7,1),COLORYELLOW,LAYER0; STICKLINE(IF(KUD=0,C>REF(C,1),REF(C,KUD)>REF(REF(C,1),KUD)),红评台低,红评台低,7,1),COLORWHITE,LAYER0; STICKLINE(IF(KUD=0,C>REF(C,1),REF(C,KUD)>REF(REF(C,1),KUD)),回调警戒,回调警戒,7,1),COLORBLUE,LAYER0; STICKLINE(IF(KUD=0,C<REF(C,1),REF(C,KUD)<REF(REF(C,1),KUD)),绿评台收,绿评台收,7,1),COLORGREEN,LAYER0; STICKLINE(IF(KUD=0,C<REF(C,1),REF(C,KUD)<REF(REF(C,1),KUD)),企稳警戒,企稳警戒,7,1),COLOR00ff00,LAYER0; VAR17:=OPEN; VAR18:=HIGH; VAR19:=LOW; VAR20:=CLOSE; KK:=IF(VAR20>=VAR17 AND (VAR20>=REF(VAR20,1) OR REF(VAR20,1)>=REF(VAR17,1)),1,IF(VAR20<VAR17 AND (VAR20<REF(VAR17,1) OR REF(VAR20,1)<REF(VAR17,1)),-1,0)); 明日转折:FLOOR((VAR17+VAR20)/2),COLORYELLOW,LAYER0; 西楚霸王:=EMA((351*(EMA(CLOSE,24)-EMA(CLOSE,52))-297*EMA(CLOSE,24)+325*EMA(CLOSE,52))/28,2); A1:=BARSLAST(CROSS(VAR20,西楚霸王) AND 西楚霸王>=REF(西楚霸王,1) OR VAR20>西楚霸王 AND 西楚霸王>=REF(西楚霸王,1) AND REF(西楚霸王,1)<REF(西楚霸王,2)); A2:=BARSLAST(CROSS(西楚霸王,VAR20) AND 西楚霸王<REF(西楚霸王,1) OR VAR20<西楚霸王 AND 西楚霸王<REF(西楚霸王,1) AND REF(西楚霸王,1)>=REF(西楚霸王,2)); DRAWTEXT(CROSS(A2,A1),VAR19*0.99,'▲'),COLOR00FFFF; DRAWTEXT(CROSS(A2,A1),VAR19*0.99,'▲'),COLOR00FFFF; DRAWTEXT(CROSS(A1,A2),VAR18*1.01,'▼'),COLOR00FF00; DRAWTEXT(CROSS(A1,A2),VAR18*1.01,'▼'),COLOR00FF00; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!