通达信【扶摇直上】副图指标 源码 贴图
通达信【扶摇直上】副图指标 源码 贴图
{---------------------源码开始---------------------}
DRAWGBK(CLOSE>0,RGB(0,108,108),RGB(88,0,0),0,5,0);
扶摇直上:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-
2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
买入:CROSS(扶摇直上,5),NODRAW;
潜伏:扶摇直上<=5,COLOR00FF99,NODRAW;
九万里:扶摇直上<=13,COLORCYAN,NODRAW;
STICKLINE(九万里,0,-100,4,-1),COLORCYAN;
STICKLINE(潜伏,-90,-10,1,0),COLOR00FF99;
STICKLINE(买入,-90,100,1,0),COLORFF00FF;
扶摇直上2:=4*SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1)-
3*SMA(SMA((C-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5,1),3.2,1);
GUA1:=CROSS(扶摇直上2,8) AND 九万里;
GUA2:=L<=REFDATE(REF(LLV(L,150),3),DATE) AND 九万里;
短买:GUA1 OR GUA2,COLOR0099FF,NODRAW;
STICKLINE(短买,-60,20,3,0),COLOR0090FF;
STICKLINE(短买,-55,15,1,-1),COLORRED;
会当凌绝顶:=DMA((((H+L)+(C*2))/4.15),0.9);
会当凌绝顶1:=REF(EMA(会当凌绝顶,3),1);
会当凌绝顶2:="KDJ.J"<50 AND C>REF(C,3);
一览众山小:=(C-MA(C,30))/MA(C,30)*100;
一览众山小1:=CROSS(0,(C-MA(C,5))/MA(C,5)*100);
人生得意2:=一览众山小<REF(一览众山小,1);
人生得意3:=MA(C,10)>REF(MA(C,10),1);
人生得意4:=FILTER(一览众山小1 AND 人生得意2 AND 人生得意3,10);
人生得意5:=(2*C+H+L)/4;
人生得意6:=MA(EMA((人生得意5-LLV(L,5))/(HHV(H,5)-LLV(L,5))*100,5),1);
须尽欢3:=REF(人生得意4,2) AND CROSS(C,EMA(C,5)) ;
须尽欢4:=人生得意6>REF(人生得意6,1) AND REF(人生得意6,1)<REF(人生得意6,2);
大鹏一日1:=VOL/((H-L)*2-ABS(C-O));
大鹏一日2:=IF(C>O,大鹏一日1*(H-L),IF(C<O,大鹏一日1*((H-O)+(C-L)),VOL/2));
大鹏一日3:=IF(C>O,大鹏一日1*((H-C)+(O-L)),IF(C<O,大鹏一日1*(H-L),VOL/2));
大鹏一日4:="KDJ.J"<20 ;
同风起1:=大鹏一日2>大鹏一日3*6 AND 大鹏一日4;
同风起2:=CROSS(C,会当凌绝顶1) AND 会当凌绝顶2;
同风起3:=须尽欢3 AND 须尽欢4;
起爆:九万里 AND (同风起1 OR 同风起2 OR 同风起3),COLORRED,NODRAW;
STICKLINE(起爆,0,70,3,0),COLORRED;
DRAWTEXT(起爆,40,'起爆'),COLORYELLOW;
DRAWTEXT(短买,-20,'短买'),COLORFFFFFF;
DRAWTEXT(买入,85,'买入'),COLORGREEN;
{----------------------源码结束---------------------}
页:
[1]