资源描述:
《【股票指标公式下载】-【大智慧】神獒BS(决策线、多空带、支撑线、阻力线).doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、【大智慧】神獒BS(决策线、多空带、支撑线、阻力线)-指标公式源码input:N(88,1,1111),N1(888,1,1111);DRAWGBK((CLOSE>0),STRIP(RGB(4,1,28),RGB(4,1,35),0));a1:=IF((CLOSE<800),((AMOUNT/VOL)/100),((((CLOSE*2)+HIGH)+LOW)/4));a2:=((HHV(HIGH,15))+(LLV(LOW,30)))/2;a3:=EMA((MA(a1,5)),10);a4:=EMA((MA(a1,15)),10);a5:=EM
2、A((MA(a1,13)),21);a6:=((a3+a4)+a5)/3;决策线:EMA((MA(CLOSE,5)),3),colorGreen;PARTLINE(决策线,决策线>(REF(决策线,3)),RGB(255,0,0)),linethick1,colorRed;多空带:((((REF(a6,1))+a6)+(REF(a6,2)))/3),linethick0;a7:=(((REF(a6,1))+a6)+(REF(a6,2)))/3*1.191;a8:=(((REF(a6,1))+a6)+(REF(a6,2)))/3*1.236;a9
3、:=(((REF(a6,1))+a6)+(REF(a6,2)))/3*0.809;a10:=(((REF(a6,1))+a6)+(REF(a6,2)))/3*0.764;a11:=(((REF(a6,1))+a6)+(REF(a6,2)))/3*0.618;地线:(a9),linethick1,Coloryellow;天线:(a7),linethick1,ColorFF0000;支撑线:(a10),linethick2,Color73740F;阻力线:(a8),linethick2,Color509046;a12:=((EMA((MA(a1,3
4、)),3))+(WMA(a1,5)))/2;a13:=REF(a12,1);a14:=BARSCOUNT(CLOSE);a15:=IF((a14=1),0,(((a12-a13)/a13)*100));a16:=REF(CLOSE,1);a17:=IF((a14=1),0,(((CLOSE-a16)/a16)*100));a18:=IF((a14=1),((CLOSE+OPEN)/2),a13);a19:=REF(a12,2);a20:=((a12+a13)+a19)/3;a21:=((ABS((a12-a20))+ABS((a13-a20))
5、)+ABS((a19-a20)))/3;a22:=IF((a14<3),0,((a21/a12)*100));a23:=IF((((a15>0.5)AND((a22>0.215)OR(LOW>a18)))AND(CLOSE>=OPEN)),1,0);a24:=IF((((a15<(0-0.3))AND((a22>0.2)OR(HIGH=CLOSE)OR(a17<-1))),1,0);FILLRGN((((REF(a6,1))+a6)+(REF(a6,2)))/3,(((REF(a6,1))+a6)+(REF(a
6、6,2)))/3*0.985,CLOSE>a2,RGB(250,0,0),CLOSE7、;STICKLINE(((B>0)OR(D>0)),a1,(a1*0.998),8,0),ColorFF0000;a25:=(EMA(CLOSE,12))-(EMA(CLOSE,26));a26:=EMA(a25,9);a27:=2*(a25-a26);a28:=IF((((((((REF(a27,1))<(REF(a27,2)))AND((REF(a27,2))<(REF(a27,3))))AND(a27>(REF(a27,1))))AND(a27>=0))AND((LLV(a27,4))>0))AND(COUNT((a27<0.18),5)
8、)),(a27*2),0);a29:=IF(((COUNT((CROSS(a26,a25)),8))AND(CROSS(a25,a26))),(a27