股票论坛

标题: 麻烦高手将飘带启明星副图公式编写一选股公式,谢谢!! [打印本页]

作者: 一跃千里    时间: 2015-12-5 16:51
标题: 麻烦高手将飘带启明星副图公式编写一选股公式,谢谢!!
麻烦高手将下面副图公式 编写一选股公式:
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
VOLUME:=VOL,VOLSTICK;
  DD:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
  DD1:=VOL<REF(LLV(VOL,13),1);
  DD2:=VOL<REF(LLV(VOL,55),1);
  DD3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;
A:=STICKLINE(DD1,0,V,1,0),COLORGREEN;
  B:=STICKLINE(DD2,0,V,1,0),COLORMAGENTA;
绿量:=A=1 AND COUNT(OPEN<CLOSE,1);
粉量:=B=1;
A1:=CLOSE*VOL;
A2:=EMA((EXPMA(A1,3)/EXPMA(VOL,3)+EXPMA(A1,6)/EXPMA(VOL,6)+EXPMA(A1,12)/EXPMA(VOL,12)+EXPMA(A1,24)/EXPMA(VOL,24))/4,14);
飞天线:=1.15*A2,COLORRED,LINETHICK2;
强势线:=A2*1.02,COLORYELLOW,LINETHICK2;
支撑线:=MA(CLOSE,8),COLORMAGENTA,LINETHICK2;
AA:=MA((2.03*CLOSE+HIGH+LOW)/4,5);
压力线:=AA*102/100,COLORLIGREEN,LINETHICK2;
XG:=DRAWTEXT(COUNT(CROSS(飞天线,压力线),34) AND CROSS(C,强势线) {AND COUNT(C>REF(C,1)*1.096,55)>1},L*0.98,'启明星!'),COLORYELLOW;
飞天启明星: (XG=1 AND 绿量) OR (XG=1 AND 粉量);
AAA1:=MA(C,1);
AAA:=SMA(SMA(SMA(AAA1,2,1),2,1),2,1);
BBB:=MA(AAA,3);
LJL07:=(3*C+L+O+H)/6;
牛线:=(20*LJL07+19*REF(LJL07,1)+18*REF(LJL07,2)+17*REF(LJL07,3)+16*REF(LJL07,4)+
15*REF(LJL07,5)+14*REF(LJL07,6)+13*REF(LJL07,7)+12*REF(LJL07,8)+11*REF(LJL07,9)+
10*REF(LJL07,10)+9*REF(LJL07,11)+8*REF(LJL07,12)+7*REF(LJL07,13)+6*REF(LJL07,14)+
5*REF(LJL07,15)+4*REF(LJL07,16)+3*REF(LJL07,17)+2*REF(LJL07,18)+REF(LJL07,20))/210,
COLORRED,LINETHICK2;
马线:=MA(牛线,5);
飘带启明星: (COUNT(C>REF(C,1)*1.096,55)>0 AND ((CROSS(C,AAA) AND CROSS(C,BBB) AND CROSS(C,牛线)
AND CROSS(C,马线)) OR (CROSS(C,AAA) AND CROSS(C,BBB) AND 牛线>REF(牛线,1) AND BBB>马线)
OR (CROSS(C,牛线) AND CROSS(C,马线) AND 牛线>REF(牛线,1))) AND 绿量) OR (COUNT(C>REF(C,1)*1.096,55)>0 AND ((CROSS(C,AAA) AND CROSS(C,BBB) AND CROSS(C,牛线)
AND CROSS(C,马线)) OR (CROSS(C,AAA) AND CROSS(C,BBB) AND 牛线>REF(牛线,1) AND BBB>马线)
OR (CROSS(C,牛线) AND CROSS(C,马线) AND 牛线>REF(牛线,1))) AND 粉量),COLORGREEN,LINETHICK2;
作者: 新朝阳    时间: 2015-12-5 16:51

VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
VOLUME:=VOL;
  DD:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
  DD1:=VOL<REF(LLV(VOL,13),1);
  DD2:=VOL<REF(LLV(VOL,55),1);
  DD3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;
A:=STICKLINE(DD1,0,V,1,0),COLORGREEN;
  B:=STICKLINE(DD2,0,V,1,0),COLORMAGENTA;
绿量:=A=1 AND COUNT(OPEN<CLOSE,1);
粉量:=B=1;
A1:=CLOSE*VOL;
A2:=EMA((EXPMA(A1,3)/EXPMA(VOL,3)+EXPMA(A1,6)/EXPMA(VOL,6)+EXPMA(A1,12)/EXPMA(VOL,12)+EXPMA(A1,24)/EXPMA(VOL,24))/4,14);
飞天线:=1.15*A2,COLORRED,LINETHICK2;
强势线:=A2*1.02,COLORYELLOW,LINETHICK2;
支撑线:=MA(CLOSE,8),COLORMAGENTA,LINETHICK2;
AA:=MA((2.03*CLOSE+HIGH+LOW)/4,5);
压力线:=AA*102/100,COLORLIGREEN,LINETHICK2;
XG:=DRAWTEXT(COUNT(CROSS(飞天线,压力线),34) AND CROSS(C,强势线) {AND COUNT(C>REF(C,1)*1.096,55)>1},L*0.98,'启明星!'),COLORYELLOW;
飞天启明星:=(XG=1 AND 绿量) OR (XG=1 AND 粉量);
AAA1:=MA(C,1);
AAA:=SMA(SMA(SMA(AAA1,2,1),2,1),2,1);
BBB:=MA(AAA,3);
LJL07:=(3*C+L+O+H)/6;
牛线:=(20*LJL07+19*REF(LJL07,1)+18*REF(LJL07,2)+17*REF(LJL07,3)+16*REF(LJL07,4)+
15*REF(LJL07,5)+14*REF(LJL07,6)+13*REF(LJL07,7)+12*REF(LJL07,8)+11*REF(LJL07,9)+
10*REF(LJL07,10)+9*REF(LJL07,11)+8*REF(LJL07,12)+7*REF(LJL07,13)+6*REF(LJL07,14)+
5*REF(LJL07,15)+4*REF(LJL07,16)+3*REF(LJL07,17)+2*REF(LJL07,18)+REF(LJL07,20))/210,
COLORRED,LINETHICK2;
马线:=MA(牛线,5);
飘带启明星: (COUNT(C>REF(C,1)*1.096,55)>0 AND ((CROSS(C,AAA) AND CROSS(C,BBB) AND CROSS(C,牛线)
AND CROSS(C,马线)) OR (CROSS(C,AAA) AND CROSS(C,BBB) AND 牛线>REF(牛线,1) AND BBB>马线)
OR (CROSS(C,牛线) AND CROSS(C,马线) AND 牛线>REF(牛线,1))) AND 绿量) OR (COUNT(C>REF(C,1)*1.096,55)>0 AND ((CROSS(C,AAA) AND CROSS(C,BBB) AND CROSS(C,牛线)
AND CROSS(C,马线)) OR (CROSS(C,AAA) AND CROSS(C,BBB) AND 牛线>REF(牛线,1) AND BBB>马线)
OR (CROSS(C,牛线) AND CROSS(C,马线) AND 牛线>REF(牛线,1))) AND 粉量);
作者: 荣荣    时间: 2016-1-3 18:59
:$:$




欢迎光临 股票论坛 (http://100000w.com/) Powered by Discuz! X3.2