资源描述:
《趋势布林线主图指标公式.doc》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、趋势布林线主图指标公式通达信趋势布林线主图指标公式源码如下:N:=5;C增比:=C/REF(C,1);C均增比:=(C增比+REF(C增比,1)+REF(C增比,2)+REF(C增比,3)+REF(C增比,4))/5;YC:=C*C均增比;强弱:=COUNT(YC>REF(YC,1),10)/COUNT(YC2、),2),2),2),COLORRED,LINETHICK2;慢线绿:EMA(EMA(EMA(EMA(YC,5),5),5),5),COLORGREEN,LINETHICK2;STICKLINE(快线红>慢线绿,快线红,慢线绿,1,0),COLORRED;STICKLINE(快线红1.095,C,O,2,0),COLORYELLOW;UP:BOLL+2*STD(CLOSE,20),COLORGREEN;LO:BOLL-2*STD(CLOSE,20),COLORCYAN;VAR1:=CLOSE>REF(CLOSE,1)A
3、NDCLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1)ANDCLOSEREF(CLOSE,2);VAR3:=REF(VAR2,1)ANDCLOSE>REF(CLOSE,1)ANDCLOSEREF(CLOSE,1)ANDCLOSEREF(CLOSE,1)ANDCLOSEREF(CLOSE,1)ANDCLOSEREF(CLOSE,1)ANDCLOSEREF(CLOSE,1)ANDCLOSEREF(CLOSE,1)ANDCLOSEREF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);VA
4、R19:=REF(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR14ORVAR15ORVAR16ORVAR17ORVAR18,1)ANDVAR1;VAR1A:=REF(VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7ORVAR8ORVAR9ORVARAORVARBORVARC,1)ANDVARD;MTM:=C-REF(C,1);DX1:=100*EMA(EMA(MTM,N),N)/EMA(EMA(ABS(MTM),N),N);买1:=I
5、F(LLV(DX1,2)=LLV(DX1,7)ANDCOUNT(DX150,2)ANDCROSS(MA(DX1,2),DX1),1,0);DRAWTEXT(FILTER(卖1=1,5),HIGH*1.02,''),COLOR00FF00;DRAWTEXT(FILTER(买1=1,5),LOW*0.99,''),COLORRED;DRAWICON(FILTER(买1=1,5),LOW*0.99,7);DRAWICON(FILTER(卖1=1,5),HIGH*1.04,8);