新波段趋势 彩带由绿变红买入股票,彩带由红变绿卖出股票。
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0,0,BLOCK(0,0)+BLOCK(1,0)+BLOCK(2,0)+BLOCK(3,0)),colorcyan;
X_1:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_2:=EMA(X_1,13);
X_3:=EMA(X_2,3);
X_4:=EMA(X_3,3);
X_5:=EMA(X_4,3);
X_6:=EMA(X_5,3);
X_7:=EMA(X_6,3);
//DRAWBAND(X_2,RGB(150,50,20),X_7,RGB(36,150,40));
DRAWBAND(X_2,RGB(150,50,20),X_7,RGB(0,187,187));
NOTEXTMB101:=IF(X_2>X_3,X_2,DRAWNULL),DOTLINE,colormagenta;
NOTEXTMB102:=IF(X_2<X_3,X_2,DRAWNULL),DOTLINE,colorgreen;
NOTEXTMB201:=IF(X_3>X_4,X_3,DRAWNULL),DOTLINE,colormagenta;
NOTEXTMB202:=IF(X_3<X_4,X_3,DRAWNULL),DOTLINE,colorgreen;
NOTEXTMB301:=IF(X_4>X_5,X_4,DRAWNULL),DOTLINE,colormagenta;
NOTEXTMB302:=IF(X_4<X_5,X_4,DRAWNULL),DOTLINE,colorgreen;
NOTEXTMB401:=IF(X_5>X_6,X_5,DRAWNULL),DOTLINE,colormagenta;
NOTEXTMB402:=IF(X_5<X_6,X_5,DRAWNULL),DOTLINE,colorgreen;
NOTEXTMB501:=IF(X_6>X_7,X_6,DRAWNULL),DOTLINE,colormagenta;
NOTEXTMB502:=IF(X_6<X_7,X_6,DRAWNULL),DOTLINE,colorgreen;
NOTEXTMB601:=IF(X_7>REF(X_7,1),X_7,DRAWNULL),DOTLINE,colormagenta;
NOTEXTMB602:=IF(X_7<REF(X_7,1),X_7,DRAWNULL),DOTLINE,colorgreen;
X_8:=(20*X_1+19*REF(X_1,1)+18*REF(X_1,2)+17*REF(X_1,3)+16*REF(X_1,4)+15*REF(X_1,5)+14*REF(X_1,6)+13*REF(X_1,7)+12*REF(X_1,8)+11*REF(X_1,9)+10*REF(X_1,10)+9*REF(X_1,11)+8*REF(X_1,12)+7*REF(X_1,13)+6*REF(X_1,14)+5*REF(X_1,15)+4*REF(X_1,16)+3*REF(X_1,17)+2*REF(X_1,18)+REF(X_1,20))/210;
X_9:=MA(X_8,20);
X_10:=MA(X_9,2);
DRAWBAND(X_9,RGB(250,0,0),X_10,RGB(250,250,0));
NOTEXTDTTJ:=CONST(CLOSE),DOTLINE,colorgray;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
STICKLINE(CLOSE>OPEN,HIGH,LOW,0,0),COLOR7D7DFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0),COLOR7D7DFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.1,0),COLOR1313FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.4,0),COLOR2424FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0),COLOR2D2DFF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.6,0),COLOR4444FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.2,0),COLOR5757FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.6,0),COLOR6666FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.1,0),COLOR7D7DFF;
STICKLINE(CLOSE<OPEN,HIGH,LOW,0,0),COLORAA9900;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,0,0),COLORAA5500;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,3.1,0),COLORAA6600;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,2.4,0),COLORAA7700;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,2,0),COLORAA8800;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,1.6,0),COLORAA9900;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,1.2,0),COLORAAAA00;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,0.6,0),COLORAACC00;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,0.1,0),COLORAADD00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,9,0 ),COLOR009900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLOR00cc00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.4,0 ),COLOR33ff00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1.1,0 ),COLOR66ff00;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,9,0 ),COLOr000099;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6 ,0 ),COLOR0000cc;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.4 ,0 ),COLOR0000ff;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.1 ,0 ),COLOR0033ff;
STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOr000099;
STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOr000099;
STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),COLOR009900;
STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),COLOR009900;
//指标王:=COUNT(CROSS((HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5),EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5)),7)>0 AND REF((HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5),2)<REF((HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5),1)
//AND (HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5)<REF((HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5),1) AND COUNT(COUNT(CROSS((HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5),EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5)),7)>0 AND
//REF((HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5),2)<REF((HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5),1) AND (HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5)<REF((HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5),1),5)=1 OR
//CROSS(EMA((((CLOSE - LLV(LOW,10)) / (HHV(HIGH,25) - LLV(LOW,10))) * 4),4),0.3);
//DRAWTEXT(指标王,L*0.96,'B'),coloryellow;
ZT:=C/REF(C,1)>1.097;
BH:=BARSLAST(ZT-1000);
STICKLINE(ZT,REF(O,BH),REF(C,BH),9,0),coloryellow;
//{跌停K线用蓝色}
C3:=REF(C,1);
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,9,0),colorblue;
MA60新高:HHV(C,60),colorcyan,LINETHICK1,DOTLINE;
MA20新低:LLV(C,20),colorwhite,LINETHICK1,DOTLINE;
MA5:MA(CLOSE,5),colorwhite,LINETHICK1;
MA20:MA(CLOSE,20),colormagenta,LINETHICK1;
MA60:MA(CLOSE,60),colorgreen,LINETHICK1;
|
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!