資源描述:
《【股票指標(biāo)公式下載】-【通達(dá)信】極品布林(黑馬線、支撐、趨勢線、大黑馬).doc》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫。
1、【通達(dá)信】極品布林(黑馬線■支撐.趨勢線.大黑馬)-指標(biāo)公式源碼{BOLLBBI}{主圖}BBI:二(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORYELLOW,LINETHICK1;UP:BBI+2.58*STD(BBI,10),C0L0R000099,LINETHICK2;L00W:BBI-2.58*STD(BBI,10),C0L0R000099,LINETHICK2;SAT:=TF((AMOUNT/C)/(IIIIV(AMOUNT,20)/IIIIV(C,
2、20))*100〉100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100);AA10:MA(CLOSE,8),COLOROOOOFF;AA12:MA(CLOSE,12),COLOROOOOFF;BB10:=((ATAN((AA10-REF(AA10,1)))*3.1416)*10);BB12:=((ATAN((AA12-REF(AA12,1)))*3.1416)*10);MA13:=MA(CLOSE,13);DRAWBAND(AA10,RGB(150,0,100),AA12,RGB(25
3、6,96,96));X1:=(C+L+H)/3;BB13:=ATAN(EMA(X1,13)-REF(EMA(XI,13),1))*3.1416*10;EMA8:=EMA(C,8);DRAWTEXT(FILTER(BB13>1AXDEMA(XI,13)>REF(EMA(X1,8),1),10),EMA8,'Z45上升'),COLORWHITE;壓力:二MA(REF(HHV(C,30),1),2),C0L0R9DFFFF;支撐:=MA(REF(LLV(C,30),1),2),C0L0RABFF46;AA1:=AMOUNT/V;BB1:
4、=Ll.2;DD1:=L5、:=EMA(A51,5);A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;趨勢線:二(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2));DRAWTEXT(CROSS(趨勢線,0)AXD黑馬線〈40,(HIGH*0.97)/A大黑馬'),COLORYELLOW;LC:二REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE-LC),0),3,1)/SMA(ABS((CLOSE-LC)),3,1))*100);FF:二EMA(CLOS
6、E,3);MA15:二EMA(CLOSE,21);DRAWTEXT(CROSS(FF,MA15),(LOW京0.99),'底背離'),C0L0RA6E500;DRAWTEXT(CROSS(88,RSI),(HIGH*1.02)/頂背離,),COLOR1880FF;VAR2:=LLV(LOW,27);VAR3:=HHV(HIGH,34);VAR4:二EMA((CL0SE-VAR2)/(VAR3-VAR2)*4,4)*25;注意買:二IF((VAR4<10),80,100);RSV:=(C-LLV(L,9))/(HHV(H,9)-LL
7、V(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:二3*K-2*D;超跌:=IF(J<0,10,0);BDDD:=LLV(J,2)=LLV(J,8);買入:=IF(CROSS(J,REF(J+O.01,1))ANDBDDDAXDJ<20,30,0);DRAWTEXT(買入AXD注意買二100AXD超跌二0,LOW,'短線'),C0L0R8000FF;MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);買:=IF(LL
8、V(DX,2)=LLV(DX,7)AXDCOUNT(DX<0,2)AXDCROSS(DX,MA(DX,2)),1,0);DRAWTEXT(FILTER(買二1,5),LOW-O.03,'拉升'),COLORFFDEOO;A7:二(EMA((OPEN